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 197496

Summary: [HeapWalker] subclass filter is not applied
Product: profiler Reporter: Tomas Hurka <thurka>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal Keywords: VISUALVM
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Hurka 2011-04-06 14:38:33 UTC
Steps to reproduce:
1) open heap dump
2) find all classes containing java.awt.Component
3) right-click on java.awt.Component class and select 'Show only subclasses'

Filter is not applied automatically, user has to click on 'Apply new filter'.
Comment 1 Tomas Hurka 2011-04-06 19:12:47 UTC
This problem only happens if the text in the search field is the same as the FQN of the class, for which user want find subclasses. In such case no property-change is fired from FilterComponent.setFilterString()
Comment 2 Tomas Hurka 2011-04-07 06:50:23 UTC
Fixed in profiler-main

changeset:   192057:dcbcb4533d0c
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Apr 07 08:48:46 2011 +0200
summary:     bugfix #197496, use setFilterValues() instead of setFilterType() and setFilterString()
Comment 3 Quality Engineering 2011-04-08 08:50:36 UTC
Integrated into 'main-golden', will be available in build *201104080400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/dcbcb4533d0c
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #197496, use setFilterValues() instead of setFilterType() and setFilterString()