mcimadamore@326: /** jjg@384: * @test /nodynamiccopyright/ mcimadamore@326: * @bug 6860795 mcimadamore@326: * @summary NullPointerException when compiling a negative java source mcimadamore@326: * @author mcimadamore mcimadamore@326: * @compile/fail/ref=T6860795.out -XDrawDiagnostics T6860795.java mcimadamore@326: */ mcimadamore@326: mcimadamore@326: class Test { mcimadamore@326: void foo(float x, int x) {} mcimadamore@326: }