[patch] add GCJ LOCAL note about character encoding aliases to System.java
Nathanael Nerode
neroden@twcny.rr.com
Tue Sep 23 22:00:00 GMT 2003
This seems appropriate. OK?
(After this, I'll get to some hopefully desirable merging. ;-) )
* java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
Index: System.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/System.java,v
retrieving revision 1.13
diff -u -r1.13 System.java
--- System.java 27 May 2003 06:03:14 -0000 1.13
+++ System.java 23 Sep 2003 21:43:43 -0000
@@ -99,6 +99,11 @@
defaultProperties.put("gnu.cpu.endian",
isWordsBigEndian() ? "big" : "little");
+
+ // GCJ LOCAL: Classpath sets common encoding aliases here.
+ // Since we don't (yet) have gnu.java.io.EncodingManager, these
+ // are a waste of time and just slow down system startup.
+
// XXX FIXME - Temp hack for old systems that set the wrong property
if (defaultProperties.get("java.io.tmpdir") == null)
defaultProperties.put("java.io.tmpdir",
--
Nathanael Nerode <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html
More information about the Java-patches
mailing list