mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00

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
11 lines
265 B
Java
11 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;
|
|
}
|