author | peterz |
Fri, 28 May 2010 13:32:40 +0400 | |
changeset 5594 | 3db39773da2e |
parent 3766 | 7e2df99e9223 |
permissions | -rw-r--r-- |
3373
d62556aed18c
6860795: NullPointerException when compiling a negative java source
mcimadamore
parents:
diff
changeset
|
1 |
/** |
3766 | 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 |
} |