2007-12-01 00:00:00 +00:00
|
|
|
|
/*
|
2015-05-15 08:09:51 +00:00
|
|
|
|
* @test /nodynamiccopyright/
|
2016-05-16 13:41:57 +00:00
|
|
|
|
* @bug 4767128 5048557 5048773 8078559
|
2007-12-01 00:00:00 +00:00
|
|
|
|
* @summary diagnose encoding errors in Java source files
|
|
|
|
|
* @author gafter
|
|
|
|
|
*
|
2015-05-15 08:09:51 +00:00
|
|
|
|
* @compile/fail/ref=Unmappable.out -XDrawDiagnostics -encoding ascii Unmappable.java
|
2007-12-01 00:00:00 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// example from 4766897
|
|
|
|
|
public class Unmappable {
|
|
|
|
|
String s = "z<EFBFBD>hler";
|
|
|
|
|
}
|