test/tools/javac/Diagnostics/6799605/T6799605.java

changeset 296
a9c04a57a39f
parent 238
86b60aa941c6
child 384
ed31953ca025
equal deleted inserted replaced
292:163f5d75f77a 296:a9c04a57a39f
25 * @test 25 * @test
26 * @bug 6799605 26 * @bug 6799605
27 * @summary Basic/Raw formatters should use type/symbol printer instead of toString() 27 * @summary Basic/Raw formatters should use type/symbol printer instead of toString()
28 * @author mcimadamore 28 * @author mcimadamore
29 * @compile/fail/ref=T6799605.out -XDrawDiagnostics T6799605.java 29 * @compile/fail/ref=T6799605.out -XDrawDiagnostics T6799605.java
30 * @compile/fail/ref=T6799605.out -XDoldDiags -XDrawDiagnostics T6799605.java
30 */ 31 */
31 32
32 class T6799605<X> { 33 class T6799605<X> {
33 34
34 <T extends T6799605<T>> void m(T6799605<T> x1) {} 35 <T extends T6799605<T>> void m(T6799605<T> x1) {}

mercurial