Patch to java.util.TreeMap

Jochen Hoenicke Jochen.Hoenicke@Informatik.Uni-Oldenburg.DE
Mon Mar 5 02:37:00 GMT 2001


Hello,

I made the following small patch to classpath's java.util.TreeMap.
This patch makes it easier to port the collection classes to jdk1.1.

I have no write access to the libgcj repository so can someone update
the class so they are kept synchronous?  

Thanks,
  Jochen


Here is the Changelog:

2001-03-05  Jochen Hoenicke  <jochen@gnu.org>

	* java/util/TreeMap.java (writeObject): Use defaultWriteObject()
	instead of the new JDK1.2 API.  This is simpler and makes 
	back-porting the classes to JDK1.1 trivial.
	(readObject): likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TreeMap.java.diff.gz
Type: application/x-gzip
Size: 465 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20010305/11e8af3e/attachment.bin>


More information about the Java-patches mailing list