OSDN Git Service

2000-11-24 Bryce McKinlay <bryce@albatross.co.nz>
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Nov 2000 01:48:04 +0000 (01:48 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Nov 2000 01:48:04 +0000 (01:48 +0000)
commit225627d7c6bf030c419f926e56c45660dbd5bb9d
tree4eaca964f2a13f025b0393ee000372ef3380e323
parentace65efdcf04e82460a38b314b7341a795cb16c4
2000-11-24  Bryce McKinlay  <bryce@albatross.co.nz>

* java/lang/System.java (setProperties): Only call init_properties()
if properties is null.
(getProperties): Ditto.
(getProperty): Ditto.
(setProperty): Call init_properties if properties are null.
(prop_init): Remove field.
* java/lang/natSystem.cc (init_properties): Synchronize the entire
method. Check for null properties after synchronizing instead of
prop_init flag. Set the properties field last for thread safety.

* java/io/ObjectInputStream.java (ObjectInputStream): If DEBUG is set,
test for gcj.dumpobjects property and enable object stream dumping
if it is set.
(dumpElement): No longer native.
(dumpElementln): Ditto.
(setDump): Do not define.
* java/io/natObjectInputStream.cc (dumpElement): Removed.
(dumpElementln): Removed.
(setDump): Removed.

2000-11-24  Bryce McKinlay  <bryce@albatross.co.nz>

* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (built_java_source_files): Add Configuration.java.
* configure.in: Add Configuration.java to CONFIG_FILES. Set
LIBGCJDEBUG substitution if --enable-libgcj-debug is specified.
Create `gnu' directory in the build tree.
* gnu/classpath/Configuration.java.in: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37749 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/Makefile.am
libjava/Makefile.in
libjava/configure
libjava/configure.in
libjava/gnu/classpath/Configuration.java.in [new file with mode: 0644]
libjava/java/io/ObjectInputStream.java
libjava/java/io/natObjectInputStream.cc
libjava/java/lang/System.java
libjava/java/lang/natSystem.cc