This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21767 - Patch to prevent BaseObjectHandler.hasCode() and equals() from throwing exceptions
Summary: Patch to prevent BaseObjectHandler.hasCode() and equals() from throwing excep...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-21 09:45 UTC by Stepan Roh
Modified: 2002-07-19 15:23 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Oneliner fix (639 bytes, patch)
2002-03-21 09:46 UTC, Stepan Roh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Roh 2002-03-21 09:45:32 UTC
It is impossible to remove deleted refObject from your own hashmaps because
equals() and hashCode() will throw an exception. Patch follows.
Comment 1 Stepan Roh 2002-03-21 09:46:06 UTC
Created attachment 5129 [details]
Oneliner fix
Comment 2 Martin Matula 2002-03-21 11:07:30 UTC
applied. thanks.