[jira] [Updated] (NETBEANS-3698) Incompatibility between NetBeans 10.0+ and JaCoCo 0.8.3+

2022-09-22 Thread Andreas Sewe (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Sewe updated NETBEANS-3698:
---
Affects Version/s: 14

> Incompatibility between NetBeans 10.0+ and JaCoCo 0.8.3+
> 
>
> Key: NETBEANS-3698
> URL: https://issues.apache.org/jira/browse/NETBEANS-3698
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 10.0, 11.0, 11.1, 11.2, 14
>Reporter: Andreas Sewe
>Priority: Major
> Attachments: bug.zip
>
>
> Building a NetBeans module with Maven and using the {{jacoco-maven-plugin}} 
> 0.8.3 or later (current version is 0.8.5, required for Java 13 compatibility) 
> halts a *Java 8 JVM* during test execution with the {{maven-surefire-plugin}}.
> The attached project demonstrates this.
> {noformat}
> $ mvn clean install -DnetbeansVersion=RELEASE100 -DjacocoVersion=0.8.3
> …
> [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ bug ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 
> 1. See FAQ web page and the dump file 
> /home/sewe/NetBeansProjects/bug/target/surefire-reports/2020-01-15T09-22-15_152-jvmRun1.dumpstream
> [INFO] 
> [INFO] Results:
> [INFO] 
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO] 
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  3.519 s
> [INFO] Finished at: 2020-01-15T09:22:15+01:00
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) 
> on project bug: There are test failures.
> [ERROR] 
> [ERROR] Please refer to 
> /home/sewe/NetBeansProjects/bug/target/surefire-reports for the individual 
> test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump, 
> [date]-jvmRun[N].dump and [date].dumpstream.
> [ERROR] The forked VM terminated without properly saying goodbye. VM crash or 
> System.exit called?
> …
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 134
> …
> $ cat target/surefire-reports/*.dumpstream
> # Created at 2020-01-15T09:22:15.624
> Exception in thread "main" java.lang.reflect.InvocationTargetException
> # Created at 2020-01-15T09:22:15.626
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> # Created at 2020-01-15T09:22:15.627
>   at java.lang.reflect.Method.invoke(Method.java:498)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
> # Created at 2020-01-15T09:22:15.627
> Caused by: java.lang.SecurityException: Prohibited package name: java.lang
> # Created at 2020-01-15T09:22:15.628
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:662)
> # Created at 2020-01-15T09:22:15.628
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:761)
> # Created at 2020-01-15T09:22:15.628
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> # Created at 2020-01-15T09:22:15.628
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
> # Created at 2020-01-15T09:22:15.629
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
> # Created at 2020-01-15T09:22:15.629
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
> # Created at 2020-01-15T09:22:15.629
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
> # Created at 2020-01-15T09:22:15.629
>   at java.security.AccessController.doPrivileged(Native Method)
> # Created at 2020-01-15T09:22:15.630
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
> # Created at 2020-01-15T09:22:15.630
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> # Created at 2020-01-15T09:22:15.630
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
> # Created at 2020-01-15T09:22:15.630
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> # Created at 2020-01-15T09:22:15.630
>   at java.l

[jira] [Commented] (NETBEANS-3698) Incompatibility between NetBeans 10.0+ and JaCoCo 0.8.3+

2022-09-22 Thread Andreas Sewe (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17608134#comment-17608134
 ] 

Andreas Sewe commented on NETBEANS-3698:


FYI, the problem got resolved with NetBeans 15 (it still exists in NetBeans 14 
- which Jira still lists as Unreleased, BTW).

> Incompatibility between NetBeans 10.0+ and JaCoCo 0.8.3+
> 
>
> Key: NETBEANS-3698
> URL: https://issues.apache.org/jira/browse/NETBEANS-3698
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 10.0, 11.0, 11.1, 11.2, 14
>Reporter: Andreas Sewe
>Priority: Major
> Attachments: bug.zip
>
>
> Building a NetBeans module with Maven and using the {{jacoco-maven-plugin}} 
> 0.8.3 or later (current version is 0.8.5, required for Java 13 compatibility) 
> halts a *Java 8 JVM* during test execution with the {{maven-surefire-plugin}}.
> The attached project demonstrates this.
> {noformat}
> $ mvn clean install -DnetbeansVersion=RELEASE100 -DjacocoVersion=0.8.3
> …
> [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ bug ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 
> 1. See FAQ web page and the dump file 
> /home/sewe/NetBeansProjects/bug/target/surefire-reports/2020-01-15T09-22-15_152-jvmRun1.dumpstream
> [INFO] 
> [INFO] Results:
> [INFO] 
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO] 
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  3.519 s
> [INFO] Finished at: 2020-01-15T09:22:15+01:00
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) 
> on project bug: There are test failures.
> [ERROR] 
> [ERROR] Please refer to 
> /home/sewe/NetBeansProjects/bug/target/surefire-reports for the individual 
> test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump, 
> [date]-jvmRun[N].dump and [date].dumpstream.
> [ERROR] The forked VM terminated without properly saying goodbye. VM crash or 
> System.exit called?
> …
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 134
> …
> $ cat target/surefire-reports/*.dumpstream
> # Created at 2020-01-15T09:22:15.624
> Exception in thread "main" java.lang.reflect.InvocationTargetException
> # Created at 2020-01-15T09:22:15.626
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> # Created at 2020-01-15T09:22:15.627
>   at java.lang.reflect.Method.invoke(Method.java:498)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
> # Created at 2020-01-15T09:22:15.627
> Caused by: java.lang.SecurityException: Prohibited package name: java.lang
> # Created at 2020-01-15T09:22:15.628
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:662)
> # Created at 2020-01-15T09:22:15.628
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:761)
> # Created at 2020-01-15T09:22:15.628
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> # Created at 2020-01-15T09:22:15.628
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
> # Created at 2020-01-15T09:22:15.629
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
> # Created at 2020-01-15T09:22:15.629
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
> # Created at 2020-01-15T09:22:15.629
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
> # Created at 2020-01-15T09:22:15.629
>   at java.security.AccessController.doPrivileged(Native Method)
> # Created at 2020-01-15T09:22:15.630
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
> # Created at 2020-01-15T09:22:15.630
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> # Created at 2020-01-15T09:22:15.630
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
> 

[netbeans] branch master updated: The CPPLight debugger works on aarch64.

2022-09-22 Thread entl
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 98957f72c9 The CPPLight debugger works on aarch64.
98957f72c9 is described below

commit 98957f72c993a3b801ce77ca83d9bd73c722b5cc
Author: Martin Entlicher 
AuthorDate: Fri Jul 1 21:08:10 2022 +0200

The CPPLight debugger works on aarch64.
---
 .../modules/cpplite/debugger/CPPLiteDebugger.java  |   2 +-
 ide/dlight.nativeexecution/external/binaries-list  |   2 +-
 ...hlp-1.0-license.txt => exechlp-1.2-license.txt} |   2 +-
 .../nbproject/project.properties   | 143 +++--
 .../release/bin/nativeexecution/hostinfo.sh|   4 +-
 .../modules/nativeexecution/api/HostInfo.java  |   1 +
 .../nativeexecution/api/pty/PtySupport.java|   3 +-
 .../api/util/MacroExpanderFactory.java |   2 +-
 .../nativeexecution/api/util/UnbufferSupport.java  |   5 +-
 ide/dlight.nativeexecution/tools/Makefile  |   1 +
 ide/dlight.nativeexecution/tools/killall/Makefile  |   2 +
 ide/dlight.nativeexecution/tools/pty/Makefile  |   1 +
 ide/dlight.nativeexecution/tools/unbuffer/Makefile |   2 +
 13 files changed, 93 insertions(+), 77 deletions(-)

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 2f143c6a14..7435261f83 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
@@ -388,7 +388,7 @@ public final class CPPLiteDebugger {
 return ;
 }
 breakpointsHandler.dispose();
-if (sendExit) {
+if (sendExit && proxy != null) {
 proxy.send(new Command("-gdb-exit"));
 }
 Utils.unmarkCurrent ();
diff --git a/ide/dlight.nativeexecution/external/binaries-list 
b/ide/dlight.nativeexecution/external/binaries-list
index f33e33e755..e2eb41e8c8 100644
--- a/ide/dlight.nativeexecution/external/binaries-list
+++ b/ide/dlight.nativeexecution/external/binaries-list
@@ -14,4 +14,4 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-89E5CF21801B51580FF00D6CC1209676EDE420FA exechlp-1.0.zip
+4B4DCA62F8C4A1954AE6D286955C36CC50B8CC3A exechlp-1.2.zip
diff --git a/ide/dlight.nativeexecution/external/exechlp-1.0-license.txt 
b/ide/dlight.nativeexecution/external/exechlp-1.2-license.txt
similarity index 99%
rename from ide/dlight.nativeexecution/external/exechlp-1.0-license.txt
rename to ide/dlight.nativeexecution/external/exechlp-1.2-license.txt
index b71517ad3a..6235148193 100644
--- a/ide/dlight.nativeexecution/external/exechlp-1.0-license.txt
+++ b/ide/dlight.nativeexecution/external/exechlp-1.2-license.txt
@@ -1,6 +1,6 @@
 Name: exechlp
 Description: binaries that used by dlight.nativeexecution module 
(process_start, pty, pty_open - used for dealing with pseude terminals; 
sigqueue, killall - sending signals to processes; stat - getting detailed file 
information; unbuffer.so - used when unbuffering is required)
-Version: 1.0
+Version: 1.2
 License: CDDL-1.0
 Origin: NetBeans
 Comment: needed for dlight.nativeexecution module to provide system-dependent 
services
diff --git a/ide/dlight.nativeexecution/nbproject/project.properties 
b/ide/dlight.nativeexecution/nbproject/project.properties
index 350e9d08b1..5562ead990 100644
--- a/ide/dlight.nativeexecution/nbproject/project.properties
+++ b/ide/dlight.nativeexecution/nbproject/project.properties
@@ -40,72 +40,79 @@ test.config.stableBTD.excludes=\
 **/TerminalConfigurationProviderTest.class,\
 **/WindowsSupportTest.class
 
