Patch to java.util.TreeMap

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


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?  


Here is the Changelog:

2001-03-05  Jochen Hoenicke  <>

	* java/util/ (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...
Type: application/x-gzip
Size: 465 bytes
Desc: not available
URL: <>

More information about the Java-patches mailing list