You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ne...@apache.org on 2003/01/20 23:43:14 UTC
cvs commit: xml-xerces/java/src/org/apache/xml/serialize EncodingInfo.java
neilg 2003/01/20 14:43:14
Modified: java/src/org/apache/xml/serialize EncodingInfo.java
Log:
re-enbale building under JDK 1.2.2
Revision Changes Path
1.4 +2 -2 xml-xerces/java/src/org/apache/xml/serialize/EncodingInfo.java
Index: EncodingInfo.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xml/serialize/EncodingInfo.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- EncodingInfo.java 3 Jan 2003 16:13:27 -0000 1.3
+++ EncodingInfo.java 20 Jan 2003 22:43:14 -0000 1.4
@@ -158,7 +158,7 @@
// is this an encoding name recognized by this JDK?
// if not, will throw UnsupportedEncodingException
public static void testJavaEncodingName(String name) throws UnsupportedEncodingException {
- final byte [] bTest = {'v', 'a', 'l', 'i', 'd'};
+ final byte [] bTest = {(byte)'v', (byte)'a', (byte)'l', (byte)'i', (byte)'d'};
String s = new String(bTest, name);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org