[jira] [Created] (NETBEANS-6081) Cleaning to the 'enterprise' module
José Contreras created NETBEANS-6081: Summary: Cleaning to the 'enterprise' module Key: NETBEANS-6081 URL: https://issues.apache.org/jira/browse/NETBEANS-6081 Project: NetBeans Issue Type: Improvement Components: javaee - Code Affects Versions: 12.5 Environment: Fedora 34 (Workstation Edition) AMD® Ryzen 7 5800x 62.7 GiB SSD Samsung 983 ZET JDK VM Zulu11.50+19-CA (build 11.0.12+7-LTS, mixed mode) Reporter: José Contreras Assignee: José Contreras Fix For: 12.6 I did some cleaning to the 'enterprise' module with the 'Inspect & Transform' tool. I divided the cleaning in 8 parts/commits. Cleaning enterprise module part 1: - Remove unnecessary boxing - Remove unnecessary unboxing - Remove boxing of already boxed value - Remove creating new Boolean Cleaning enterprise module part 2: - Remove import From java.lang Package - Remove import From The Same Package Cleaning enterprise module part 3: - Remove redundant conditional expressions - Remove empty statements (semicolon) Cleaning enterprise module part 4: - Replace length one String in String.indexOf ("c" -> 'c') - Remove redundant String.toString() - Use String concatenation in StringBuilder.append - Remove String constructor - Replace useless use of StringBuffer with StringBuilder - Unnecessary temporary during conversion from String - Unnecessary temporary during conversion to String Cleaning enterprise module part 5: - Converts try finally block to try-with-resources when possible Cleaning enterprise module part 6: - Remove String concatenation in logger - Logger declaration is not static final - Remove unnecessary Throwable.initCause Cleaning enterprise module part 7: - Join catch sections using multicatch Cleaning enterprise module part 8: - Add @Override Annotation -- 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-4198) Bad text rendering for Test results on macOS, and with HiDPI scaling on Windows
[ https://issues.apache.org/jira/browse/NETBEANS-4198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-4198: - Labels: HiDPI pull-request-available (was: HiDPI) > Bad text rendering for Test results on macOS, and with HiDPI scaling on > Windows > --- > > Key: NETBEANS-4198 > URL: https://issues.apache.org/jira/browse/NETBEANS-4198 > Project: NetBeans > Issue Type: Bug > Components: utilities - Test Runner >Affects Versions: 11.3 >Reporter: Scott Palmer >Priority: Minor > Labels: HiDPI, pull-request-available > Attachments: bad test text.jpg > > Time Spent: 10m > Remaining Estimate: 0h > > The message “Tests passed: XX%” is poorly rendered. It’s like the alpha > channel is blending in a binary way. -- 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-6069) netbeans insist that properties file should be encoded in ISO-8859-1, but is not correct in all cases
[ https://issues.apache.org/jira/browse/NETBEANS-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422998#comment-17422998 ] Pieter van den Hombergh commented on NETBEANS-6069: --- I have added a minimal example. The project contains a German properties file. When you ask for its properties or open it with another editor (e.g. emacs, notpad++) you will see that it is reported as UTF-8 file. The file utility in ubuntu identifies it as *aboutUs_de.properties: HTML document, UTF-8 Unicode text*, because it contains some HTML elements (which how it is to be used in the actual application). When I open the file in NetBeans, then German special characters get mangled up, which is understandable if the assumption is ISO file, but when it writes the file (after the slightest modification) it turns it into an improperly formatted 'ascii' file, where all the German specials become corrupted. I have added a corrupted file as well. The annoying part is that this conversion happens without any hint or warning, and it is a PHP project, which has nothing with the java conventions of property files. Our workaround is to use another extension (.translations), with the drawback of losing the syntax highlighting for the keys and values. Another solution is to use another editor, but the error is quickly made: when you click on the file, and save it, the corruption already takes place. And that happens easily, because these translation files or 'resource bundles' are part of the project. > netbeans insist that properties file should be encoded in ISO-8859-1, but is > not correct in all cases > - > > Key: NETBEANS-6069 > URL: https://issues.apache.org/jira/browse/NETBEANS-6069 > Project: NetBeans > Issue Type: Improvement > Components: cnd - Editor >Affects Versions: 12.5 >Reporter: Pieter van den Hombergh >Priority: Major > Attachments: PhpProject1.zip, aboutUs_de.properties-corrupt > > > > I happened to edit a bundle properties file with german UTF text inside, but > NetBeans opens as ISO-8859-1. > The use case in this case is PHP project, but I think it is no longer > relevant to > make NetBeans assume from the extension that the file is ISO-8859-1. > NetBeans seems to silently convert, and thereby break the original UTF-8 file. > > Anyway, it was a surprise. > Maybe this is adequate: 'assumption is the mother of all f**k-ups. > -- 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-6069) netbeans insist that properties file should be encoded in ISO-8859-1, but is not correct in all cases
[ https://issues.apache.org/jira/browse/NETBEANS-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pieter van den Hombergh updated NETBEANS-6069: -- Attachment: aboutUs_de.properties-corrupt > netbeans insist that properties file should be encoded in ISO-8859-1, but is > not correct in all cases > - > > Key: NETBEANS-6069 > URL: https://issues.apache.org/jira/browse/NETBEANS-6069 > Project: NetBeans > Issue Type: Improvement > Components: cnd - Editor >Affects Versions: 12.5 >Reporter: Pieter van den Hombergh >Priority: Major > Attachments: PhpProject1.zip, aboutUs_de.properties-corrupt > > > > I happened to edit a bundle properties file with german UTF text inside, but > NetBeans opens as ISO-8859-1. > The use case in this case is PHP project, but I think it is no longer > relevant to > make NetBeans assume from the extension that the file is ISO-8859-1. > NetBeans seems to silently convert, and thereby break the original UTF-8 file. > > Anyway, it was a surprise. > Maybe this is adequate: 'assumption is the mother of all f**k-ups. > -- 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-6069) netbeans insist that properties file should be encoded in ISO-8859-1, but is not correct in all cases
[ https://issues.apache.org/jira/browse/NETBEANS-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pieter van den Hombergh updated NETBEANS-6069: -- Attachment: (was: PhpProject1.zip) > netbeans insist that properties file should be encoded in ISO-8859-1, but is > not correct in all cases > - > > Key: NETBEANS-6069 > URL: https://issues.apache.org/jira/browse/NETBEANS-6069 > Project: NetBeans > Issue Type: Improvement > Components: cnd - Editor >Affects Versions: 12.5 >Reporter: Pieter van den Hombergh >Priority: Major > Attachments: PhpProject1.zip > > > > I happened to edit a bundle properties file with german UTF text inside, but > NetBeans opens as ISO-8859-1. > The use case in this case is PHP project, but I think it is no longer > relevant to > make NetBeans assume from the extension that the file is ISO-8859-1. > NetBeans seems to silently convert, and thereby break the original UTF-8 file. > > Anyway, it was a surprise. > Maybe this is adequate: 'assumption is the mother of all f**k-ups. > -- 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-6069) netbeans insist that properties file should be encoded in ISO-8859-1, but is not correct in all cases
[ https://issues.apache.org/jira/browse/NETBEANS-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pieter van den Hombergh updated NETBEANS-6069: -- Attachment: PhpProject1.zip > netbeans insist that properties file should be encoded in ISO-8859-1, but is > not correct in all cases > - > > Key: NETBEANS-6069 > URL: https://issues.apache.org/jira/browse/NETBEANS-6069 > Project: NetBeans > Issue Type: Improvement > Components: cnd - Editor >Affects Versions: 12.5 >Reporter: Pieter van den Hombergh >Priority: Major > Attachments: PhpProject1.zip > > > > I happened to edit a bundle properties file with german UTF text inside, but > NetBeans opens as ISO-8859-1. > The use case in this case is PHP project, but I think it is no longer > relevant to > make NetBeans assume from the extension that the file is ISO-8859-1. > NetBeans seems to silently convert, and thereby break the original UTF-8 file. > > Anyway, it was a surprise. > Maybe this is adequate: 'assumption is the mother of all f**k-ups. > -- 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-6069) netbeans insist that properties file should be encoded in ISO-8859-1, but is not correct in all cases
[ https://issues.apache.org/jira/browse/NETBEANS-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pieter van den Hombergh updated NETBEANS-6069: -- Attachment: PhpProject1.zip > netbeans insist that properties file should be encoded in ISO-8859-1, but is > not correct in all cases > - > > Key: NETBEANS-6069 > URL: https://issues.apache.org/jira/browse/NETBEANS-6069 > Project: NetBeans > Issue Type: Improvement > Components: cnd - Editor >Affects Versions: 12.5 >Reporter: Pieter van den Hombergh >Priority: Major > Attachments: PhpProject1.zip > > > > I happened to edit a bundle properties file with german UTF text inside, but > NetBeans opens as ISO-8859-1. > The use case in this case is PHP project, but I think it is no longer > relevant to > make NetBeans assume from the extension that the file is ISO-8859-1. > NetBeans seems to silently convert, and thereby break the original UTF-8 file. > > Anyway, it was a surprise. > Maybe this is adequate: 'assumption is the mother of all f**k-ups. > -- 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
[netbeans] branch master updated: Update JNA and JNA platform to 5.9.0
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new da5d804 Update JNA and JNA platform to 5.9.0 new 8b4d2c7 Merge pull request #3178 from matthiasblaesing/update-jna da5d804 is described below commit da5d804660a142b2ce96b570ad7a40436e1859c1 Author: Matthias Bläsing AuthorDate: Fri Aug 13 22:52:20 2021 +0200 Update JNA and JNA platform to 5.9.0 sigtest data was regenerated and checked. The changes to the interfaces in the platform are ok: - additions to the interfaces just expose additional native methods - incompatible changes are fixes for functions that were broken hard before the change and thus are either already broken or were not used --- platform/libs.jna.platform/external/binaries-list |2 +- .../external/jna-platform-5.9.0-license.txt} |2 +- .../nbproject/org-netbeans-libs-jna-platform.sig | 1454 +++- .../libs.jna.platform/nbproject/project.properties |2 +- platform/libs.jna.platform/nbproject/project.xml |6 +- platform/libs.jna/external/binaries-list |2 +- .../external/jna-5.9.0-license.txt}|2 +- .../libs.jna/nbproject/org-netbeans-libs-jna.sig | 22 +- platform/libs.jna/nbproject/project.properties | 22 +- platform/libs.jna/nbproject/project.xml|4 +- 10 files changed, 1481 insertions(+), 37 deletions(-) diff --git a/platform/libs.jna.platform/external/binaries-list b/platform/libs.jna.platform/external/binaries-list index d01b93f..9acffb0 100644 --- a/platform/libs.jna.platform/external/binaries-list +++ b/platform/libs.jna.platform/external/binaries-list @@ -15,4 +15,4 @@ # specific language governing permissions and limitations # under the License. -A8267193887C38418AF986ADAE090EE5D2593F48 net.java.dev.jna:jna-platform:5.4.0 +C535A5BDA553D7D7690356C825010DA74B2671B5 net.java.dev.jna:jna-platform:5.9.0 diff --git a/platform/libs.jna/external/jna-5.4.0-license.txt b/platform/libs.jna.platform/external/jna-platform-5.9.0-license.txt similarity index 99% rename from platform/libs.jna/external/jna-5.4.0-license.txt rename to platform/libs.jna.platform/external/jna-platform-5.9.0-license.txt index 9d0b31f..7ab5d58 100644 --- a/platform/libs.jna/external/jna-5.4.0-license.txt +++ b/platform/libs.jna.platform/external/jna-platform-5.9.0-license.txt @@ -1,5 +1,5 @@ Name: Java Native Access -Version: 5.4.0 +Version: 5.9.0 License: Apache-2.0 Description: Dynamically access native libraries from Java without JNI. Origin: Java Native Access diff --git a/platform/libs.jna.platform/nbproject/org-netbeans-libs-jna-platform.sig b/platform/libs.jna.platform/nbproject/org-netbeans-libs-jna-platform.sig index 8c5a375..3d1cd00 100644 --- a/platform/libs.jna.platform/nbproject/org-netbeans-libs-jna-platform.sig +++ b/platform/libs.jna.platform/nbproject/org-netbeans-libs-jna-platform.sig @@ -155,7 +155,7 @@ meth public void writeField(java.lang.String) meth public void writeField(java.lang.String,java.lang.Object) supr java.lang.Object hfds LOG,PLACEHOLDER_MEMORY,actualAlignType,alignType,array,autoRead,autoWrite,busy,encoding,fieldOrder,layoutInfo,memory,nativeStrings,readCalled,reads,size,structAlignment,structFields,typeInfo,typeMapper -hcls AutoAllocated,FFIType,LayoutInfo,StructureSet +hcls AutoAllocated,FFIType,LayoutInfo,NativeStringTracking,StructureSet CLSS public abstract interface static com.sun.jna.Structure$ByReference outer com.sun.jna.Structure @@ -272,7 +272,7 @@ meth public abstract void fileChanged(com.sun.jna.platform.FileMonitor$FileEvent CLSS public abstract com.sun.jna.platform.FileUtils cons public init() -meth public abstract void moveToTrash(java.io.File[]) throws java.io.IOException +meth public abstract !varargs void moveToTrash(java.io.File[]) throws java.io.IOException meth public boolean hasTrash() meth public static com.sun.jna.platform.FileUtils getInstance() supr java.lang.Object @@ -461,6 +461,160 @@ meth public void setAlpha(float) supr java.lang.Object hfds DEFAULT_ALPHA,SLIDE_INTERVAL,dragImage,origin +CLSS public abstract interface com.sun.jna.platform.linux.ErrNo +fld public final static int E2BIG = 7 +fld public final static int EACCES = 13 +fld public final static int EADDRINUSE = 98 +fld public final static int EADDRNOTAVAIL = 99 +fld public final static int EADV = 68 +fld public final static int EAFNOSUPPORT = 97 +fld public final static int EAGAIN = 11 +fld public final static int EALREADY = 114 +fld public final static int EBADE = 52 +fld public final static int EBADF = 9 +fld public final static int EBADFD = 77 +fld public final static int EBADMSG = 74 +fld public final static int EBADR = 53 +fld public final static int EBADRQC = 56 +fld public final static int EBA
[netbeans] branch master updated: Revert "Performance optimizations to speed up remote debugging."
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 5eb7890 Revert "Performance optimizations to speed up remote debugging." new e9e1c02 Merge pull request #3181 from matthiasblaesing/backout_breaking_change_to_debugging 5eb7890 is described below commit 5eb7890b705f2075be0a1681da64fa4e16e2bb9b Author: Matthias Bläsing AuthorDate: Wed Sep 22 01:04:53 2021 +0200 Revert "Performance optimizations to speed up remote debugging." This reverts commit 25a3d5273bde897bfc3a28877dd9f62973fa7a17. The referenced commit breaks single stepping (handling of multiple breakpoints being hit, visualizing the current execution position in the IDE). --- .../debugger/jpda/DeadlockDetectorImpl.java| 44 ++-- .../debugger/jpda/JDIExceptionReporter.java| 16 +- .../modules/debugger/jpda/JPDADebuggerImpl.java| 223 + .../modules/debugger/jpda/SingleThreadWatcher.java | 5 +- .../debugger/jpda/actions/StepActionProvider.java | 3 - .../debugger/jpda/models/JPDAThreadGroupImpl.java | 11 +- .../debugger/jpda/models/JPDAThreadImpl.java | 122 +-- .../debugger/jpda/models/ObjectTranslation.java| 115 ++- .../modules/debugger/jpda/models/ThreadsCache.java | 17 ++ java/java.lsp.server/manifest.mf | 1 - .../modules/debugger/jpda/Bundle.properties| 18 -- .../lsp/server/debugging/NbProtocolServer.java | 154 +++--- .../variables/NbVariablesRequestHandler.java | 104 +- .../org/netbeans/modules/java/lsp/server/layer.xml | 30 --- 14 files changed, 334 insertions(+), 529 deletions(-) diff --git a/java/debugger.jpda/src/org/netbeans/modules/debugger/jpda/DeadlockDetectorImpl.java b/java/debugger.jpda/src/org/netbeans/modules/debugger/jpda/DeadlockDetectorImpl.java index 9f1a938..8018fe8 100644 --- a/java/debugger.jpda/src/org/netbeans/modules/debugger/jpda/DeadlockDetectorImpl.java +++ b/java/debugger.jpda/src/org/netbeans/modules/debugger/jpda/DeadlockDetectorImpl.java @@ -34,15 +34,15 @@ import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; - import org.netbeans.api.debugger.jpda.CallStackFrame; import org.netbeans.api.debugger.jpda.DeadlockDetector; import org.netbeans.api.debugger.jpda.JPDADebugger; import org.netbeans.api.debugger.jpda.JPDAThread; import org.netbeans.api.debugger.jpda.ObjectVariable; +import org.netbeans.api.debugger.jpda.This; import org.netbeans.modules.debugger.jpda.expr.JDIVariable; import org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl; -import org.openide.util.NbBundle; +import org.openide.util.Exceptions; import org.openide.util.RequestProcessor; import org.openide.util.RequestProcessor.Task; import org.openide.util.WeakListeners; @@ -52,9 +52,6 @@ import org.openide.util.WeakSet; * * @author martin */ -@NbBundle.Messages({ -"USE_JPDA_DEADLOCK_DETECTOR=true" -}) public class DeadlockDetectorImpl extends DeadlockDetector implements PropertyChangeListener { private final Set suspendedThreads = new WeakSet(); @@ -64,9 +61,6 @@ public class DeadlockDetectorImpl extends DeadlockDetector implements PropertyCh private Map monitorToNode; DeadlockDetectorImpl(JPDADebugger debugger) { -if (!Boolean.valueOf(Bundle.USE_JPDA_DEADLOCK_DETECTOR())) { -return; -} debugger.addPropertyChangeListener(this); List threads = debugger.getThreadsCollector().getAllThreads(); for (JPDAThread thread : threads) { @@ -91,26 +85,24 @@ public class DeadlockDetectorImpl extends DeadlockDetector implements PropertyCh final Set tempSuspThreads; synchronized(suspendedThreads) { suspendedThreads.add(thread); -tempSuspThreads = suspendedThreads.size() > 1 ? new HashSet(suspendedThreads) : null; +tempSuspThreads = new HashSet(suspendedThreads); } -if (tempSuspThreads != null) { -final Task[] taskPtr = new Task[] { null }; -synchronized (unfinishedTasks) { -Task task = rp.post(new Runnable() { -public void run() { -Set deadlocks; -deadlocks = findDeadlockedThreads(tempSuspThreads); -if (deadlocks != null) { -setDeadlocks(deadlocks); -} -synchronized (unfinishedTasks) { -unfinishedTasks.remove(taskPtr[0]); -} +final Task
[netbeans] branch master updated (fe8c588 -> acc0547)
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from fe8c588 Merge pull request #3197 from sdedic/groovy/fix-tests new 021ebd3 Update JavaFX to 17 new 84a63a2 Use reflection to fetch debugger for JavaFX Webview new acc0547 Merge pull request #3179 from matthiasblaesing/update-javafx The 5921 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: extra/libs.javafx.linux/build.xml | 5 +++ extra/libs.javafx.linux/external/binaries-list | 12 .../external/javafx-base-13-linux.jar.external | 4 --- .../external/javafx-base-17-linux.jar.external | 4 +++ .../external/javafx-controls-13-linux.jar.external | 4 --- .../external/javafx-controls-17-linux.jar.external | 4 +++ .../external/javafx-graphics-13-linux.jar.external | 4 --- .../external/javafx-graphics-17-linux.jar.external | 4 +++ .../external/javafx-linux-17-license.txt} | 8 ++--- .../external/javafx-media-13-linux.jar.external| 4 --- .../external/javafx-media-17-linux.jar.external| 4 +++ .../external/javafx-swing-13-linux.jar.external| 4 --- .../external/javafx-swing-17-linux.jar.external| 4 +++ .../external/javafx-web-13-linux.jar.external | 4 --- .../external/javafx-web-17-linux.jar.external | 4 +++ extra/libs.javafx.linux/licenseinfo.xml| 12 extra/libs.javafx.linux/manifest.mf| 2 +- .../libs.javafx.linux/nbproject/project.properties | 24 +++ extra/libs.javafx.linux/nbproject/project.xml | 24 +++ extra/libs.javafx.macosx/build.xml | 5 +++ extra/libs.javafx.macosx/external/binaries-list| 12 .../external/javafx-base-13-mac.jar.external | 4 --- .../external/javafx-base-17-mac.jar.external | 4 +++ .../external/javafx-controls-13-mac.jar.external | 4 --- .../external/javafx-controls-17-mac.jar.external | 4 +++ .../external/javafx-graphics-13-mac.jar.external | 4 --- .../external/javafx-graphics-17-mac.jar.external | 4 +++ .../external/javafx-mac-17-license.txt}| 8 ++--- .../external/javafx-media-13-mac.jar.external | 4 --- .../external/javafx-media-17-mac.jar.external | 4 +++ .../external/javafx-swing-13-mac.jar.external | 4 --- .../external/javafx-swing-17-mac.jar.external | 4 +++ .../external/javafx-web-13-mac.jar.external| 4 --- .../external/javafx-web-17-mac.jar.external| 4 +++ extra/libs.javafx.macosx/licenseinfo.xml | 12 extra/libs.javafx.macosx/manifest.mf | 2 +- .../nbproject/project.properties | 24 +++ extra/libs.javafx.macosx/nbproject/project.xml | 24 +++ extra/libs.javafx.win/build.xml| 5 +++ extra/libs.javafx.win/external/binaries-list | 12 .../external/javafx-base-13-win.jar.external | 4 --- .../external/javafx-base-17-win.jar.external | 4 +++ .../external/javafx-controls-13-win.jar.external | 4 --- .../external/javafx-controls-17-win.jar.external | 4 +++ .../external/javafx-graphics-13-win.jar.external | 4 --- .../external/javafx-graphics-17-win.jar.external | 4 +++ .../external/javafx-media-13-win.jar.external | 4 --- .../external/javafx-media-17-win.jar.external | 4 +++ .../external/javafx-swing-13-win.jar.external | 4 --- .../external/javafx-swing-17-win.jar.external | 4 +++ .../external/javafx-web-13-win.jar.external| 4 --- .../external/javafx-web-17-win.jar.external| 4 +++ .../external/javafx-win-17-license.txt}| 8 ++--- extra/libs.javafx.win/licenseinfo.xml | 12 extra/libs.javafx.win/manifest.mf | 2 +- extra/libs.javafx.win/nbproject/project.properties | 24 +++ extra/libs.javafx.win/nbproject/project.xml| 24 +++ .../nbproject/project.properties | 2 +- .../webview/ext/WebKitDebuggingTransport.java | 36 +++--- 59 files changed, 242 insertions(+), 201 deletions(-) delete mode 100644 extra/libs.javafx.linux/external/javafx-base-13-linux.jar.external create mode 100644 extra/libs.javafx.linux/external/javafx-base-17-linux.jar.external delete mode 100644 extra/libs.javafx.linux/external/javafx-controls-13-linux.jar.external create mode 100644 extra/libs.javafx.linux/external/javafx-controls-17-linux.jar.external delete mode 100644 extra/libs.javafx.linux/external/javafx-graphics-13-linux.jar.external create mode 100644 extra/libs.javafx.linux/external/javafx-graphics-
[netbeans] branch master updated (03bd150 -> fe8c588)
This is an automated email from the ASF dual-hosted git repository. skygo pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 03bd150 Support of setting the current working directory and environment variables for Java8+ VSCode projects. new b011673 Implement IndexingTask API so Groovy indexer does not run static analysis. new c4e22ae Updated - compiler goes to later phase, adding property accessors. new ffa9020 Only disable error reports after AST build completed. new fe8c588 Merge pull request #3197 from sdedic/groovy/fix-tests The 5918 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../groovy/editor/api/parser/GroovyParser.java | 4 +++- .../testfiles/BookmarkController.groovy.indexed| 28 ++ .../netbeans/modules/csl/api/test/CslTestBase.java | 12 ++ 3 files changed, 38 insertions(+), 6 deletions(-) - 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
[netbeans] branch master updated: Support of setting the current working directory and environment variables for Java8+ VSCode projects.
This is an automated email from the ASF dual-hosted git repository. entl pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 03bd150 Support of setting the current working directory and environment variables for Java8+ VSCode projects. 03bd150 is described below commit 03bd150b8b96fde89f653c9f581a24ba1af411e2 Author: Martin Entlicher AuthorDate: Tue Sep 21 03:03:14 2021 +0200 Support of setting the current working directory and environment variables for Java8+ VSCode projects. --- cpplite/cpplite.debugger/nbproject/project.xml | 11 +- .../modules/cpplite/debugger/CPPLiteDebugger.java | 36 +++- .../cpplite/debugger/CPPLiteDebuggerConfig.java| 35 +++- .../modules/cpplite/debugger/api/Debugger.java | 4 +- .../debugger/ni/NIDebuggerProviderImpl.java| 20 ++- .../cpplite/debugger/AbstractDebugTest.java| 53 +- .../cpplite/debugger/ProcessParametersTest.java| 192 + extide/gradle/apichanges.xml | 17 ++ extide/gradle/arch.xml | 14 ++ .../gradle/tooling/NetBeansRunSinglePlugin.groovy | 104 ++- .../base/ExplicitProcessParameters.java| 106 +++- .../nativeimage/api/debug/EvaluateException.java | 7 +- .../modules/nativeimage/api/debug/NIDebugger.java | 56 -- .../modules/nativeimage/api/debug/NIFrame.java | 16 +- .../api/debug/NILineBreakpointDescriptor.java | 26 +-- .../modules/nativeimage/api/debug/NIVariable.java | 20 +-- .../api/debug/StartDebugParameters.java| 188 .../nativeimage/spi/debug/NIDebuggerProvider.java | 56 -- java/gradle.java/arch.xml | 12 ++ java/gradle.java/nbproject/project.xml | 4 +- .../modules/gradle/java/action-mapping.xml | 12 +- .../modules/gradle/java/api/ProjectActions.java| 23 ++- .../gradle/java/execute/JavaExecTokenProvider.java | 58 ++- .../java/execute/JavaExecTokenProviderTest.java| 34 java/java.lsp.server/nbproject/project.xml | 4 +- .../server/debugging/launch/NbLaunchDelegate.java | 89 -- java/java.lsp.server/vscode/package.json | 15 ++ .../nbproject/project.xml | 2 +- .../debugger/actions/NIAttachCustomizer.java | 1 + .../nativeimage/debugger/api/NIDebugRunner.java| 25 +++ java/maven/nbproject/project.xml | 2 +- .../modules/maven/debug/DebuggerChecker.java | 18 +- .../maven/execute/DefaultReplaceTokenProvider.java | 1 + .../maven/execute/MavenCommandLineExecutor.java| 14 +- .../maven/runjar/LaunchArgPrereqsChecker.java | 15 ++ .../modules/maven/runjar/MavenExecuteUtils.java| 7 + .../modules/maven/runjar/RunJarStartupArgs.java| 18 +- .../maven/execute/MavenExecutionTestBase.java | 6 +- .../maven/runjar/ExecutionEnvHelperTest.java | 52 ++ 39 files changed, 1242 insertions(+), 131 deletions(-) diff --git a/cpplite/cpplite.debugger/nbproject/project.xml b/cpplite/cpplite.debugger/nbproject/project.xml index 7574c06..55bb7e8 100644 --- a/cpplite/cpplite.debugger/nbproject/project.xml +++ b/cpplite/cpplite.debugger/nbproject/project.xml @@ -61,12 +61,21 @@ + org.netbeans.modules.extexecution.base + + + +2 +1.20 + + + org.netbeans.modules.nativeimage.api 0 -0.4 +0.5 diff --git a/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/CPPLiteDebugger.java b/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/CPPLiteDebugger.java index 946f047..7c30f7c 100644 --- a/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/CPPLiteDebugger.java +++ b/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/CPPLiteDebugger.java @@ -50,6 +50,7 @@ import org.netbeans.api.debugger.DebuggerEngine; import org.netbeans.api.debugger.DebuggerInfo; import org.netbeans.api.debugger.DebuggerManager; import org.netbeans.api.debugger.DebuggerManagerAdapter; +import org.netbeans.api.extexecution.base.ExplicitProcessParameters; import org.netbeans.modules.cnd.debugger.gdb2.mi.MICommand; import org.netbeans.modules.cnd.debugger.gdb2.mi.MICommandInjector; import org.netbeans.modules.cnd.debugger.gdb2.mi.MIConst; @@ -75,6 +76,7 @@ import org.openide.filesystems.FileUtil; import org.openide.text.Annotatable; import org.openide.
[jira] [Updated] (NETBEANS-6080) NoSuchMethodError thrown while applying CreateClassFix
[ https://issues.apache.org/jira/browse/NETBEANS-6080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-6080: - Labels: pull-request-available (was: ) > NoSuchMethodError thrown while applying CreateClassFix > -- > > Key: NETBEANS-6080 > URL: https://issues.apache.org/jira/browse/NETBEANS-6080 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 12.4 >Reporter: Dusan Balek >Assignee: Dusan Balek >Priority: Major > Labels: pull-request-available > Fix For: 12.6 > > Time Spent: 10m > Remaining Estimate: 0h > > Open the following class in editor: > {code:java} > public class Main { > public static void main(String... args) { > T t = new T(); > } > } > {code} > Place cursor on 'T' in 'new T()' and apply 'Create class 'T" with > constructor...' hint. The following exception is thrown: > {code:java} > java.lang.NoSuchMethodError: > com.sun.tools.javac.code.Type$ErrorType.(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol$TypeSymbol;Lcom/sun/tools/javac/code/Type;)V > at > org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:347) > at > org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:227) > at > org.netbeans.modules.java.hints.errors.CreateClassFix.createConstructor(CreateClassFix.java:160) > at > org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:408) > at > org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:393) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663) > at > org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) > at > org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) > at > org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) > at > org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684) > at > org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix.implement(CreateClassFix.java:393) > at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:810) > at > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > {code} -- 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-6080) NoSuchMethodError thrown while applying CreateClassFix
[ https://issues.apache.org/jira/browse/NETBEANS-6080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dusan Balek updated NETBEANS-6080: -- Description: Open the following class in editor: {code:java} public class Main { public static void main(String... args) { T t = new T(); } } {code} Place cursor on 'T' in 'new T()' and apply 'Create class 'T" with constructor...' hint. The following exception is thrown: {code:java} java.lang.NoSuchMethodError: com.sun.tools.javac.code.Type$ErrorType.(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol$TypeSymbol;Lcom/sun/tools/javac/code/Type;)V at org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:347) at org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:227) at org.netbeans.modules.java.hints.errors.CreateClassFix.createConstructor(CreateClassFix.java:160) at org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:408) at org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:393) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684) at org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix.implement(CreateClassFix.java:393) at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:810) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) {code} was: Open the following class in editor: {code:java} public class Main { public static void main(String... args) { new T(); } } {code} Place cursor on 'T' and apply 'Create class ...' hint. The following exception is thrown: {code:java} java.lang.NoSuchMethodError: com.sun.tools.javac.code.Type$ErrorType.(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol$TypeSymbol;Lcom/sun/tools/javac/code/Type;)V at org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:347) at org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:227) at org.netbeans.modules.java.hints.errors.CreateClassFix.createConstructor(CreateClassFix.java:160) at org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:408) at org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:393) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.
[jira] [Created] (NETBEANS-6080) NoSuchMethodError thrown while applying CreateClassFix
Dusan Balek created NETBEANS-6080: - Summary: NoSuchMethodError thrown while applying CreateClassFix Key: NETBEANS-6080 URL: https://issues.apache.org/jira/browse/NETBEANS-6080 Project: NetBeans Issue Type: Bug Components: java - Source Affects Versions: 12.4 Reporter: Dusan Balek Assignee: Dusan Balek Fix For: 12.6 Open the following class in editor: {code:java} public class Main { public static void main(String... args) { new T(); } } {code} Place cursor on 'T' and apply 'Create class ...' hint. The following exception is thrown: {code:java} java.lang.NoSuchMethodError: com.sun.tools.javac.code.Type$ErrorType.(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol$TypeSymbol;Lcom/sun/tools/javac/code/Type;)V at org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:347) at org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:227) at org.netbeans.modules.java.hints.errors.CreateClassFix.createConstructor(CreateClassFix.java:160) at org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:408) at org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:393) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684) at org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix.implement(CreateClassFix.java:393) at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:810) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) {code} -- 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