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 163844 - ArrayIndexOutOfBoundsException in ProfilerRuntimeObjLiveness
Summary: ArrayIndexOutOfBoundsException in ProfilerRuntimeObjLiveness
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2009-04-28 08:49 UTC by Tomas Hurka
Modified: 2009-05-22 14:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2009-04-28 08:49:04 UTC
ArrayIndexOutOfBoundsException can be thrown in ProfilerRuntimeObjLiveness from WeakRefSet.put, WeakRefSet.remove and WeakRefSet.rehash because 
hashCode() can return negative result.
Comment 1 Tomas Hurka 2009-04-28 08:53:23 UTC
Fixed in profiler-main
changeset:   128949:c776678966b0
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Apr 28 09:51:44 2009 +0200
summary:     bugfix #163844, hashCode() can return negative result

Comment 2 Quality Engineering 2009-04-29 18:44:05 UTC
Integrated into 'main-golden', will be available in build *200904291401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c776678966b0
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #163844, hashCode() can return negative result