Community
Participate
Working Groups
JDT fails to compile a Java source file that was previously working: Java Problem: Internal compiler error: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.ast.CastExpression.checkUnsafeCast(CastExpression.java:333) Eclipse: Version: 3.6.0 Build id: I20091006-0800 JDT: Version: 3.6.0.v20091006-0800-7u8KFPaFKaU0nio8z0EHoceh1 Build id: I20091006-0800
Created attachment 149658 [details] file that cannot be compiled
This works with Eclipse 3.5.1 and 3.5.0. So it seems to be broken only in HEAD.
Created attachment 149670 [details] Proposed fix + regression test
Kent, please review.
change is fine
Released for 3.6M3. Regression test added in: org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest#test1456
Thanks for the fast response!
Verified for 3.6M3 using build I20091025-2000