test/tools/javac/unicode/Unmappable.java
Print this page
*** 27,37 ****
* @summary diagnose encoding errors in Java source files
* @author gafter
*
* @compile -encoding ascii -source 1.5 Unmappable.java
* @compile/fail -Werror -encoding ascii -source 1.5 Unmappable.java
! * @compile/fail -encoding ascii -source 6 Unmappable.java
*/
// example from 4766897
public class Unmappable {
String s = "zähler";
--- 27,37 ----
* @summary diagnose encoding errors in Java source files
* @author gafter
*
* @compile -encoding ascii -source 1.5 Unmappable.java
* @compile/fail -Werror -encoding ascii -source 1.5 Unmappable.java
! * @compile/fail -encoding ascii Unmappable.java
*/
// example from 4766897
public class Unmappable {
String s = "zähler";