This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] add GCJ LOCAL note about character encoding aliases to System.java
- From: neroden at twcny dot rr dot com (Nathanael Nerode)
- To: java-patches at gcc dot gnu dot org
- Date: Tue, 23 Sep 2003 17:45:24 -0400
- Subject: [patch] add GCJ LOCAL note about character encoding aliases to System.java
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