[netbeans-html4j] branch master updated (2065359 -> 85aef8f)
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git. from 2065359 It's 2021! new 6b414cd Enabling Jackpot checks to prevent accidental usage of ArrayList & co. new 85aef8f Getting ready for next development iteration The 2 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: boot-agent-test/pom.xml| 2 +- boot-fx/pom.xml| 4 +-- boot-script/pom.xml| 4 +-- boot/pom.xml | 4 +-- browser/pom.xml| 2 +- context/pom.xml| 4 +-- ecj-test/pom.xml | 4 +-- equinox-agentclass-hook/pom.xml| 2 +- generic/pom.xml| 4 +-- geo/pom.xml| 4 +-- html4j-maven-plugin/pom.xml| 4 +-- json-tck/pom.xml | 11 +--- .../java/META-INF/upgrade/AvoidCollections.hint| 31 +- json/pom.xml | 4 +-- ko-felix-test/pom.xml | 2 +- ko-osgi-test/pom.xml | 2 +- ko-ws-tyrus/pom.xml| 4 +-- ko4j/pom.xml | 4 +-- pom.xml| 2 +- renderer/pom.xml | 2 +- sound/pom.xml | 4 +-- webkit/pom.xml | 2 +- xhr4j/pom.xml | 4 +-- 23 files changed, 61 insertions(+), 49 deletions(-) copy json/src/main/java/org/netbeans/html/json/impl/ClassValueTypes.java => json-tck/src/main/java/META-INF/upgrade/AvoidCollections.hint (64%) - 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-html4j] 02/02: Getting ready for next development iteration
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git commit 85aef8fbd53fe4303da479a8952dffed73b0c838 Author: Jaroslav Tulach AuthorDate: Wed Nov 3 05:26:21 2021 +0100 Getting ready for next development iteration --- boot-agent-test/pom.xml | 2 +- boot-fx/pom.xml | 4 ++-- boot-script/pom.xml | 4 ++-- boot/pom.xml| 4 ++-- browser/pom.xml | 2 +- context/pom.xml | 4 ++-- ecj-test/pom.xml| 4 ++-- equinox-agentclass-hook/pom.xml | 2 +- generic/pom.xml | 4 ++-- geo/pom.xml | 4 ++-- html4j-maven-plugin/pom.xml | 4 ++-- json-tck/pom.xml| 6 +++--- json/pom.xml| 4 ++-- ko-felix-test/pom.xml | 2 +- ko-osgi-test/pom.xml| 2 +- ko-ws-tyrus/pom.xml | 4 ++-- ko4j/pom.xml| 4 ++-- pom.xml | 2 +- renderer/pom.xml| 2 +- sound/pom.xml | 4 ++-- webkit/pom.xml | 2 +- xhr4j/pom.xml | 4 ++-- 22 files changed, 37 insertions(+), 37 deletions(-) diff --git a/boot-agent-test/pom.xml b/boot-agent-test/pom.xml index d9724f4..54c4e4a 100644 --- a/boot-agent-test/pom.xml +++ b/boot-agent-test/pom.xml @@ -24,7 +24,7 @@ org.netbeans.html pom -1.7.2 +2.0-SNAPSHOT boot-agent-test jar diff --git a/boot-fx/pom.xml b/boot-fx/pom.xml index de03245..25e510f 100644 --- a/boot-fx/pom.xml +++ b/boot-fx/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -1.7.2 +2.0-SNAPSHOT org.netbeans.html net.java.html.boot.fx - 1.7.2 + 2.0-SNAPSHOT FX WebView Bootstrap bundle http://maven.apache.org diff --git a/boot-script/pom.xml b/boot-script/pom.xml index 3ad0ef8..91f62fc 100644 --- a/boot-script/pom.xml +++ b/boot-script/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -1.7.2 +2.0-SNAPSHOT Presenter via javax.script net.java.html.boot.script -1.7.2 +2.0-SNAPSHOT bundle none diff --git a/boot/pom.xml b/boot/pom.xml index 50f728c..19968a5 100644 --- a/boot/pom.xml +++ b/boot/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -1.7.2 +2.0-SNAPSHOT org.netbeans.html net.java.html.boot - 1.7.2 + 2.0-SNAPSHOT bundle Browser Bootstrap http://maven.apache.org diff --git a/browser/pom.xml b/browser/pom.xml index 78a92fd..746c7f9 100644 --- a/browser/pom.xml +++ b/browser/pom.xml @@ -26,7 +26,7 @@ org.netbeans.html pom -1.7.2 +2.0-SNAPSHOT DukeScript Presenter for any Browser diff --git a/context/pom.xml b/context/pom.xml index 413a603..1f1cc29 100644 --- a/context/pom.xml +++ b/context/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -1.7.2 +2.0-SNAPSHOT org.netbeans.html net.java.html - 1.7.2 + 2.0-SNAPSHOT bundle HTML Context http://maven.apache.org diff --git a/ecj-test/pom.xml b/ecj-test/pom.xml index 2c415eb..da8729c 100644 --- a/ecj-test/pom.xml +++ b/ecj-test/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -1.7.2 +2.0-SNAPSHOT org.netbeans.html ecj-test - 1.7.2 + 2.0-SNAPSHOT bundle Testing ecj http://maven.apache.org diff --git a/equinox-agentclass-hook/pom.xml b/equinox-agentclass-hook/pom.xml index d02e9bc..9522247 100644 --- a/equinox-agentclass-hook/pom.xml +++ b/equinox-agentclass-hook/pom.xml @@ -24,7 +24,7 @@ org.netbeans.html pom -1.7.2 +2.0-SNAPSHOT AgentClass Hook for Equinox equinox-agentclass-hook diff --git a/generic/pom.xml b/generic/pom.xml index 75818b7..e7a0064 100644 --- a/generic/pom.xml +++ b/generic/pom.xml @@ -24,13 +24,13 @@ org.netbeans.html pom -1.7.2 +2.0-SNAPSHOT generic DukeScript Generic Presenter bundle -1.7.2 +2.0-SNAPSHOT ${project.parent.basedir} org.netbeans.html.presenters.spi diff --git a/geo/pom.xml b/geo/pom.xml index 27e3c1e..928ece3 100644 --- a/geo/pom.xml +++ b/geo/pom.xml @@ -24,11 +24,11 @@ org.netbeans.html pom -1.7.2 +2.0-SNAPSHOT org.netbeans.html net.java.html.geo - 1.7.2 + 2.0-SNAPSHOT bundle Geolocation API http://maven.apache.org diff --git a/html4j-maven-plugin/pom.xml b/html4j-maven-plugin/pom.xml index 8869431..7e39a80 100644 --- a/html4j-maven-plugin/pom.xml +++ b/html4j-maven-plugin/pom.xml @@ -24,12 +24,12 @@ org.netbeans.html pom -1.7.2 +2.0-SNAPSHOT maven-plugin org.netbeans.html html4j-maven-plugin - 1.7.2 + 2.0-SNAPSHOT Html for
[netbeans-html4j] 01/02: Enabling Jackpot checks to prevent accidental usage of ArrayList & co.
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git commit 6b414cd22b8b3daaf268bacf5564ad609f00b85b Author: Jaroslav Tulach AuthorDate: Thu Jul 15 09:02:58 2021 +0200 Enabling Jackpot checks to prevent accidental usage of ArrayList & co. --- json-tck/pom.xml | 5 +++ .../java/META-INF/upgrade/AvoidCollections.hint| 42 ++ 2 files changed, 47 insertions(+) diff --git a/json-tck/pom.xml b/json-tck/pom.xml index b73c619..f3cecd9 100644 --- a/json-tck/pom.xml +++ b/json-tck/pom.xml @@ -55,6 +55,11 @@ true + + org.apache.netbeans.modules.jackpot30 + jackpot30-maven-plugin + 12.3 + diff --git a/json-tck/src/main/java/META-INF/upgrade/AvoidCollections.hint b/json-tck/src/main/java/META-INF/upgrade/AvoidCollections.hint new file mode 100644 index 000..92d236e --- /dev/null +++ b/json-tck/src/main/java/META-INF/upgrade/AvoidCollections.hint @@ -0,0 +1,42 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +new java.util.ArrayList<>() +=> 'Models.asList() is more lightweight': +net.java.html.json.Models.asList() +;; + +new java.util.ArrayList() +=> 'Models.asList() is more lightweight': +net.java.html.json.Models.asList() +;; + +new java.util.ArrayList<$T>() +=> 'Models.asList() is more lightweight': +net.java.html.json.Models.<$T>asList() +;; + + +java.util.HashSet +=> 'Avoid HashSet': SimpleMap.create() +;; + +java.util.HashMap +=> 'Avoid HashMap': SimpleMap.create() +;; - 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] [Closed] (NETBEANS-5734) JDK-Selection for Glassfish 6.1 is restricted to JDK 1.8
[ https://issues.apache.org/jira/browse/NETBEANS-5734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing closed NETBEANS-5734. -- Fix Version/s: 12.6 Resolution: Fixed Fix was merged to delivery > JDK-Selection for Glassfish 6.1 is restricted to JDK 1.8 > > > Key: NETBEANS-5734 > URL: https://issues.apache.org/jira/browse/NETBEANS-5734 > Project: NetBeans > Issue Type: Bug > Components: serverplugins - GlassFish >Affects Versions: 12.5 >Reporter: S. M. >Assignee: Nicola Ken Barozzi >Priority: Blocker > Labels: pull-request-available > Fix For: 12.5, 12.6 > > Attachments: netbeans_bug-2.png, netbeans_bug-3.png > > Time Spent: 1h > Remaining Estimate: 0h > > When I try to assign a JDK to a Glassfish-6.1-Server the selection is > restricted to JDK 1.8-versions though ther are other JDK's configured in the > Java Platform Manager (e.g. JDK 11). > !netbeans_bug-2.png! > !netbeans_bug-3.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
[netbeans] branch delivery updated: [NETBEANS-5962] Remove default bgcolor for multiline Strings - inherited and illegible on various editor themes.
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 6b2e5c2 [NETBEANS-5962] Remove default bgcolor for multiline Strings - inherited and illegible on various editor themes. new ee088f9 Merge pull request #3297 from neilcsmith-net/netbeans-5962 6b2e5c2 is described below commit 6b2e5c268610ab265892b44ccb645886b4862284 Author: Neil C Smith AuthorDate: Tue Nov 2 17:04:32 2021 + [NETBEANS-5962] Remove default bgcolor for multiline Strings - inherited and illegible on various editor themes. --- .../src/org/netbeans/modules/java/editor/resources/fontsColors.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml b/java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml index 64210da..7c20894 100644 --- a/java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml +++ b/java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml @@ -90,7 +90,7 @@ - +
[netbeans] branch delivery updated: [NETBEANS-6114] Restore automatic constructor completion functionality.
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 46b0623 [NETBEANS-6114] Restore automatic constructor completion functionality. new ca388d6 Merge pull request #3290 from mbien/constructor_completion 46b0623 is described below commit 46b06239fe97fae107ce88b688e38b3141c7b22e Author: Michael Bien AuthorDate: Sun Oct 31 10:36:41 2021 +0100 [NETBEANS-6114] Restore automatic constructor completion functionality. After successful classtype completion, a new auto-completion should appear for constructor selection, without having to press ctrl+space again. Regression since 12.3 --- .../lib/editor/codetemplates/CodeTemplateInsertHandler.java | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ide/editor.codetemplates/src/org/netbeans/lib/editor/codetemplates/CodeTemplateInsertHandler.java b/ide/editor.codetemplates/src/org/netbeans/lib/editor/codetemplates/CodeTemplateInsertHandler.java index 87f794a..d902a87 100644 --- a/ide/editor.codetemplates/src/org/netbeans/lib/editor/codetemplates/CodeTemplateInsertHandler.java +++ b/ide/editor.codetemplates/src/org/netbeans/lib/editor/codetemplates/CodeTemplateInsertHandler.java @@ -226,6 +226,10 @@ public final class CodeTemplateInsertHandler implements TextRegionManagerListene } // Insert the template into document insertTemplate(); + +if (masterParameters.stream().noneMatch(param -> param.isEditable())) { +SwingUtilities.invokeLater(Completion.get()::showCompletion); +} } void checkInsertTextBuilt() { @@ -320,7 +324,7 @@ public final class CodeTemplateInsertHandler implements TextRegionManagerListene CodeTemplateParameterImpl masterImpl = CodeTemplateParameterImpl.get(master); if (CodeTemplateParameter.CURSOR_PARAMETER_NAME.equals(master.getName())) { // Add explicit ${cursor} as last into text sync group to jump to it by TAB as last param -caretTextRegion = masterImpl.textRegion(); +caretTextRegion = masterImpl.textRegion(); } else { textSyncGroup.addTextSync(masterImpl.textRegion().textSync()); } @@ -503,7 +507,7 @@ public final class CodeTemplateInsertHandler implements TextRegionManagerListene } } } - + void release() { synchronized (this) { if (released) { - 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 delivery updated: attempt to make JackpotTrees more robust.
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 2dcead8 attempt to make JackpotTrees more robust. new e6bef73 Merge pull request #3283 from mbien/happytrees 2dcead8 is described below commit 2dcead8dde01037abf983d7632e3143d1e3fee88 Author: Michael Bien AuthorDate: Thu Oct 28 22:50:30 2021 +0200 attempt to make JackpotTrees more robust. - JackpotTrees.createInstance() will match constructors directly (no unknown parameter filling with null anymore) - extracted typesafe factory methods to keep the fragile code in one place and make it hopefully easier to update it in future --- .../modules/java/hints/spiimpl/JackpotTrees.java | 91 +++--- .../modules/java/hints/spiimpl/Utilities.java | 13 +--- 2 files changed, 48 insertions(+), 56 deletions(-) diff --git a/java/spi.java.hints/src/org/netbeans/modules/java/hints/spiimpl/JackpotTrees.java b/java/spi.java.hints/src/org/netbeans/modules/java/hints/spiimpl/JackpotTrees.java index 96d3e00..8515d68 100644 --- a/java/spi.java.hints/src/org/netbeans/modules/java/hints/spiimpl/JackpotTrees.java +++ b/java/spi.java.hints/src/org/netbeans/modules/java/hints/spiimpl/JackpotTrees.java @@ -33,6 +33,7 @@ import com.sun.tools.javac.tree.JCTree.JCExpression; import com.sun.tools.javac.tree.JCTree.JCIdent; import com.sun.tools.javac.tree.JCTree.JCModifiers; import com.sun.tools.javac.tree.JCTree.JCVariableDecl; +import com.sun.tools.javac.tree.JCTree.JCCase; import com.sun.tools.javac.tree.JCTree.Visitor; import com.sun.tools.javac.tree.TreeMaker; import com.sun.tools.javac.util.Context; @@ -40,9 +41,7 @@ import com.sun.tools.javac.util.List; import com.sun.tools.javac.util.Name; import java.lang.reflect.Constructor; import java.lang.reflect.Field; -import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; -import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Map; @@ -61,7 +60,35 @@ import net.bytebuddy.matcher.ElementMatchers; public class JackpotTrees { private static final Map, Class> baseClass2Impl = new HashMap<>(); -public static T createInstance(Context ctx, Class clazz, Name ident, JCIdent jcIdent, Class[] requiredConstructor, Object[] params) { + +// JDK 8-11 +public static JCCase createJCCase(Name ident, JCIdent jcIdent, List stats) { +return createInstance(JCCase.class, ident, jcIdent, +new Class[] {JCExpression.class, List.class}, +new Object[] {jcIdent, stats}); +} + +// JDK 12-17+ +public static JCCase createJCCase(Name ident, JCIdent jcIdent, String caseKind, List labels, List stats, JCTree body) throws ReflectiveOperationException { + +@SuppressWarnings("rawtypes") +Class kindClass = Class.forName("com.sun.source.tree.CaseTree$CaseKind", false, JCCase.class.getClassLoader()); +@SuppressWarnings("unchecked") +Object caseKindValue = Enum.valueOf(kindClass, caseKind); + +return createInstance(JCCase.class, ident, jcIdent, +new Class[] {kindClass, List.class, List.class, JCTree.class}, +new Object[] {caseKindValue, labels, stats, body}); +} + +// JDK 8-17+ +public static JCVariableDecl createJCVariableDecl(Name ident, JCIdent jcIdent, JCModifiers mods, Name param2, JCExpression vartype, JCExpression init, VarSymbol sym) { +return createInstance(JCVariableDecl.class, ident, jcIdent, +new Class[] {JCModifiers.class, Name.class, JCExpression.class, JCExpression.class, VarSymbol.class}, +new Object[] {mods, param2, vartype, init, sym}); +} + +private static T createInstance(Class clazz, Name ident, JCIdent jcIdent, Class[] requiredConstructor, Object[] params) { try { Class fake = baseClass2Impl.get(clazz); @@ -84,37 +111,31 @@ public class JackpotTrees { .getLoaded(); baseClass2Impl.put(clazz, fake); } - -NEXT: for (Constructor c : fake.getDeclaredConstructors()) { -if (c.getParameterCount() < requiredConstructor.length) -continue; -for (int e = 0; e < requiredConstructor.length; e++) { -if (!c.getParameterTypes()[e].equals(requiredConstructor[e])) { -continue NEXT; -} -} -java.util.List instances = new ArrayList<>(); -instances.addAll(Arrays.asList(params)); -for (int i = instances.size(); i < c.getParameterCount(); i++) { -instances.add(null); + +Constructor
[netbeans] branch delivery updated: [NETBEANS-6068] Add back SOURCES_TYPE_JAVA into GroovySources::getGroovySourceGroups
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 6e4a507 [NETBEANS-6068] Add back SOURCES_TYPE_JAVA into GroovySources::getGroovySourceGroups new 2b43656 Merge pull request #3292 from neilcsmith-net/netbeans-6068 6e4a507 is described below commit 6e4a507a7678f23b7f3a10f4dfb81ccab334e935 Author: Neil C Smith AuthorDate: Mon Nov 1 16:03:11 2021 + [NETBEANS-6068] Add back SOURCES_TYPE_JAVA into GroovySources::getGroovySourceGroups This change added as part of [NETBEANS-4975] seems to be a cause of some issues reported in [NETBEANS-6068]. --- .../src/org/netbeans/modules/groovy/support/api/GroovySources.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/groovy/groovy.support/src/org/netbeans/modules/groovy/support/api/GroovySources.java b/groovy/groovy.support/src/org/netbeans/modules/groovy/support/api/GroovySources.java index c25953d..dee1865 100644 --- a/groovy/groovy.support/src/org/netbeans/modules/groovy/support/api/GroovySources.java +++ b/groovy/groovy.support/src/org/netbeans/modules/groovy/support/api/GroovySources.java @@ -22,6 +22,7 @@ package org.netbeans.modules.groovy.support.api; import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import org.netbeans.api.java.project.JavaProjectConstants; import org.netbeans.api.project.SourceGroup; import org.netbeans.api.project.Sources; @@ -60,6 +61,7 @@ public class GroovySources { public static List getGroovySourceGroups(Sources sources) { List result = new ArrayList(); result.addAll(Arrays.asList(sources.getSourceGroups(GroovySources.SOURCES_TYPE_GROOVY))); + result.addAll(Arrays.asList(sources.getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA))); result.addAll(Arrays.asList(sources.getSourceGroups(GroovySources.SOURCES_TYPE_GRAILS))); result.addAll(Arrays.asList(sources.getSourceGroups(GroovySources.SOURCES_TYPE_GRAILS_UNKNOWN))); return result; - 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-5962) flatlaf dark theme does not properly render multiline string
[ https://issues.apache.org/jira/browse/NETBEANS-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-5962: - Labels: pull-request-available (was: ) > flatlaf dark theme does not properly render multiline string > > > Key: NETBEANS-5962 > URL: https://issues.apache.org/jira/browse/NETBEANS-5962 > Project: NetBeans > Issue Type: Improvement > Components: editor - Formatting Indentation >Affects Versions: 12.5 > Environment: Product Version: Apache NetBeans IDE 12.5-beta2 > Java: 17; OpenJDK 64-Bit Server VM 17+35-2724 > Runtime: OpenJDK Runtime Environment 17+35-2724 > System: Linux version 5.11.0-27-generic running on amd64; UTF-8; en_US (nb) > User directory: /home/hom/.netbeans/12.5-beta2 > Cache directory: /home/hom/.cache/netbeans/12.5-beta2 > openjdk version "17" 2021-09-14 > OpenJDK Runtime Environment (build 17+35-2724) > OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing) > Linux twohunderd 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 > UTC 2021 x86_64 x86_64 x86_64 GNU/Linux > Distributor ID: Ubuntu > Description: Ubuntu 20.04.3 LTS > Release: 20.04 > Codename: focal >Reporter: Pieter van den Hombergh >Assignee: Neil C Smith >Priority: Major > Labels: pull-request-available > Fix For: 12.6 > > Attachments: netbeansdarkflatlaf-blockstring.png > > Time Spent: 10m > Remaining Estimate: 0h > > The text in a multiline string is rendered with a light background, even when > the general theme is flatlaf dark. > > See attached imahe -- 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-5962) flatlaf dark theme does not properly render multiline string
[ https://issues.apache.org/jira/browse/NETBEANS-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neil C Smith reassigned NETBEANS-5962: -- Assignee: Neil C Smith (was: Karl Tauber) > flatlaf dark theme does not properly render multiline string > > > Key: NETBEANS-5962 > URL: https://issues.apache.org/jira/browse/NETBEANS-5962 > Project: NetBeans > Issue Type: Improvement > Components: editor - Formatting Indentation >Affects Versions: 12.5 > Environment: Product Version: Apache NetBeans IDE 12.5-beta2 > Java: 17; OpenJDK 64-Bit Server VM 17+35-2724 > Runtime: OpenJDK Runtime Environment 17+35-2724 > System: Linux version 5.11.0-27-generic running on amd64; UTF-8; en_US (nb) > User directory: /home/hom/.netbeans/12.5-beta2 > Cache directory: /home/hom/.cache/netbeans/12.5-beta2 > openjdk version "17" 2021-09-14 > OpenJDK Runtime Environment (build 17+35-2724) > OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing) > Linux twohunderd 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 > UTC 2021 x86_64 x86_64 x86_64 GNU/Linux > Distributor ID: Ubuntu > Description: Ubuntu 20.04.3 LTS > Release: 20.04 > Codename: focal >Reporter: Pieter van den Hombergh >Assignee: Neil C Smith >Priority: Major > Fix For: 12.6 > > Attachments: netbeansdarkflatlaf-blockstring.png > > > The text in a multiline string is rendered with a light background, even when > the general theme is flatlaf dark. > > See attached imahe -- 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-6008) Update FlatLAF to 1.6 as 1.4 has several regressions
[ https://issues.apache.org/jira/browse/NETBEANS-6008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neil C Smith resolved NETBEANS-6008. Resolution: Fixed > Update FlatLAF to 1.6 as 1.4 has several regressions > > > Key: NETBEANS-6008 > URL: https://issues.apache.org/jira/browse/NETBEANS-6008 > Project: NetBeans > Issue Type: Improvement > Components: FlatLaf >Affects Versions: 12.5 >Reporter: Markus Sunela >Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > The current FlatLaf version, 1.4, has several regressions compared to the old > 1.1.2. For example [https://github.com/JFormDesigner/FlatLaf/issues/371] > causes severe problems in our software built on NetBeans platform. > FlatLaf has just released a new version 1.6 that addresses many regressions. > The new version should be used in NetBeans: > [https://github.com/JFormDesigner/FlatLaf/releases/tag/1.6|https://github.com/JFormDesigner/FlatLaf/releases/tag/1.6.]. -- 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-3362) Navigator doesn't show inherited members
[ https://issues.apache.org/jira/browse/NETBEANS-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-3362: - Labels: features pull-request-available (was: features) > Navigator doesn't show inherited members > > > Key: NETBEANS-3362 > URL: https://issues.apache.org/jira/browse/NETBEANS-3362 > Project: NetBeans > Issue Type: Improvement > Components: editor - CSL (API infrastructure), php - Navigation >Affects Versions: 12.0, 11.2, 11.3, 12.1, 12.0.1, 12.2, 12.3 >Reporter: Ricardo Sanz Ante >Assignee: Junichi Yamamoto >Priority: Major > Labels: features, pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > PHP navigator doesn't not show inherited members like methods from parent > classes. This functionality is available for Java. > This is a major issue as PHP code is more and more object-oriented. For > example, Druapl official documentation discourages the use of NetBeans: > "_Note that NetBeans is missing an option to display the inherited methods > and properties from parent Classes and Interfaces which makes it very hard to > use for developing code for Drupal 8 and using another editor/IDE is > recommended_"_._ See > [https://www.drupal.org/docs/develop/development-tools/development-tools-overview#s-integrated-development-environments-ides] > (Netbeans section). > > This bug was declared in the former bugtracker system and is 11 years old: > [https://bz.apache.org/netbeans/show_bug.cgi?id=143879|https://netbeans.org/bugzilla/show_bug.cgi?id=143879] -- 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-6171) GraalSDK ScriptEngine throws ClassCast instead of returning null
Svatopluk Dedic created NETBEANS-6171: - Summary: GraalSDK ScriptEngine throws ClassCast instead of returning null Key: NETBEANS-6171 URL: https://issues.apache.org/jira/browse/NETBEANS-6171 Project: NetBeans Issue Type: Bug Components: ide - Code Affects Versions: 12.5 Reporter: Svatopluk Dedic Fix For: 12.6 My code calls ScriptEngine eng = ... ((Invocable)eng).getInterface(aValue, SomeInterface.class); In case of an incompatible 'aValue', the ScriptEngine throws a ClassCastException, although it should return just null (" null if the requested interface is unavailable"). This behaviour changed after NB 11.3, and is present in NB 12.5 - should be fixed. -- 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-6170) java.mx.project SdkSuiteTest is unstable
Jaroslav Tulach created NETBEANS-6170: - Summary: java.mx.project SdkSuiteTest is unstable Key: NETBEANS-6170 URL: https://issues.apache.org/jira/browse/NETBEANS-6170 Project: NetBeans Issue Type: Bug Components: java - Source Reporter: Jaroslav Tulach Assignee: Dusan Balek There are frequent failures in our gate (like [https://app.travis-ci.com/github/apache/netbeans/jobs/546099463)]. It seems to be random, yet persistent: {code:java} verified 88 java files and 1 non-java files in 2813 ms, overall running for 29 s /data/graal/sdk/src/org.graalvm.nativeimage/src/org/graalvm/nativeimage/Isolate.java: 43: package org.graalvm.nativeimage.c.struct does not exist /data/graal/sdk/src/org.graalvm.nativeimage/src/org/graalvm/nativeimage/Isolate.java: 52: cannot find symbol symbol: class CStruct errors found in /home/travis/build/apache/netbeans/java/java.mx.project/build/test/unit/data/graal/sdk/src/org.graalvm.nativeimage/src/org/graalvm/nativeimage/Isolate.java@8b3faa1d:7ac780f2 Classpath: cp#1: /home/travis/build/apache/netbeans/java/java.mx.project/build/test/unit/data/graal/sdk/mxbuild/org.graalvm.options/bin@b1d88340:2590c44a cp#2: /home/travis/build/apache/netbeans/java/java.mx.project/build/test/unit/data/graal/sdk/mxbuild/org.graalvm.word/bin@426c9c36:775534f1{code} Try locally on JDK-8: {code:java} X=0; while ant -f java/java.mx.project test; do X=`expr $X + 1`; echo Round $X; sleep 3; done; ant -f java/java.mx.project test-generate-html; echo Fail at $X round{code} it has just fallen for me on 3rd round. Originally we thought it is an error in the way classpath is computed, but it seems that symbols from the same package aren't found - e.g. it is likely a bug in Java source. -- 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