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