test/tools/javac/T4881267.java@cb7e7928902f
test/tools/javac/T4881267.java
Mon, 24 Nov 2014 12:49:30 -0500
- author
- emc
- date
- Mon, 24 Nov 2014 12:49:30 -0500
- changeset 2612
- cb7e7928902f
- parent 0
-
959103a6100f
- permissions
- -rw-r--r--
8029012: parameter_index for type annotation not updated after outer.this added
Summary: Fix javac's handling of type annotations when synthetic parameters are added
Reviewed-by: jjg, mcimadamore
2 * @test /nodynamiccopyright/
4 * @summary improve diagnostic for "instanceof T" for type parameter T
5 * @compile/fail/ref=T4881267.out -XDrawDiagnostics T4881267.java
10 boolean b = o instanceof T;