Patch: previous java.lang.ref.Reference patch not properly applied.

David Daney ddaney@avtrex.com
Fri Sep 19 20:51:00 GMT 2003


The patch I submitted as:

http://gcc.gnu.org/ml/java/2003-08/msg00272.html

Was misapplied when committed to cvs.

There were two problems.

The referent was not being cleared, which results in get() returning the 
referent even after clear() is called.

My reading of section 17 of the JLS requires that clear be synchronized.

David Daney.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: reffix.diff
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030919/2289fc54/attachment.ksh>


More information about the Java-patches mailing list