Summary: | [1.5][compiler] ClassCastException on illegal code fragment | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Maxime Daniel <maxime_daniel> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | bdemmings, Mike_Wilson |
Version: | 3.2 | Keywords: | api |
Target Milestone: | 3.2 RC1 | ||
Hardware: | PC | ||
OS: | Linux | ||
See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=239167 | ||
Whiteboard: |
Description
Maxime Daniel
2006-02-17 10:34:42 EST
Realesed test as GenericTypeTest#_test917. Offending line is: ((SourceTypeBinding) currentType).scope.connectTypeHierarchy(); where currentType is a TypeVariableBinding, which isn't yet connected to superclass/superinterfaces. *** Bug 130257 has been marked as a duplicate of this bug. *** With javac 1.6.0-beta2, they now report the error against T.clazz: cannot select from a type variable class X3<T> extends X2<T.clazz> { } Enabled GenericTypeTest 917 Mike - yet another minor API addition as a new problem (which we did miss in the past) needs to be reported. Addition is: IProblem#IllegalAccessFromTypeVariable +1 from me for non-breaking API addition. Seems reasonable to me too. +1. Verified for 3.2RC1 with build I20060413-1718 |