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 164942 - OQL - specifying class via id does not work
Summary: OQL - specifying class via id does not work
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-12 13:31 UTC by Tomas Hurka
Modified: 2009-05-20 11:02 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-05-12 13:31:25 UTC
Run:
select objectid(heap.findClass("java.lang.System"))

Take a result use it in the expression below:

select o from instanceof 4915917536  o
Comment 1 J Bachorik 2009-05-15 15:44:08 UTC
fixed - http://hg.netbeans.org/profiler-main/rev/a615fd35824f
Comment 2 Quality Engineering 2009-05-20 07:29:44 UTC
Integrated into 'main-golden', will be available in build *200905200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a615fd35824f
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #164942 - OQL - specifying class via id does not work
Comment 3 Tomas Hurka 2009-05-20 10:59:00 UTC
Verified in 20090520.
Comment 4 Tomas Hurka 2009-05-20 11:02:24 UTC
Note that the test case is incorrect.

It should be 

select objectid(heap.findClass("java.lang.String"))

java.lang.System does not have any instances.