Community
Participate
Working Groups
Created attachment 140494 [details] Test cases. MyClass does not compile Build ID: 20090621-0832 Steps To Reproduce: 1. The enclosed very simple testcase, MyClass.java compiles under 3.4 but no longer under 3.5 2. use JDK 1.6, (013), used JDK1.6 compliance More information: Moving from 3.4 to 3.5, my project suddenly stopped compiling under Eclipse (it still compiles ok with javac and Maven). It seems that the method call wants to infer the type to a MyReader (interface) rather than the AReader, a concrete class. The factory method however is defined as: T getDBReaderByClass(final Class<T> dbReaderClass) So, given a AReader.class I would expect this to return AReader instance.
*** This bug has been marked as a duplicate of bug 277643 ***
Verified for 3.6M1