Wed, 19 May 2010 16:42:37 +0100
6946618: sqe test fails: javac/generics/NewOnTypeParm in pit jdk7 b91 in all platforms.
Summary: Bad cast to ClassType in the new diamond implementation fails if the target type of the instance creation expression is a type-variable
Reviewed-by: jjg
mcimadamore@562 | 1 | T6946618c.java:13:24: compiler.err.type.found.req: ? extends java.lang.String, class or interface without bounds |
mcimadamore@562 | 2 | T6946618c.java:14:24: compiler.err.type.found.req: ? super java.lang.String, class or interface without bounds |
mcimadamore@562 | 3 | T6946618c.java:15:24: compiler.err.type.found.req: ?, class or interface without bounds |
mcimadamore@562 | 4 | 3 errors |