langtools/test/tools/javac/Diagnostics/6860795/T6860795.java
author peterz
Fri, 28 May 2010 13:32:40 +0400
changeset 5594 3db39773da2e
parent 3766 7e2df99e9223
permissions -rw-r--r--
6954231: SynthTextPaneUI.installUI() doesn't set component to opaque even if prop was not set by client progr Reviewed-by: alexp
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3373
d62556aed18c 6860795: NullPointerException when compiling a negative java source
mcimadamore
parents:
diff changeset
     1
/**
3766
7e2df99e9223 6875336: some tests should use /nodynamiccopyright/
jjg
parents: 3373
diff changeset
     2
 * @test /nodynamiccopyright/
3373
d62556aed18c 6860795: NullPointerException when compiling a negative java source
mcimadamore
parents:
diff changeset
     3
 * @bug     6860795
d62556aed18c 6860795: NullPointerException when compiling a negative java source
mcimadamore
parents:
diff changeset
     4
 * @summary NullPointerException when compiling a negative java source
d62556aed18c 6860795: NullPointerException when compiling a negative java source
mcimadamore
parents:
diff changeset
     5
 * @author  mcimadamore
d62556aed18c 6860795: NullPointerException when compiling a negative java source
mcimadamore
parents:
diff changeset
     6
 * @compile/fail/ref=T6860795.out -XDrawDiagnostics  T6860795.java
d62556aed18c 6860795: NullPointerException when compiling a negative java source
mcimadamore
parents:
diff changeset
     7
 */
d62556aed18c 6860795: NullPointerException when compiling a negative java source
mcimadamore
parents:
diff changeset
     8
d62556aed18c 6860795: NullPointerException when compiling a negative java source
mcimadamore
parents:
diff changeset
     9
class Test {
d62556aed18c 6860795: NullPointerException when compiling a negative java source
mcimadamore
parents:
diff changeset
    10
    void foo(float x, int x) {}
d62556aed18c 6860795: NullPointerException when compiling a negative java source
mcimadamore
parents:
diff changeset
    11
}