[
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