Maurizio Cimadamore cd66a7b462 6946618: sqe test fails: javac/generics/NewOnTypeParm in pit jdk7 b91 in all platforms
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
2010-05-19 16:42:37 +01:00

5 lines
321 B
Plaintext

T6946618c.java:13:24: compiler.err.type.found.req: ? extends java.lang.String, class or interface without bounds
T6946618c.java:14:24: compiler.err.type.found.req: ? super java.lang.String, class or interface without bounds
T6946618c.java:15:24: compiler.err.type.found.req: ?, class or interface without bounds
3 errors