gcc/libjava/java
Bryce McKinlay 107abb2f61 Eliminate use of C++ static constructors.
* interpret.cc: Remove static Utf8Consts. Use namespace gcj.
	* jni.cc: Likewise.
	* resolve.cc: Likewise.
	* defineclass.cc: Likewise.
	(_Jv_ClassReader::handleClassBegin): Synchronize call to
	_Jv_RegisterClass.
	* include/jvm.h (void_signature, clinit_name, init_name, finit_name):
	Declare in namespace gcj.
	* java/lang/Class.h (Class): Remove initialization for primitive
	types.
	(friend void _Jv_InitPrimClass): This is in prims.cc.
	* prims.cc (_Jv_InitPrimClass): Do primitive type initialization
	here instead.
	(void_signature, clinit_name, init_name, finit_name): Define in
	namespace gcj.
	(_Jv_CreateJavaVM): Call _Jv_InitThreads, _Jv_InitGC, and
	_Jv_InitializeSyncMutex from here. Initialize Utf8 constants.
	Initialize primitive types.
	* java/lang/natClassLoader.cc (_Jv_RegisterClasses): Don't call
	initialization routines. Don't synchronize.
	* java/lang/natRuntime.cc (_load): Synchronize on java.lang.Class
	across dlopen call.

From-SVN: r46282
2001-10-16 09:35:17 +01:00
..
applet backport: Applet.java: New file. 2000-07-12 05:52:04 +01:00
awt acinclude.m4: Fix spelling error of "separate" as "seperate". 2001-10-07 19:02:46 +01:00
beans Makefile.in: Rebuilt. 2001-10-15 17:46:06 +00:00
io re PR libgcj/4481 (java.io.File.getParent not working properly) 2001-10-08 20:42:13 +00:00
lang Eliminate use of C++ static constructors. 2001-10-16 09:35:17 +01:00
math BigInteger.java (init(int,Random)): New method. 2001-08-28 15:16:11 -07:00
net SocketPermission.java (hostport, actions): Now private. 2001-10-15 16:32:51 +00:00
rmi Activatable.java, [...]: RMI implementation from Kaffe. 2001-08-28 00:03:35 +00:00
security AccessController.java (checkPermission): Now throws AccessControlException. 2001-10-13 23:21:07 +00:00
sql DriverManager.java (getDrivers): Handle case where driver's class loader is null. 2001-05-31 16:18:55 +00:00
text DecimalFormat.java (format): Use localized minus sign when generating exponent; never use `+'. 2001-10-05 21:25:23 +00:00
util [multiple changes] 2001-10-16 06:47:01 +01:00