test/tools/javac/generics/6946618/T6946618c.out

Wed, 19 May 2010 16:42:37 +0100

author
mcimadamore
date
Wed, 19 May 2010 16:42:37 +0100
changeset 562
2881b376a689
child 598
064468702a8d
permissions
-rw-r--r--

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

mercurial