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: | Java imports are marked as unused | ||
---|---|---|---|
Product: | javafx | Reporter: | Alexandr Scherbatiy <sunflower> |
Component: | Editor | Assignee: | Rastislav Komara <moonko> |
Status: | REOPENED --- | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexandr Scherbatiy
2009-01-22 11:20:06 UTC
JavaFX_NB_Plugin_Franca_NB_65_fixes #50 22-Jan-2009 00:11:59 Product Version = NetBeans IDE 6.5 (Build 200811100001) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_12-ea; Java HotSpot(TM) Client VM 11.2-b01; Sun Microsystems Inc. Rasto, can you please check this one? It is reproduced for the imports from the Java library. For example: --------------------------------------------------- import javafx.stage.*; import java.lang.Math; import java.lang.System; function sqrt(x:Number):Number{ Math.sqrt(x) } Stage { onClose: function(){ System.exit(0); } } --------------------------------------------------- Java imports are marked as unused. - Fix imports BUILD FAILED Main.fx:17: cannot find symbol symbol : variable System location: class javafxapplication3.Main System.exit(0); Main.fx:12: cannot find symbol symbol : variable Math location: class javafxapplication3.Main Math.sqrt(x) 2 errors Fixed. verified in JavaFX_NB_Plugin_Franca_NB_65_fixes_promoted_SDK: #5 27-Jan-2009 12:35:08 Hello guys, where I find this plugin? I have same problem. I made calculate and i need atribut sqrt and pow. write error: error: incompatible types: possible lossy conversion from double to int result = Math.pow(num1, num2); I'm wrote: else if (this.mocnina.isSelected()) { result = Math.pow(num1, num2); } |