-release.external/exechlp-1.0.zip!/Linux-x86/process_start   = 
bin/nativeexecution/Linux-x86/process_start
-release.external/exechlp-1.0.zip!/Linux-x86/pty = 
bin/nativeexecution/Linux-x86/pty
-release.external/exechlp-1.0.zip!/Linux-x86/pty_open= 
bin/nativeexecution/Linux-x86/pty_open
-release.external/exechlp-1.0.zip!/Linux-x86/sigqueue= 
bin/nativeexecution/Linux-x86/sigqueue
-release.external/exechlp-1.0.zip!/Linux-x86/stat= 
bin/nativeexecution/Linux-x86/stat
-release.external/exechlp-1.0.zip!/Linux-x86/unbuffer.so = 
bin/nativeexecution/Linux-x86/unbuffer.so
-release.external/exechlp-1.0.zip!/Linux-x86/killall = 
bin/nativeexecution/Linux-x86/killall
-release.external/exechlp-1.0.zip!/Linux-x86_64/process_start= 
bin/nativeexecution/Linux-x86_64/process_start
-release.external/exechlp-1.0.zip!/Linux-x86_64/pty  = 
bin/nativeexecution/Linux-x86_64/pty
-release.external/exechlp-1.0.zip!/Linux-x86_64/pty_open  

