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.
Profiler 070321 NetBeans IDE Dev (Build 200703201900) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251 When Go To Source action is invoked from Live Results for methods or objects of anonymous classes, it ignores anonymous class number and opens surrounding class and its methods. For example, if surrounding class has the same method as anonymous class, method of surrounding class would be shown instead of the anonymous class.
Created attachment 39775 [details] Sample application
This should be probably fixed together with issue #92727
fixed for m9
This issue is partially fixed. In fact, it perfectly works with opened files. However, if the class source file is not yet opened Go To Source still shows methods of surrounding class, and this is incorrect. Profiler 070426 NetBeans IDE 6.0 Preview (M9, build 070427) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251
fixed. the compiler engine is now explicitly moved to the RESOLVED state before trying to localize an anonymous inner class's method
Failed to verify with Profiler 1.2 070703 Product Version: NetBeans IDE Dev (Build 200707031200) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) For example, first line of EventQueue class definition is still shown on Go To Source for java.awt.EventQueue$1.run() method when EventQueue class is not yet loaded.
fixed in trung; finally