aoqi@0: /* aoqi@0: * @test /nodynamiccopyright/ aoqi@0: * @bug 7085024 aoqi@0: * @summary internal error; cannot instantiate Foo aoqi@0: * @compile/fail/ref=T7085024.out -XDrawDiagnostics T7085024.java aoqi@0: */ aoqi@0: aoqi@0: class T7085024 { aoqi@0: T7085024 (boolean ret) { } //internal error goes away if constructor accepts a reference type aoqi@0: aoqi@0: T7085024 f = new T7085024((NonExistentClass) null ); aoqi@0: }