[jira] [Commented] (NETBEANS-3698) Incompatibility between NetBeans 10.0+ and JaCoCo 0.8.3+

2022-09-22 Thread Eric Barboni (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17608168#comment-17608168
 ] 

Eric Barboni commented on NETBEANS-3698:


Well Jira is a bit out of date now, we are more on github issue and we have the 
release over there:

https://github.com/apache/netbeans/releases

> Incompatibility between NetBeans 10.0+ and JaCoCo 0.8.3+
> 
>
> Key: NETBEANS-3698
> URL: https://issues.apache.org/jira/browse/NETBEANS-3698
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 10.0, 11.0, 11.1, 11.2, 14
>Reporter: Andreas Sewe
>Priority: Major
> Attachments: bug.zip
>
>
> Building a NetBeans module with Maven and using the {{jacoco-maven-plugin}} 
> 0.8.3 or later (current version is 0.8.5, required for Java 13 compatibility) 
> halts a *Java 8 JVM* during test execution with the {{maven-surefire-plugin}}.
> The attached project demonstrates this.
> {noformat}
> $ mvn clean install -DnetbeansVersion=RELEASE100 -DjacocoVersion=0.8.3
> …
> [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ bug ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 
> 1. See FAQ web page and the dump file 
> /home/sewe/NetBeansProjects/bug/target/surefire-reports/2020-01-15T09-22-15_152-jvmRun1.dumpstream
> [INFO] 
> [INFO] Results:
> [INFO] 
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO] 
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  3.519 s
> [INFO] Finished at: 2020-01-15T09:22:15+01:00
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) 
> on project bug: There are test failures.
> [ERROR] 
> [ERROR] Please refer to 
> /home/sewe/NetBeansProjects/bug/target/surefire-reports for the individual 
> test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump, 
> [date]-jvmRun[N].dump and [date].dumpstream.
> [ERROR] The forked VM terminated without properly saying goodbye. VM crash or 
> System.exit called?
> …
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 134
> …
> $ cat target/surefire-reports/*.dumpstream
> # Created at 2020-01-15T09:22:15.624
> Exception in thread "main" java.lang.reflect.InvocationTargetException
> # Created at 2020-01-15T09:22:15.626
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> # Created at 2020-01-15T09:22:15.627
>   at java.lang.reflect.Method.invoke(Method.java:498)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
> # Created at 2020-01-15T09:22:15.627
> Caused by: java.lang.SecurityException: Prohibited package name: java.lang
> # Created at 2020-01-15T09:22:15.628
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:662)
> # Created at 2020-01-15T09:22:15.628
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:761)
> # Created at 2020-01-15T09:22:15.628
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> # Created at 2020-01-15T09:22:15.628
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
> # Created at 2020-01-15T09:22:15.629
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
> # Created at 2020-01-15T09:22:15.629
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
> # Created at 2020-01-15T09:22:15.629
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
> # Created at 2020-01-15T09:22:15.629
>   at java.security.AccessController.doPrivileged(Native Method)
> # Created at 2020-01-15T09:22:15.630
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
> # Created at 2020-01-15T09:22:15.630
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> # Created at 2020-01-15T09:22:15.630
>   at sun.misc.Launcher$AppClassLoader.loadClass(L

[jira] [Resolved] (NETBEANS-3698) Incompatibility between NetBeans 10.0+ and JaCoCo 0.8.3+

2022-09-22 Thread Eric Barboni (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Barboni resolved NETBEANS-3698.

Fix Version/s: 15
   Resolution: Fixed

> Incompatibility between NetBeans 10.0+ and JaCoCo 0.8.3+
> 
>
> Key: NETBEANS-3698
> URL: https://issues.apache.org/jira/browse/NETBEANS-3698
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 10.0, 11.0, 11.1, 11.2, 14
>Reporter: Andreas Sewe
>Priority: Major
> Fix For: 15
>
> Attachments: bug.zip
>
>
> Building a NetBeans module with Maven and using the {{jacoco-maven-plugin}} 
> 0.8.3 or later (current version is 0.8.5, required for Java 13 compatibility) 
> halts a *Java 8 JVM* during test execution with the {{maven-surefire-plugin}}.
> The attached project demonstrates this.
> {noformat}
> $ mvn clean install -DnetbeansVersion=RELEASE100 -DjacocoVersion=0.8.3
> …
> [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ bug ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 
> 1. See FAQ web page and the dump file 
> /home/sewe/NetBeansProjects/bug/target/surefire-reports/2020-01-15T09-22-15_152-jvmRun1.dumpstream
> [INFO] 
> [INFO] Results:
> [INFO] 
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO] 
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time:  3.519 s
> [INFO] Finished at: 2020-01-15T09:22:15+01:00
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) 
> on project bug: There are test failures.
> [ERROR] 
> [ERROR] Please refer to 
> /home/sewe/NetBeansProjects/bug/target/surefire-reports for the individual 
> test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump, 
> [date]-jvmRun[N].dump and [date].dumpstream.
> [ERROR] The forked VM terminated without properly saying goodbye. VM crash or 
> System.exit called?
> …
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 134
> …
> $ cat target/surefire-reports/*.dumpstream
> # Created at 2020-01-15T09:22:15.624
> Exception in thread "main" java.lang.reflect.InvocationTargetException
> # Created at 2020-01-15T09:22:15.626
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> # Created at 2020-01-15T09:22:15.627
>   at java.lang.reflect.Method.invoke(Method.java:498)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
> # Created at 2020-01-15T09:22:15.627
>   at 
> sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
> # Created at 2020-01-15T09:22:15.627
> Caused by: java.lang.SecurityException: Prohibited package name: java.lang
> # Created at 2020-01-15T09:22:15.628
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:662)
> # Created at 2020-01-15T09:22:15.628
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:761)
> # Created at 2020-01-15T09:22:15.628
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> # Created at 2020-01-15T09:22:15.628
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
> # Created at 2020-01-15T09:22:15.629
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
> # Created at 2020-01-15T09:22:15.629
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
> # Created at 2020-01-15T09:22:15.629
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
> # Created at 2020-01-15T09:22:15.629
>   at java.security.AccessController.doPrivileged(Native Method)
> # Created at 2020-01-15T09:22:15.630
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
> # Created at 2020-01-15T09:22:15.630
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> # Created at 2020-01-15T09:22:15.630
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
> # Created at 2020-01-15T09:22:15.630
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> # C

[netbeans] branch master updated: Don't add space with implicit final modifier in try with resources formatting.

2022-09-22 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

neilcsmith 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 8f536817b5 Don't add space with implicit final modifier in try with 
resources formatting.
 new c564ee6df2 Merge pull request #4648 from neilcsmith-net/gh3720
8f536817b5 is described below

commit 8f536817b5ebc19c4844f8819344b498a6f334c6
Author: Neil C Smith 
AuthorDate: Sat Sep 17 18:01:45 2022 +0100

Don't add space with implicit final modifier in try with resources 
formatting.
---
 .../modules/java/source/save/Reformatter.java  |  2 +-
 .../modules/java/source/save/FormatingTest.java| 55 ++
 2 files changed, 56 insertions(+), 1 deletion(-)

diff --git 
a/java/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java
 
b/java/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java
index 35b1f39032..941da1c039 100644
--- 
a/java/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java
+++ 
b/java/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java
@@ -1151,7 +1151,7 @@ public class Reformatter implements ReformatTask {
 newline();
 else
 space();
-} else {
+} else if (sp.getStartPosition(root, mods) != 
sp.getStartPosition(root, node.getType())) {
 space();
 }
 } else if (afterAnnotation) {
diff --git 
a/java/java.source.base/test/unit/src/org/netbeans/modules/java/source/save/FormatingTest.java
 
b/java/java.source.base/test/unit/src/org/netbeans/modules/java/source/save/FormatingTest.java
index a55ea973d0..a7b245a078 100644
--- 
a/java/java.source.base/test/unit/src/org/netbeans/modules/java/source/save/FormatingTest.java
+++ 
b/java/java.source.base/test/unit/src/org/netbeans/modules/java/source/save/FormatingTest.java
@@ -6099,6 +6099,61 @@ public class FormatingTest extends NbTestCase {
 reformat(doc, content, golden);
 }
 
+public void testTryWithResources() throws Exception {
+testFile = new File(getWorkDir(), "Test.java");
+TestUtilities.copyStringToFile(testFile, "");
+FileObject testSourceFO = FileUtil.toFileObject(testFile);
+DataObject testSourceDO = DataObject.find(testSourceFO);
+EditorCookie ec = (EditorCookie) 
testSourceDO.getCookie(EditorCookie.class);
+final Document doc = ec.openDocument();
+doc.putProperty(Language.class, JavaTokenId.language());
+
+String content
+= "package hierbas.del.litoral;\n\n"
++ "public class Test {\n\n"
++ "public static void main(String[] args) {\n"
++ "try (PrintStream out = System.out) {\n"
++ "System.out.println(\"TEST\");\n"
++ "} catch (Exception e) {\n"
++ "System.out.println(\"CATCH\");\n"
++ "} finally {\n"
++ "System.out.println(\"FINALLY\");\n"
++ "}\n"
++ "}\n"
++ "}\n";
+String golden
+= "package hierbas.del.litoral;\n\n"
++ "public class Test {\n\n"
++ "public static void main(String[] args) {\n"
++ "try (PrintStream out = System.out) {\n"
++ "System.out.println(\"TEST\");\n"
++ "} catch (Exception e) {\n"
++ "System.out.println(\"CATCH\");\n"
++ "} finally {\n"
++ "System.out.println(\"FINALLY\");\n"
++ "}\n"
++ "}\n"
++ "}\n";
+reformat(doc, content, golden);
+
+content = "package hierbas.del.litoral;\n\n"
++ "public class Test {\n\n"
++ "public static void main(String[] args) {\n"
++ "try ( final   PrintStream  out = System.out) {\n"
++ "System.out.println(\"TEST\");\n"
++ "}\n"
++ "}\n"
++ "}\n";
+golden = "package hierbas.del.litoral;\n\n"
++ "public class Test {\n\n"
++ "public static void main(String[] args) {\n"
++ "try (final PrintStream out = System.out) {\n"
++ "System.out.println(\"TEST\");\n"
++ "}\n"
++ "}\n"
++ "}\n";
+reformat(doc, content, golden);
+}
 
 public void testSynchronizedBlockAfterFor() throws Except

[netbeans-webskin] branch master updated: fix date and use artefact name

2022-09-22 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-webskin.git


The following commit(s) were added to refs/heads/master by this push:
 new 2d70678  fix date and use artefact name
2d70678 is described below

commit 2d7067808401fa8aaf89cc0540ece76ec17cea12
Author: Eric Barboni 
AuthorDate: Thu Sep 22 12:25:11 2022 +0200

fix date and use artefact name
---
 src/main/resources/META-INF/maven/site.vm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/META-INF/maven/site.vm 
b/src/main/resources/META-INF/maven/site.vm
index da52471..f0302d6 100644
--- a/src/main/resources/META-INF/maven/site.vm
+++ b/src/main/resources/META-INF/maven/site.vm
@@ -47,7 +47,7 @@
 #* *##if ($project.artifactId == 'nb-shared')
  Shared 
 #* *##else
- Shared 
+ Shared 
 #* *##end
 #* *##if ($project.artifactId == 'utilities-parent')
  Parent 
@@ -90,7 +90,7 @@ $bodyContent
 
 
 
-Copyright © 2017-2019 https://www.apache.org";>The 
Apache Software Foundation.
+Copyright © 2017-2022 https://www.apache.org";>The 
Apache Software Foundation.
 Licensed under the Apache https://www.apache.org/licenses/";>license, version 2.0
 
 Apache, Apache NetBeans, NetBeans, the Apache feather logo and 
the Apache NetBeans logo are trademarks of https://www.apache.org";>The 
Apache Software Foundation.


-
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-webskin] 01/01: Merge pull request #5 from apache/dependabot/maven/master/org.apache.maven.plugins-maven-site-plugin-3.12.1

2022-09-22 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-webskin.git

commit 59ff826585d97c7570a1b4ddab3bafd67190d919
Merge: 2d70678 f028ffb
Author: Eric Barboni 
AuthorDate: Thu Sep 22 12:25:24 2022 +0200

Merge pull request #5 from 
apache/dependabot/maven/master/org.apache.maven.plugins-maven-site-plugin-3.12.1

Bump maven-site-plugin from 3.12.0 to 3.12.1

 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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-webskin] branch master updated (2d70678 -> 59ff826)

2022-09-22 Thread skygo
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-webskin.git


from 2d70678  fix date and use artefact name
 add f028ffb  Bump maven-site-plugin from 3.12.0 to 3.12.1
 new 59ff826  Merge pull request #5 from 
apache/dependabot/maven/master/org.apache.maven.plugins-maven-site-plugin-3.12.1

The 1 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:
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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-webskin] branch master updated (59ff826 -> 7b8a6d4)

2022-09-22 Thread skygo
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-webskin.git


from 59ff826  Merge pull request #5 from 
apache/dependabot/maven/master/org.apache.maven.plugins-maven-site-plugin-3.12.1
 add c0f193b  Bump utilities-parent from 1 to 2
 new 7b8a6d4  Merge pull request #4 from 
apache/dependabot/maven/master/org.apache.netbeans.utilities-utilities-parent-2

The 1 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:
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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-webskin] 01/01: Merge pull request #4 from apache/dependabot/maven/master/org.apache.netbeans.utilities-utilities-parent-2

2022-09-22 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-webskin.git

commit 7b8a6d4fb9b6d9144dcd576bb50e88c6458cdcd0
Merge: 59ff826 c0f193b
Author: Eric Barboni 
AuthorDate: Thu Sep 22 12:25:33 2022 +0200

Merge pull request #4 from 
apache/dependabot/maven/master/org.apache.netbeans.utilities-utilities-parent-2

Bump utilities-parent from 1 to 2

 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



-
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-jenkins-lib] branch master updated: test zip by sh

2022-09-22 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new e6354c9  test zip by sh
e6354c9 is described below

commit e6354c943a48ff2c6c594e28df41d65c2d87fc78
Author: Eric Barboni 
AuthorDate: Thu Sep 22 18:30:51 2022 +0200

test zip by sh
---
 vars/asfStandardBuild.groovy | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/vars/asfStandardBuild.groovy b/vars/asfStandardBuild.groovy
index 1406c26..d2d3160 100644
--- a/vars/asfStandardBuild.groovy
+++ b/vars/asfStandardBuild.groovy
@@ -35,8 +35,8 @@ def call(Map params = [:]) {
 jdk = 'jdk_11_latest'
 }
 // use the cmdLine parameter otherwise default depending on current branch
-def cmdline = params.containsKey('cmdline') ? params.cmdline : 
(env.BRANCH_NAME == 'master'?"clean deploy site:jar":"clean install")
-def mvnName = params.containsKey('mvnName') ? params.mvnName : 
'maven_3.5.4'
+def cmdline = params.containsKey('cmdline') ? params.cmdline : 
(env.BRANCH_NAME == 'master'?"clean deploy site:site site:stage":"clean 
install")
+def mvnName = params.containsKey('mvnName') ? params.mvnName : 
'maven_3_latest'
 def xvfb = params.containsKey('xvfb') ? true : false
 
 def defaultPublishers = [artifactsPublisher(disabled: false), 
junitPublisher(ignoreAttachments: false, disabled: false),
@@ -131,7 +131,7 @@ def mavenBuild(jdk, cmdline, mvnName, publishers) {
 mavenLocalRepo: localRepo) {
 // Some common Maven command line + provided command line
 sh "mvn -V -B -U -e -DskipBrowserTests 
-Dmaven.test.failure.ignore=true $cmdline "
-   sh "mv target/*-site.jar WEBSITE.zip"
+   sh "cd target/staging; zip ../../WEBSITE.zip ."
 }
 archiveArtifacts 'WEBSITE.zip'
 }


-
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-jenkins-lib] branch master updated: use staging and zip

2022-09-22 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new 4555ee4  use staging and zip
4555ee4 is described below

commit 4555ee40d1fa2709d94dda9b84005fa731011cf6
Author: Eric Barboni 
AuthorDate: Thu Sep 22 18:40:52 2022 +0200

use staging and zip
---
 vars/asfStandardUtilitiesBuild.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/asfStandardUtilitiesBuild.groovy 
b/vars/asfStandardUtilitiesBuild.groovy
index 02bd0ef..f95dfef 100644
--- a/vars/asfStandardUtilitiesBuild.groovy
+++ b/vars/asfStandardUtilitiesBuild.groovy
@@ -32,7 +32,7 @@ def call(Map params = [:]) {
 // jdk 8 is baseline for maven be sure to maintain
 def jdk = params.containsKey('jdk') ? params.jdk : 'jdk_1.8_latest'
 // use the cmdLine parameter otherwise default depending on current branch
-def cmdline = params.containsKey('cmdline') ? params.cmdline : 
(env.BRANCH_NAME == 'master'?"clean deploy site:jar":"clean install")
+def cmdline = params.containsKey('cmdline') ? params.cmdline : 
(env.BRANCH_NAME == 'master'?"clean deploy site:site site:stage":"clean 
install")
 def mvnName = params.containsKey('mvnName') ? params.mvnName : 
'maven_3_latest'
 def xvfb = params.containsKey('xvfb') ? true : false
 
@@ -125,7 +125,7 @@ def mavenBuild(jdk, cmdline, mvnName, publishers,archive) {
 mavenLocalRepo: localRepo) {
 // Some common Maven command line + provided command line
 sh "mvn -V -B -U -e -DskipBrowserTests 
-Dmaven.test.failure.ignore=true $cmdline "
-   sh "mv target/*-site.jar WEBSITE.zip"
+   sh "cd target/staging; zip ../../WEBSITE.zip ."
 }
 if (archive) {
archiveArtifacts 'WEBSITE.zip'


-
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-parent] branch master updated: placeholder for site

2022-09-22 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-parent.git


The following commit(s) were added to refs/heads/master by this push:
 new 12e74ab  placeholder for site
12e74ab is described below

commit 12e74abb89a4e1a74362b49430c0369bb48aec20
Author: Eric Barboni 
AuthorDate: Thu Sep 22 18:48:00 2022 +0200

placeholder for site
---
 pom.xml | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 6c8e4a3..91ab0a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,7 +43,12 @@ under the License.
 repo
 
 
-
+
+
+netbeans.bits
+https://bits.netbeans.org/mavenutilities/netbeans-parent
+
+
 
 
 apachenetbeansdev


-
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-jenkins-lib] branch master updated: test zip pipeline

2022-09-22 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new 477194b  test zip pipeline
477194b is described below

commit 477194b91c0e0518a4c2954e5db3110598b4a0eb
Author: Eric Barboni 
AuthorDate: Thu Sep 22 19:10:57 2022 +0200

test zip pipeline
---
 vars/asfStandardUtilitiesBuild.groovy | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vars/asfStandardUtilitiesBuild.groovy 
b/vars/asfStandardUtilitiesBuild.groovy
index f95dfef..a2122c8 100644
--- a/vars/asfStandardUtilitiesBuild.groovy
+++ b/vars/asfStandardUtilitiesBuild.groovy
@@ -125,9 +125,10 @@ def mavenBuild(jdk, cmdline, mvnName, publishers,archive) {
 mavenLocalRepo: localRepo) {
 // Some common Maven command line + provided command line
 sh "mvn -V -B -U -e -DskipBrowserTests 
-Dmaven.test.failure.ignore=true $cmdline "
-   sh "cd target/staging; zip ../../WEBSITE.zip ."
+   //sh "cd target/staging; zip ../../WEBSITE.zip ."
 }
 if (archive) {
+   zip zipFile:'WEBSITE.zip' dir:'./target/staging' 
archiveArtifacts 'WEBSITE.zip'
 }
 }


-
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-jenkins-lib] branch master updated: typo

2022-09-22 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new e75339c  typo
e75339c is described below

commit e75339c8648c34b8e45aaa5547b91cfe7579
Author: Eric Barboni 
AuthorDate: Thu Sep 22 19:12:03 2022 +0200

typo
---
 vars/asfStandardUtilitiesBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/asfStandardUtilitiesBuild.groovy 
b/vars/asfStandardUtilitiesBuild.groovy
index a2122c8..1fedd3e 100644
--- a/vars/asfStandardUtilitiesBuild.groovy
+++ b/vars/asfStandardUtilitiesBuild.groovy
@@ -128,7 +128,7 @@ def mavenBuild(jdk, cmdline, mvnName, publishers,archive) {
//sh "cd target/staging; zip ../../WEBSITE.zip ."
 }
 if (archive) {
-   zip zipFile:'WEBSITE.zip' dir:'./target/staging' 
+   zip zipFile:'WEBSITE.zip', dir:'./target/staging' 
archiveArtifacts 'WEBSITE.zip'
 }
 }


-
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-jenkins-lib] branch master updated: allow overwrite

2022-09-22 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new 3f62da0  allow overwrite
3f62da0 is described below

commit 3f62da028097f2af6e60c37a2b276e27cb77e5c2
Author: Eric Barboni 
AuthorDate: Thu Sep 22 19:13:39 2022 +0200

allow overwrite
---
 vars/asfStandardUtilitiesBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/asfStandardUtilitiesBuild.groovy 
b/vars/asfStandardUtilitiesBuild.groovy
index 1fedd3e..c2f9b7e 100644
--- a/vars/asfStandardUtilitiesBuild.groovy
+++ b/vars/asfStandardUtilitiesBuild.groovy
@@ -128,7 +128,7 @@ def mavenBuild(jdk, cmdline, mvnName, publishers,archive) {
//sh "cd target/staging; zip ../../WEBSITE.zip ."
 }
 if (archive) {
-   zip zipFile:'WEBSITE.zip', dir:'./target/staging' 
+   zip zipFile:'WEBSITE.zip', dir:'./target/staging', overwrite: true
archiveArtifacts 'WEBSITE.zip'
 }
 }


-
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-jenkins-lib] branch master updated: more jdk to test

2022-09-22 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
 new f3a0e02  more jdk to test
f3a0e02 is described below

commit f3a0e02de10dc2de99d64cfef5a2bad526ce49f2
Author: Eric Barboni 
AuthorDate: Thu Sep 22 19:19:06 2022 +0200

more jdk to test
---
 vars/asfStandardUtilitiesBuild.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/asfStandardUtilitiesBuild.groovy 
b/vars/asfStandardUtilitiesBuild.groovy
index c2f9b7e..d380ea8 100644
--- a/vars/asfStandardUtilitiesBuild.groovy
+++ b/vars/asfStandardUtilitiesBuild.groovy
@@ -62,11 +62,11 @@ def call(Map params = [:]) {
 options { timeout(time: 120, unit: 'MINUTES') }   
 steps{
script {
-   def jdklist = 
['jdk_11_latest','jdk_17_latest','jdk_18_latest']
+   def jdklist = 
['jdk_11_latest','jdk_17_latest','jdk_18_latest','jdk_19_latest']
for (ajdk in jdklist) {
stage("build on $ajdk") {
// do not deploy for recent jdk
-   mavenBuild( ajdk, 'clean install site:jar', 
mvnName, publishers,false)
+   mavenBuild( ajdk, 'clean install site:site 
site:stage', mvnName, publishers,false)
}
}
}


-
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: PHP: Fixes the NPE error that occurs when you change the existing visibility declaration of a class property or method when you press Enter or click it in the autocom

2022-09-22 Thread mbien
This is an automated email from the ASF dual-hosted git repository.

mbien 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 b332edd0f7 PHP: Fixes the NPE error that occurs when you change the 
existing visibility declaration of a class property or method when you press 
Enter or click it in the autocomplete list.
 new 28cffca195 Merge pull request #4670 from 
troizet/fix_npe_php_visibility_autocomplete
b332edd0f7 is described below

commit b332edd0f7a8f3ce8b9f2cc45592681bf1371e3c
Author: Alexey Borokhvostov 
AuthorDate: Wed Sep 21 22:52:28 2022 +0700

PHP: Fixes the NPE error that occurs when you change the existing 
visibility declaration of a class property or method when you press Enter or 
click it in the autocomplete list.
---
 .../netbeans/lib/editor/codetemplates/CodeTemplateInsertHandler.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 cb15ca4b36..5d7f36ca01 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
@@ -515,7 +515,7 @@ public final class CodeTemplateInsertHandler implements 
TextRegionManagerListene
 return false;
 }
 TextSync last = removed.get(removed.size()-1).activeTextSync();
-return last.isCaretMarker() && last.isCompletionInvoke();
+return last != null && last.isCaretMarker() && 
last.isCompletionInvoke();
 }
 
 void release() {


-
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: Avoid using an invalid JavaPlatform

2022-09-22 Thread mbien
This is an automated email from the ASF dual-hosted git repository.

mbien 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 e36142dfb4 Avoid using an invalid JavaPlatform
 new ed161048b2 Merge pull request #4672 from 
errael/HintAvoidUsingInvalidJavaPlatform
e36142dfb4 is described below

commit e36142dfb4b357cb1c571fdae46cae0d79a34b0a
Author: Ernie Rael 
AuthorDate: Wed Sep 21 11:10:50 2022 -0700

Avoid using an invalid JavaPlatform
---
 .../src/org/netbeans/modules/java/hints/spiimpl/Utilities.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/java/spi.java.hints/src/org/netbeans/modules/java/hints/spiimpl/Utilities.java
 
b/java/spi.java.hints/src/org/netbeans/modules/java/hints/spiimpl/Utilities.java
index b0accad67d..431f68afe0 100644
--- 
a/java/spi.java.hints/src/org/netbeans/modules/java/hints/spiimpl/Utilities.java
+++ 
b/java/spi.java.hints/src/org/netbeans/modules/java/hints/spiimpl/Utilities.java
@@ -1083,7 +1083,7 @@ public class Utilities {
 final JavaPlatformManager man = JavaPlatformManager.getDefault();
 if (select.getSpecification().getVersion() != null) {
 for (JavaPlatform p : 
JavaPlatformManager.getDefault().getInstalledPlatforms()) {
-if (!"j2se".equals(p.getSpecification().getName()) || 
p.getSpecification().getVersion() == null) continue;
+if (!p.isValid() || 
!"j2se".equals(p.getSpecification().getName()) || 
p.getSpecification().getVersion() == null) continue;
 if 
(p.getSpecification().getVersion().compareTo(select.getSpecification().getVersion())
 > 0) {
 select = p;
 }


-
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-website] 01/01: Update Oracle-transition doc to refer to https

2022-09-22 Thread lbruun
This is an automated email from the ASF dual-hosted git repository.

lbruun pushed a commit to branch lbruun-oracle-transition-https
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 42dd1ae6b246531b7624b0784457ebc171f00832
Author: lbruun <32431476+lbr...@users.noreply.github.com>
AuthorDate: Thu Sep 22 22:14:40 2022 +0200

Update Oracle-transition doc to refer to https

Maven now enforces use of https. So would be wrong to instruct users to 
have a Maven Repo reference which uses http. (the netbeans.apidesign.org site 
supports both)
---
 netbeans.apache.org/src/content/about/oracle-transition.asciidoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/netbeans.apache.org/src/content/about/oracle-transition.asciidoc 
b/netbeans.apache.org/src/content/about/oracle-transition.asciidoc
index 3f328de21..b04defcbb 100644
--- a/netbeans.apache.org/src/content/about/oracle-transition.asciidoc
+++ b/netbeans.apache.org/src/content/about/oracle-transition.asciidoc
@@ -44,7 +44,7 @@ In case you still need to access Oracle binaries or 
artifacts, some individuals
 
 === Maven repository
 
-Jaroslav Tulach is hosting a Maven repository with all previous Oracle 
binaries at http://netbeans.apidesign.org/maven2/. You can use this repository 
by adding the following to your `pom.xml`:
+Jaroslav Tulach is hosting a Maven repository with all previous Oracle 
binaries at https://netbeans.apidesign.org/maven2/. You can use this repository 
by adding the following to your `pom.xml`:
 
 [code, xml]
 
@@ -53,7 +53,7 @@ Jaroslav Tulach is hosting a Maven repository with all 
previous Oracle binaries
 
 netbeans
 NetBeans
-http://netbeans.apidesign.org/maven2/
+https://netbeans.apidesign.org/maven2/
 
 
  


-
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-website] branch lbruun-oracle-transition-https created (now 42dd1ae6b)

2022-09-22 Thread lbruun
This is an automated email from the ASF dual-hosted git repository.

lbruun pushed a change to branch lbruun-oracle-transition-https
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


  at 42dd1ae6b Update Oracle-transition doc to refer to https

This branch includes the following new commits:

 new 42dd1ae6b Update Oracle-transition doc to refer to https

The 1 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.



-
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-mavenutils-archetype-nbm-archetype] branch lbruun-nbm-archetype-update created (now 2a63492)

2022-09-22 Thread lbruun
This is an automated email from the ASF dual-hosted git repository.

lbruun pushed a change to branch lbruun-nbm-archetype-update
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-archetype-nbm-archetype.git


  at 2a63492  Update generated POM

This branch includes the following new commits:

 new 2a63492  Update generated POM

The 1 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.



-
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-mavenutils-archetype-nbm-archetype] 01/01: Update generated POM

2022-09-22 Thread lbruun
This is an automated email from the ASF dual-hosted git repository.

lbruun pushed a commit to branch lbruun-nbm-archetype-update
in repository 
https://gitbox.apache.org/repos/asf/netbeans-mavenutils-archetype-nbm-archetype.git

commit 2a634927fd65db8b7b8a8767e8ec251136839bbe
Author: lbruun <32431476+lbr...@users.noreply.github.com>
AuthorDate: Thu Sep 22 22:56:00 2022 +0200

Update generated POM

Removed sections no longer relevant.
---
 src/main/resources/archetype-resources/pom.xml | 20 
 1 file changed, 20 deletions(-)

diff --git a/src/main/resources/archetype-resources/pom.xml 
b/src/main/resources/archetype-resources/pom.xml
index d2b127f..3e91e61 100644
--- a/src/main/resources/archetype-resources/pom.xml
+++ b/src/main/resources/archetype-resources/pom.xml
@@ -13,25 +13,6 @@
 UTF-8
 
 
-
-
-
-netbeans
-NetBeans
-http://bits.netbeans.org/nexus/content/groups/netbeans/
-
-false
-
-
-
-
 
 
 org.netbeans.api
@@ -50,7 +31,6 @@
 
 
 
-
 org.apache.maven.plugins
 maven-compiler-plugin
 3.8.1


-
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-website] 01/01: Merge pull request #613 from apache/lbruun-oracle-transition-https

2022-09-22 Thread mbien
This is an automated email from the ASF dual-hosted git repository.

mbien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 328293c294177fc7c894eaa73cb446bd3805817a
Merge: adf2bc127 42dd1ae6b
Author: Michael Bien 
AuthorDate: Fri Sep 23 06:17:58 2022 +0200

Merge pull request #613 from apache/lbruun-oracle-transition-https

Update Oracle-transition doc to refer to https

 netbeans.apache.org/src/content/about/oracle-transition.asciidoc | 4 ++--
 1 file changed, 2 insertions(+), 2 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-website] branch master updated (adf2bc127 -> 328293c29)

2022-09-22 Thread mbien
This is an automated email from the ASF dual-hosted git repository.

mbien pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


from adf2bc127 fix comment
 add 42dd1ae6b Update Oracle-transition doc to refer to https
 new 328293c29 Merge pull request #613 from 
apache/lbruun-oracle-transition-https

The 1 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:
 netbeans.apache.org/src/content/about/oracle-transition.asciidoc | 4 ++--
 1 file changed, 2 insertions(+), 2 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