summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSteven Augart <augart@watson.ibm.com>2004-11-12 17:00:31 +0000
committerSteven Augart <augart@watson.ibm.com>2004-11-12 17:00:31 +0000
commit749febb3a3f5cfe352b62577c01d1cf8573630a8 (patch)
treed8fe220553689f128a94a2c99226f30afbb955ad /gnu
parent59079447533574fce0d418f835a252ae0fb4fd0e (diff)
downloadclasspath-749febb3a3f5cfe352b62577c01d1cf8573630a8.tar.gz
2004-11-12 Steven Augart <augart@watson.ibm.com>
* gnu/classpath/Configuration.java.in: Added JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION. * configure.ac: Added --enable-java-lang-system-explicit-initialization. * java/lang/System.java: Added support for JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/classpath/Configuration.java.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/classpath/Configuration.java.in b/gnu/classpath/Configuration.java.in
index f79dcde71..9bbff6532 100644
--- a/gnu/classpath/Configuration.java.in
+++ b/gnu/classpath/Configuration.java.in
@@ -1,3 +1,4 @@
+/* -*-java-*- */
/* gnu.classpath.Configuration
Copyright (C) 1998, 2001, 2003 Free Software Foundation, Inc.
@@ -110,4 +111,16 @@ public interface Configuration
* Name of default AWT peer library.
*/
String default_awt_peer_toolkit = "gnu.java.awt.peer.gtk.GtkToolkit";
+
+ /**
+ * Whether to automatically run the init* methods in java.lang.System
+ * (the default) at class initialization time or whether to have the VM
+ * explicitly invoke them.
+ *
+ * The default is false, meaning the VM does not explicitly run the
+ * initializers.
+ *
+ */
+ boolean JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION =
+ @JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@;
}