This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
We think that your patch will cause incorrect Reference semantics, so we did not try it.David> If Reference.clear() is called and then the Reference is finalized David> before its referent, a dangling pointer is created in the object_list David> structure in natReference.cc. This happens because the 'copy' field David> of the Reference is cleared and that is what is used to find the slot David> in the object_list table.
Could you try the appended patch instead?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |