You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ivan Shostak (JIRA)" <ji...@codehaus.org> on 2010/09/01 12:27:33 UTC
[jira] Created: (MCOMPILER-131) Failure in compilation of the
generic class cast using wildcard
Failure in compilation of the generic class cast using wildcard
---------------------------------------------------------------
Key: MCOMPILER-131
URL: http://jira.codehaus.org/browse/MCOMPILER-131
Project: Maven 2.x Compiler Plugin
Issue Type: Bug
Affects Versions: 2.2
Environment: windows 7, eclipse 3.6
Reporter: Ivan Shostak
Attachments: testcompile.zip
There is a build failure when trying to compile generic class cast like in example(real usage is in test project attached):
Class<?> clazz = (Class<? extends BufferProxyTest<? super Object>>) ByteBufferProxyTest.class
When compiling with eclipse 3.6 - everything is ok.
Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MCOMPILER-131) Failure in compilation of the
generic class cast using wildcard
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCOMPILER-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MCOMPILER-131.
---------------------------------------
Resolution: Not A Bug
Assignee: Benjamin Bentmann
The Maven Compiler Plugin doesn't compile the sources by itself but delegates to an actual comiler implementation, javac in your case. So please report the issue to Sun/Oracle.
> Failure in compilation of the generic class cast using wildcard
> ---------------------------------------------------------------
>
> Key: MCOMPILER-131
> URL: http://jira.codehaus.org/browse/MCOMPILER-131
> Project: Maven 2.x Compiler Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Environment: windows 7, eclipse 3.6
> Reporter: Ivan Shostak
> Assignee: Benjamin Bentmann
> Attachments: testcompile.zip
>
>
> There is a build failure when trying to compile generic class cast like in example(real usage is in test project attached):
> Class<?> clazz = (Class<? extends BufferProxyTest<? super Object>>) ByteBufferProxyTest.class
> When compiling with eclipse 3.6 - everything is ok.
> Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira