Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
9.0
-
None
-
None
-
Product Version: Apache NetBeans IDE 9.0 (Build incubator-netbeans-release-334-on-20180708)
Java: 1.8.0_181; Java HotSpot(TM) 64-Bit Server VM 25.181-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_181-b13
System: Linux version 4.18.5-1-MANJARO running on amd64; UTF-8; sv_SE (nb)
User directory: /home/pata/.netbeans/9.0
Cache directory: /home/pata/.cache/netbeans/9.0Product Version: Apache NetBeans IDE 9.0 (Build incubator-netbeans-release-334-on-20180708) Java: 1.8.0_181; Java HotSpot(TM) 64-Bit Server VM 25.181-b13 Runtime: Java(TM) SE Runtime Environment 1.8.0_181-b13 System: Linux version 4.18.5-1-MANJARO running on amd64; UTF-8; sv_SE (nb) User directory: /home/pata/.netbeans/9.0 Cache directory: /home/pata/.cache/netbeans/9.0
Description
I am experiencing some weird stuff since I got the nb-javac update from 1.2 to 1.3.
A. It will not validate my code correctly.
B. When try to use a class not previously imported, I get the import, but the line I'm editing gets deleted.
1. Type MouseWh
2. Press Ctrl-Space
3. Press enter
That generates: import java.awt.event.MouseWheelEvent;
But removes the line with MouseWh, instead of expanding it
C. When I paste code that requires imports I get the dialog listing the needed classes,pressing OK in that dialog generates an exception.
The dialog stays visible but now with only cancel enabled.
My code did not get the imports.
This is confirmed by others on the mailing list:
http://mail-archives.apache.org/mod_mbox/netbeans-dev/201809.mbox/%3CCAArD4mD%2BYXBhy3WR-Y0%2BH5x_j%2BzZ083Dk3qwu8RQYL7pncYUrQ%40mail.gmail.com%3E