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.
Summary: | Completion: mixing static and non static members | ||
---|---|---|---|
Product: | javafx | Reporter: | Lark Fitzgerald <lfitzgerald> |
Component: | Editor | Assignee: | David Strupl <dstrupl> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 146952 | ||
Attachments: | timeline cc |
Description
Lark Fitzgerald
2008-06-03 18:16:17 UTC
Created attachment 62329 [details]
timeline cc
The problem is that the code completion does not distinguish between the static and non-static members. Since the static feature of the language is going to change for 1.0 I am leaving this report as opened. For details see http://openjfx.java.sun.com/jira/browse/JFXC-1051 Static was dropped already. The code completion must be checked for what we show for members. This is returning the correct values. Tested using FX Cont trunk build 349 with SDK: Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 708, Build-ID: 2008-10-13_03-09-52 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) JavaFX_trunk_NB_Plugin_NB65_cont: #349 2008-10-13_19-07-38.zip Product Version = NetBeans IDE Dev (Build 200809151401) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b03; Sun Microsystems Inc. The issue is still reproduced: - Create a JavaFX Script file: ------------------------------------------- import javafx.animation.*; Timeline. ------------------------------------------- - Position a cursor after 'Timeline.' - Press <Ctrls+Space> - Choose 'time' from the list ------------------------------------------- import javafx.animation.*; Timeline.time; ------------------------------------------- Build the code: JavaFXApplication\src\javafxapplication\Main.fx:12: non-static method get$time() cannot be referenced from a static context Timeline.time; 1 error Fixed by changeset: 1513:f74d3f77e0a8 Tested using Promoted SDK/Plugin build #42 Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 749, Build-ID: 2008-10-17_19-02-42 on: Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318) 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) |