mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-06 16:38:36 +00:00
12 lines
268 B
Java
12 lines
268 B
Java
/**
|
|
* @test /nodynamiccopyright/
|
|
* @bug 6860795
|
|
* @summary NullPointerException when compiling a negative java source
|
|
* @author mcimadamore
|
|
* @compile/fail/ref=T6860795.out -XDrawDiagnostics T6860795.java
|
|
*/
|
|
|
|
class Test {
|
|
void foo(float x, int x) {}
|
|
}
|