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

        

Reply via email to