-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.2.0
-
sparc
-
solaris_2.6
allan.jacobs@Eng 1997-11-04
JCK-114a test api/java_io/CharacterEncoding/primarySBCS.html#8859_1 fails
when run with JDK 1.2.
algol% /net/jde1/export/jtech20/javavm1.2/build/solaris/bin/javac -d . X.java
X.java:4: Invalid character constant.
char mychar='\u0027'; // APOSTROPHE (27)
^
1 error
algol% java -fullversion
java full version "1.1.4n:1997.10.16"
algol% javac -d . X.java
algol% cat X.java
public class X {
public static void main( String[] argv ) {
char mychar='\u0027'; // APOSTROPHE (27)
System.out.println(mychar);
}
}