7dbe0828de
6668796: bad diagnostic "bad class file" given for source files Replace internal use of localized text with JCDiagnostic fragments; fix diagnostic for bad source file Reviewed-by: mcimadamore
12 lines
265 B
Java
12 lines
265 B
Java
/*
|
|
* @test /nodynamiccopyight/
|
|
* @bug 6668794 6668796
|
|
* @summary javac puts localized text in raw diagnostics
|
|
* bad diagnostic "bad class file" given for source files
|
|
* @compile/fail/ref=Test.out -XDrawDiagnostics Test.java
|
|
*/
|
|
|
|
class Test {
|
|
p.A a;
|
|
}
|