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.
Tested using FX Cont trunk build 130 (Sep 9, 2008 4:49:22 PM) on NB6.5: Product Version: NetBeans IDE Dev (Build 200809081401) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) 1. Open TopLvlVar2.fx (automated test) --------------------- package declarations; var x : Integer = 17; var y : Integer = 2; var h : String = "Hello "; var w : String = "world"; --------------------- 2. position cursor at the end and press ctrl+space Expected to see x, y, h and w in the list. Test fails.
We (I) incrrectly use trees.isAccessible(scope, ...) in addMembers. The used scope is for the whole file (compilation unit) but not for the current e.g. function or class.
*** Issue 147572 has been marked as a duplicate of this issue. ***
I have raised http://openjfx.java.sun.com/jira/browse/JFXC-2054 where I ask about how should the code in the compiler behave.
1260:0cd1923f1bab
Tested using FX Cont trunk build 243 with SDK: Product: javafx-1.0dev Platform: windows-i586 Build-Number: 355 Build-ID: 2008-09-25_08-25-51 on NB6.5: Product Version: NetBeans IDE Dev (Build 20080922) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
There is something inconsistent about this. I can reproduce this issue again, but I couldn't earlier - same build.
I have tried with my recent set of changes. It seems to work for me now. I am not saying that it worked yesterday but with the current sources it seems to work here. Please reopen if you find otherwise. Thanks.
Tested using FX Cont trunk build 320 with SDK: Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 634, Build-ID: 2008-10-07_03-34-16 on NB6.5: Product Version: NetBeans IDE Dev (Build 200810060201) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)