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

Summary: ArrayIndexOutOfBoundsException in ProfilerRuntimeObjLiveness
Product: profiler Reporter: Tomas Hurka <thurka>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: blocker Keywords: VISUALVM
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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