While compiling the following file with 1.3.0 compiler, error pointer overshoots the actual error.
/**
* ConstString.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from y.idl
* Monday, October 11, 1999 4:54:05 PM PDT
*/
public interface ConstString extends org.omg.CORBA.portable.IDLEntity
{
public static final String value = "\n\t\v\b\r\f\a\\\?\'\"\xff\377\7";
}
Here is the output from the compiler.
$ /net/ultraowl/export/ultraowl2/jdk13x/sparc/jdk1.3_I/bin/javac ConstString.java
ConstString.java:11: illegal escape character
public static final String value = "\n\t\v\b\r\f\a\\\?\'\"\xff\377\7";
^
ConstString.java:11: illegal escape character
public static final String value = "\n\t\v\b\r\f\a\\\?\'\"\xff\377\7";
^
ConstString.java:11: illegal escape character
public static final String value = "\n\t\v\b\r\f\a\\\?\'\"\xff\377\7";
^
ConstString.java:11: illegal escape character
public static final String value = "\n\t\v\b\r\f\a\\\?\'\"\xff\377\7";
^
4 errors
/**
* ConstString.java
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* from y.idl
* Monday, October 11, 1999 4:54:05 PM PDT
*/
public interface ConstString extends org.omg.CORBA.portable.IDLEntity
{
public static final String value = "\n\t\v\b\r\f\a\\\?\'\"\xff\377\7";
}
Here is the output from the compiler.
$ /net/ultraowl/export/ultraowl2/jdk13x/sparc/jdk1.3_I/bin/javac ConstString.java
ConstString.java:11: illegal escape character
public static final String value = "\n\t\v\b\r\f\a\\\?\'\"\xff\377\7";
^
ConstString.java:11: illegal escape character
public static final String value = "\n\t\v\b\r\f\a\\\?\'\"\xff\377\7";
^
ConstString.java:11: illegal escape character
public static final String value = "\n\t\v\b\r\f\a\\\?\'\"\xff\377\7";
^
ConstString.java:11: illegal escape character
public static final String value = "\n\t\v\b\r\f\a\\\?\'\"\xff\377\7";
^
4 errors