[jira] [Created] (NETBEANS-3782) String is not parsed correctly and the whole file autocomplete/refactoring does not work
Michael Vorisek created NETBEANS-3782: - Summary: String is not parsed correctly and the whole file autocomplete/refactoring does not work Key: NETBEANS-3782 URL: https://issues.apache.org/jira/browse/NETBEANS-3782 Project: NetBeans Issue Type: Bug Components: php - Code, php - Code Analysis Affects Versions: 11.0 Reporter: Michael Vorisek See [https://github.com/atk4/ui/pull/901] Test file which is currently failing to parse: https://github.com/atk4/ui/blob/d7a64468ce70006d1cb0af2f5f0ba41d02a8693d/src/App.php -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-3778) Plugins using unpack200 are not installable with JDK14
[ https://issues.apache.org/jira/browse/NETBEANS-3778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-3778: Summary: Plugins using unpack200 are not installable with JDK14 (was: Several plugins are not installable) > Plugins using unpack200 are not installable with JDK14 > -- > > Key: NETBEANS-3778 > URL: https://issues.apache.org/jira/browse/NETBEANS-3778 > Project: NetBeans > Issue Type: Bug > Components: platform - Plugin Manager >Affects Versions: 11.3 > Environment: Windows 10 > OpenJDK 14+33 EA >Reporter: Benjamin Graf >Priority: Major > > Some plugins do need unpack200 for installation. JDK 14+ does not include > unpack200 anymore ([https://openjdk.java.net/jeps/367]). This results in > installation errors like this. > {noformat} > Jan. 31, 2020 9:29:12 PM org.netbeans.updater.ModuleUpdater unpack200 > WARNUNG: null > java.io.IOException: Cannot run program > "c:\Users\grafbe\Downloads\jdk-14+33\bin\unpack200.exe" (in directory > "C:\Users\grafbe\AppData\Roaming\NetBeans\11.3-beta2\modules"): CreateProcess > error=2, Das System kann die angegebene Datei nicht finden > at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) > at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) > at org.netbeans.updater.ModuleUpdater.unpack200(ModuleUpdater.java:567) > at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:465) > at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117) > Caused by: java.io.IOException: CreateProcess error=2, Das System kann die > angegebene Datei nicht finden > at java.base/java.lang.ProcessImpl.create(Native Method) > at java.base/java.lang.ProcessImpl.(ProcessImpl.java:483) > at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158) > at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) > ... 4 more > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-3783) NetBeans crashes when creating type script file
Ghader Arkani created NETBEANS-3783: --- Summary: NetBeans crashes when creating type script file Key: NETBEANS-3783 URL: https://issues.apache.org/jira/browse/NETBEANS-3783 Project: NetBeans Issue Type: Bug Affects Versions: 11.3 Environment: Windows 10 x64 Node.js 12.13.0 JDK 1.8.0_231 NetBeans 11.3 beta2 Reporter: Ghader Arkani When I Add a TypeScript file to project and open it, CPU goes to 100% and there are about 300 Node.js instances loaded . -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-3784) IDE is freezing after is paste a simple XML
Ankur created NETBEANS-3784: --- Summary: IDE is freezing after is paste a simple XML Key: NETBEANS-3784 URL: https://issues.apache.org/jira/browse/NETBEANS-3784 Project: NetBeans Issue Type: Bug Environment: Ubuntu 18.04.3 LTS Reporter: Ankur I am using Netbeans IDE for my PHP code development. Here is the version details of my IDE : Product Version: Apache NetBeans IDE 11.2 Java: 11.0.6; OpenJDK 64-Bit Server VM Everything works fine but when I create a variable to store an XML string then IDE just freezes. Some times it does not freeze but some keys does not work like Tab , Enter keys do not work. Because of this issue, I couldn't write my code on netbeans IDE and used another text editor . -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-3785) Make memory gauge look better, especially on HiDPI displays
Eirik Bakke created NETBEANS-3785: - Summary: Make memory gauge look better, especially on HiDPI displays Key: NETBEANS-3785 URL: https://issues.apache.org/jira/browse/NETBEANS-3785 Project: NetBeans Issue Type: Improvement Components: platform - Other Affects Versions: 11.2 Environment: Windows, MacOS, and probably Linux, especially on HiDPI/retina displays Reporter: Eirik Bakke Attachments: gauge.jpg Scott Palmer writes: "Does anyone else see really ugly text in the memory usage widget on the toolbar? This has been an issue for a while and I can’t recall if I have reported it or it is already a known issue. It seems like something that shouldn’t be hard to address. The text showing heap used vs available heap is rendered in such a way that the letters are very puffy and jagged. Almost like any anti-aliasing that would be blending the edges has the alpha channel interpreted as a binary 0% or 100% opacity. I’ve attached an image, not sure if it will are it through. I’m testing NB 11.3-beta 2 with JDK 13.0.2 on macOS 10.15.3 (beta)" Eirik Bakke confirms that this has been an issue for a long time. In particular, the memory gauge should be updated to look good on HiDPI/Retina displays. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-585) Clicking in Output Window places caret in wrong position
[ https://issues.apache.org/jira/browse/NETBEANS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028546#comment-17028546 ] Eirik Bakke commented on NETBEANS-585: -- On Windows, this happens on 150% and 200% scaling modes, including when only one monitor is used. Normally I'd guess it would be related to rounding error in fractional scaling modes (e.g. 150%), but it seems to happen at 200% as well, which is interesting. This bug makes selection in the Output window (e.g. for copying parts of the text to the clipboard) nearly impossible. Does this happen on MacOS on Retina screens as well? I tried it on my old Mac, but can't immediately reproduce it there. Perhaps a Windows-only issue. > Clicking in Output Window places caret in wrong position > > > Key: NETBEANS-585 > URL: https://issues.apache.org/jira/browse/NETBEANS-585 > Project: NetBeans > Issue Type: Bug > Components: platform - Output Window >Affects Versions: 9.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-245-on-20180327) > Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11 > Runtime: Java(TM) SE Runtime Environment 9.0.4+11 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb) > User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev > Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev >Reporter: Gili >Priority: Major > Labels: HiDPI > > Repro steps: > 1. Run a Java Maven application that outputs to the console > 2. Click somewhere in a line of text in the Output Window (wrap-text is > disabled) > 3. Notice that the caret lands many characters to the left of where you click > It is extremely difficult to copy/paste text because we cannot control where > the caret begins copy/pasting from. > This issue might be related to NETBEANS-235 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2278) FolderName last character truncating
[ https://issues.apache.org/jira/browse/NETBEANS-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eirik Bakke updated NETBEANS-2278: -- Labels: HiDPI (was: ) > FolderName last character truncating > > > Key: NETBEANS-2278 > URL: https://issues.apache.org/jira/browse/NETBEANS-2278 > Project: NetBeans > Issue Type: Bug >Affects Versions: 9.0, 10.0, 11.0 > Environment: windows >Reporter: Simerdeep Arora >Priority: Critical > Labels: HiDPI > Attachments: image-2019-03-19-16-57-45-526.png > > > The last character of all of my folders, with long names, is truncating. > See the screenshot. > > The issue is in version 9 and 10 and 11..I have not tested in previous > versions. > > See the folder name is abc12345678910 but 0 is truncating. > > From CosmicClasses s is truncating > > !image-2019-03-19-16-57-45-526.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2278) FolderName last character truncating
[ https://issues.apache.org/jira/browse/NETBEANS-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028621#comment-17028621 ] Eirik Bakke commented on NETBEANS-2278: --- This is an issue which occurs on Windows on fractional HiDPI scaling factors (e.g. 150%). > FolderName last character truncating > > > Key: NETBEANS-2278 > URL: https://issues.apache.org/jira/browse/NETBEANS-2278 > Project: NetBeans > Issue Type: Bug >Affects Versions: 9.0, 10.0, 11.0 > Environment: windows >Reporter: Simerdeep Arora >Priority: Critical > Labels: HiDPI > Attachments: image-2019-03-19-16-57-45-526.png > > > The last character of all of my folders, with long names, is truncating. > See the screenshot. > > The issue is in version 9 and 10 and 11..I have not tested in previous > versions. > > See the folder name is abc12345678910 but 0 is truncating. > > From CosmicClasses s is truncating > > !image-2019-03-19-16-57-45-526.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-3699) Netbeans not properly working in multiple HiDpi screens
[ https://issues.apache.org/jira/browse/NETBEANS-3699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eirik Bakke updated NETBEANS-3699: -- Labels: HiDPI (was: ) > Netbeans not properly working in multiple HiDpi screens > --- > > Key: NETBEANS-3699 > URL: https://issues.apache.org/jira/browse/NETBEANS-3699 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 11.2 > Environment: Product Version: Apache NetBeans IDE 11.2 > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9 > Runtime: OpenJDK Runtime Environment 11.0.2+9 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) >Reporter: Sammy >Priority: Major > Labels: HiDPI > Fix For: 11.3 > > Attachments: image-2020-01-15-13-40-19-726.png, > image-2020-01-15-13-40-50-746.png, image-2020-01-15-13-43-39-587.png > > > !image-2020-01-15-13-40-19-726.png! > Netbeans doesn't seem to handle per-monitor dpi scaling properly. You can see > the icon pixelated and the tab bar text is cut off. I'm running 3 monitors, > the main one on 125%, the other on 100% scaling. When I drag Netbeans to > Monitor 3 at 100% scaling it looks correct. But main one is wrong. > !image-2020-01-15-13-40-50-746.png! > > > I have this setting enabled to ensure scaling is done based on main monitor: > > !image-2020-01-15-13-43-39-587.png! > this doesn't make a difference. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-3699) Netbeans not properly working in multiple HiDpi screens
[ https://issues.apache.org/jira/browse/NETBEANS-3699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eirik Bakke resolved NETBEANS-3699. --- Fix Version/s: 11.3 Resolution: Fixed Should be fixed in the next NetBeans version; see https://github.com/apache/netbeans/pull/1777 and https://github.com/apache/netbeans/pull/1804. Feel free to report or comment on any issues that remain on 11.3. See https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements for an overview of HiDPI-related work that is being done on NetBeans. > Netbeans not properly working in multiple HiDpi screens > --- > > Key: NETBEANS-3699 > URL: https://issues.apache.org/jira/browse/NETBEANS-3699 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 11.2 > Environment: Product Version: Apache NetBeans IDE 11.2 > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9 > Runtime: OpenJDK Runtime Environment 11.0.2+9 > System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) >Reporter: Sammy >Priority: Major > Fix For: 11.3 > > Attachments: image-2020-01-15-13-40-19-726.png, > image-2020-01-15-13-40-50-746.png, image-2020-01-15-13-43-39-587.png > > > !image-2020-01-15-13-40-19-726.png! > Netbeans doesn't seem to handle per-monitor dpi scaling properly. You can see > the icon pixelated and the tab bar text is cut off. I'm running 3 monitors, > the main one on 125%, the other on 100% scaling. When I drag Netbeans to > Monitor 3 at 100% scaling it looks correct. But main one is wrong. > !image-2020-01-15-13-40-50-746.png! > > > I have this setting enabled to ensure scaling is done based on main monitor: > > !image-2020-01-15-13-43-39-587.png! > this doesn't make a difference. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Assigned] (NETBEANS-3671) IllegalArgumentException CachedHiDPIIcon
[ https://issues.apache.org/jira/browse/NETBEANS-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eirik Bakke reassigned NETBEANS-3671: - Assignee: Eirik Bakke > IllegalArgumentException CachedHiDPIIcon > > > Key: NETBEANS-3671 > URL: https://issues.apache.org/jira/browse/NETBEANS-3671 > Project: NetBeans > Issue Type: Bug > Components: platform - Other >Affects Versions: 11.1 > Environment: Linux: Ubuntu 18.04.3 LTS >Reporter: Thomas >Assignee: Eirik Bakke >Priority: Major > > Now and then I get the following exception when opening the "Tools" menu item > via mouse: > > java.lang.IllegalArgumentException > at org.openide.util.CachedHiDPIIcon.(CachedHiDPIIcon.java:63) > at org.openide.util.FilteredIcon.(FilteredIcon.java:50) > at org.openide.util.FilteredIcon.create(FilteredIcon.java:58) > at > org.openide.util.ImageUtilities.createDisabledIcon(ImageUtilities.java:415) > at org.openide.awt.Actions$MenuBridge.updateButtonIcon(Actions.java:1375) > at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1324) > at org.openide.awt.Actions$MenuItem.synchMenuPresenters(Actions.java:1667) > at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:171) > at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:722) > at > java.desktop/javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1486) > at > java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:129) > at > java.desktop/javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:259) > at > java.desktop/javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:520) > at java.desktop/java.awt.Component.processMouseEvent(Component.java:6629) > at > java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) > at java.desktop/java.awt.Component.processEvent(Component.java:6397) > at java.desktop/java.awt.Container.processEvent(Container.java:2263) > at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) > at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) > at > java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) > at > java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544) > at > java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) > at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) > at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) > at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) > at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) > at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) > at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > [catch] at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-3702) Hint "implements all abstract method" is not working with record (JDK 14)
[ https://issues.apache.org/jira/browse/NETBEANS-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh resolved NETBEANS-3702. -- Assignee: Akhilesh Singh Resolution: Fixed > Hint "implements all abstract method" is not working with record (JDK 14) > - > > Key: NETBEANS-3702 > URL: https://issues.apache.org/jira/browse/NETBEANS-3702 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: jdk14, pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > Below code snippet throwing null pointer exception while generating override > method using hints. > record MyRecrod(int i) implements Runnable { > } -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-3786) Hint "add imports" is not in a right place(Record -JDK 14)
Akhilesh Singh created NETBEANS-3786: Summary: Hint "add imports" is not in a right place(Record -JDK 14) Key: NETBEANS-3786 URL: https://issues.apache.org/jira/browse/NETBEANS-3786 Project: NetBeans Issue Type: Bug Components: java - Editor Environment: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339 Reporter: Akhilesh Singh Assignee: Akhilesh Singh Below code snippet throwing null pointer exception while generating override method using hints. record MyRecrod(int i) implements Runnable { } -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-3786) Hint "add imports" is not in a right place(Record -JDK 14)
[ https://issues.apache.org/jira/browse/NETBEANS-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-3786: - Description: Write below code snippet on editor and use hint "*add import*" for List interface. public record Test(String s, int i, int j){ static List list= null; } Actual Result: Import statement comes at the end of record body. This change shows compile time error on editor. Excepted Result Import statement should come after package declaration or before start of record body. Note : This issue occurs only when there is no other import statement available or declared previously. was: Below code snippet throwing null pointer exception while generating override method using hints. record MyRecrod(int i) implements Runnable { } > Hint "add imports" is not in a right place(Record -JDK 14) > -- > > Key: NETBEANS-3786 > URL: https://issues.apache.org/jira/browse/NETBEANS-3786 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: jdk14, pull-request-available > > Write below code snippet on editor and use hint "*add import*" for List > interface. > public record Test(String s, int i, int j){ > static List list= null; > } > Actual Result: > Import statement comes at the end of record body. This change shows compile > time error on editor. > > Excepted Result > Import statement should come after package declaration or before start of > record body. > > Note : This issue occurs only when there is no other import statement > available or declared previously. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-3786) Hint "add imports" is not in a right place(Record -JDK 14)
[ https://issues.apache.org/jira/browse/NETBEANS-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akhilesh Singh updated NETBEANS-3786: - Labels: jdk14 (was: jdk14 pull-request-available) > Hint "add imports" is not in a right place(Record -JDK 14) > -- > > Key: NETBEANS-3786 > URL: https://issues.apache.org/jira/browse/NETBEANS-3786 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: jdk14 > > Write below code snippet on editor and use hint "*add import*" for List > interface. > public record Test(String s, int i, int j){ > static List list= null; > } > Actual Result: > Import statement comes at the end of record body. This change shows compile > time error on editor. > > Excepted Result > Import statement should come after package declaration or before start of > record body. > > Note : This issue occurs only when there is no other import statement > available or declared previously. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-3702) Hint "implements all abstract method" is not working with record (JDK 14)
[ https://issues.apache.org/jira/browse/NETBEANS-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028678#comment-17028678 ] Akhilesh Singh commented on NETBEANS-3702: -- [https://github.com/apache/netbeans/pull/1907] > Hint "implements all abstract method" is not working with record (JDK 14) > - > > Key: NETBEANS-3702 > URL: https://issues.apache.org/jira/browse/NETBEANS-3702 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339 >Reporter: Akhilesh Singh >Assignee: Akhilesh Singh >Priority: Major > Labels: jdk14, pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > Below code snippet throwing null pointer exception while generating override > method using hints. > record MyRecrod(int i) implements Runnable { > } -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists