[jira] [Commented] (NETBEANS-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Jaroslav Tulach (Jira)


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

Jaroslav Tulach commented on NETBEANS-5638:
---

Ignoring {{SecurityException}} in Insane seems to be the cheapest fix.

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Assignee: Svatopluk Dedic
>Priority: Major
>  Labels: Testing, pull-request-available
> Fix For: 12.5
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
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-5642) Selecting "Profile test file" produces the error "Class <> does not have a main method"

2021-04-29 Thread Yaytay (Jira)
Yaytay created NETBEANS-5642:


 Summary: Selecting "Profile test file" produces the error "Class 
<> does not have a main method"
 Key: NETBEANS-5642
 URL: https://issues.apache.org/jira/browse/NETBEANS-5642
 Project: NetBeans
  Issue Type: Bug
  Components: profiler - IDE
Affects Versions: 12.3
 Environment: Windows 10, 64 bit, Azul JDK 16.
Reporter: Yaytay


When I select "Profile test file" for a test file (either *IT or *Test) I get 
the error "Class <> does not have a main method".
Not really sure what else there is to say.



--
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-5641) Can't create a new Java project on Netbeans

2021-04-29 Thread Nick Aviles (Jira)
Nick Aviles created NETBEANS-5641:
-

 Summary: Can't create a new Java project on Netbeans
 Key: NETBEANS-5641
 URL: https://issues.apache.org/jira/browse/NETBEANS-5641
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0.1
 Environment: NetBeans 12.0

Java JDK 16.0.1 (LTS)

Windows 10
Reporter: Nick Aviles
 Attachments: messages.log.1

Steps to Reproduce:

Open NetBeans > File > New Project > Java with Ant > Java Application and click 
on "Finish".

Expected Result:

Window closes and user can begin writing a new Java project

Actual Result:

After clicking on "Finish", nothing happens and the only available button is 
"Help". There should be a thrown exception that can be found in notifications.

The following is the exception:

IllegalAccessError: superclass access check failed: class 
org.netbeans.lib.nbjavac.services.CancelAbort (in unnamed module @0x6b5387ed) 
cannot access class com.sun.tools.javac.util.Abort (in module jdk.compiler) 
because module jdk.compiler does not export com.sun.tools.javac.util to unnamed 
module @0x6b5387ed



--
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] [Closed] (NETBEANS-5634) CND "NetBeans fs-server has CDDL License"

2021-04-29 Thread Antonio Vieiro (Jira)


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

Antonio Vieiro closed NETBEANS-5634.

Resolution: Fixed

It's sad to see nice things go, but let's remember this is to protect the rest 
of the code in NetBeans.

 

Closed as per https://github.com/apache/netbeans/pull/2921

> CND "NetBeans fs-server has CDDL License"
> -
>
> Key: NETBEANS-5634
> URL: https://issues.apache.org/jira/browse/NETBEANS-5634
> Project: NetBeans
>  Issue Type: Sub-task
>  Components: cnd - Remote
>Reporter: Antonio Vieiro
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The Firth Oracle Donation to the Apache Software Foundation (28 January, 
> 2020) states that the "NetBeans FS Server" is covered by the CDDL License.
> This is a "Category B" license and quoting from 
> [https://apache.org/legal/resolved.html#binary-only-inclusion-condition]
> ??All Category B licensed works should be included in binary-only form in 
> Apache Software Foundation convenience binaries. Category B licensed works 
> should not be included in source releases.??
> As a consequence, and sadly, the source code for "NetBeans FS Server" should 
> be removed from the repository.
>  



--
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] 03/03: [NETBEANS-5634] fs_server-1.0-license.txt

2021-04-29 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a commit to branch cnd
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 57ee7d492c4786a8f909689c6e9eadb98cd82092
Author: Antonio Vieiro 
AuthorDate: Wed Apr 28 16:04:14 2021 +0200

[NETBEANS-5634] fs_server-1.0-license.txt
---
 .../external/fs_server-1.0-license.txt | 603 +
 1 file changed, 385 insertions(+), 218 deletions(-)

diff --git a/dlight/dlight.remote.impl/external/fs_server-1.0-license.txt 
b/dlight/dlight.remote.impl/external/fs_server-1.0-license.txt
index ce97f1a..e63ecf6 100644
--- a/dlight/dlight.remote.impl/external/fs_server-1.0-license.txt
+++ b/dlight/dlight.remote.impl/external/fs_server-1.0-license.txt
@@ -1,223 +1,390 @@
 Name: fs_server
 Version: 1.0
-Description: Apache NetBeans shared libraries that provide remote file system 
support.
-License: Apache-2.0-ASF
+Description: NetBeans FS Server
+License: CDDL-1.0
 OSR: -
-Origin: https://netbeans.apache.org
+Origin: 
https://github.com/emilianbold/netbeans-releases/tree/master/dlight.remote.impl/tools/fs_server
 Files: fs_server-1.0.zip
 Source: 
https://github.com/apache/netbeans/tree/cnd/dlight/dlight.remote.impl/tools/fs_server
-Comment: These are the shared libraries compiled from the ../tools directory 
in this module for different platforms.
-
-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.
-
-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.
-
-
- Apache License
-   Version 2.0, January 2004
-http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-  "License" shall mean the terms and conditions for use, reproduction,
-  and distribution as defined by Sections 1 through 9 of this document.
-
-  "Licensor" shall mean the copyright owner or entity authorized by
-  the copyright owner that is granting the License.
-
-  "Legal Entity" shall mean the union of the acting entity and all
-  other entities that control, are controlled by, or are under common
-  control with that entity. For the purposes of this definition,
-  "control" means (i) the power, direct or indirect, to cause the
-  direction or management of such entity, whether by contract or
-  otherwise, or (ii) ownership of fifty percent (50%) or more of the
-  outstanding shares, or (iii) beneficial ownership of such entity.
-
-  "You" (or "Your") shall mean an individual or Legal Entity
-  exercising permissions granted by this License.
-
-  "Source" form shall mean the preferred form for making modifications,
-  including but not limited to software source code, documentation
-  source, and configuration files.
-
-  "Object" form shall mean any form resulting from mechanical
-  transformation or translation of a Source form, including but
-  not limited to compiled object code, generated documentation,
-  and conversions to other media types.
-
-  "Work" shall mean the work of authorship, whether in Source or
-  Object form, made available under the License, as indicated by a
-  copyright notice that is included in or attached to the work
-  (an example is provided in the Appendix below).
-
-  "Derivative Works" shall mean any work, whether in Source or Object
-  form, that is based on (or derived from) the Work and for which the
-  editorial revisions, annotations, elaborations, or other modifications
-  represent, as a whole, an original work of authorship. For the purposes
-  of this License, Derivative Works shall not include works that remain
-  separable from, or merely link (or bind by name) to the interfaces of,
-  the Work and Derivative Works thereof.
-
-  "Contribution" shall mean any work of authorship, including
-  the original version of the Work and any modifications or additions
-  to that Work or Derivative Works thereof, that is intentionally
-  submitted to Licensor for inclusion in the Work by the copyright owner
-  or by an individual or Legal Entity authorized to submit on behalf of
-  the copyright owner. For the purposes of this definition, "submitted"
-  means any form of electronic, verbal, or written communication sent
-  to the Licensor or 

[netbeans] 01/03: [NETBEANS-5634] Restore fs-server CDDL license

2021-04-29 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a commit to branch cnd
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 49de25b2d283300df72b7743f26ef3cd6aee79c8
Author: Antonio Vieiro 
AuthorDate: Wed Apr 28 15:42:06 2021 +0200

[NETBEANS-5634] Restore fs-server CDDL license
---
 dlight/dlight.remote.impl/tools/fs_server/Makefile | 49 +++---
 .../tools/fs_server/nbproject/configurations.xml   | 47 ++---
 .../tools/fs_server/nbproject/launcher.properties  | 49 +++---
 .../tools/fs_server/nbproject/project.xml  | 47 ++---
 .../dlight.remote.impl/tools/fs_server/src/array.c | 47 ++---
 .../dlight.remote.impl/tools/fs_server/src/array.h | 47 ++---
 .../tools/fs_server/src/blocking_queue.c   | 47 ++---
 .../tools/fs_server/src/blocking_queue.h   | 47 ++---
 .../tools/fs_server/src/dirtab.c   | 47 ++---
 .../tools/fs_server/src/dirtab.h   | 47 ++---
 .../tools/fs_server/src/exitcodes.h| 47 ++---
 .../tools/fs_server/src/fs_common.h| 47 ++---
 .../tools/fs_server/src/fs_server.c| 47 ++---
 .../tools/fs_server/src/fs_server.h| 47 ++---
 .../dlight.remote.impl/tools/fs_server/src/queue.c | 47 ++---
 .../dlight.remote.impl/tools/fs_server/src/queue.h | 47 ++---
 .../tools/fs_server/src/settings.c | 47 ++---
 .../tools/fs_server/src/settings.h | 47 ++---
 .../dlight.remote.impl/tools/fs_server/src/util.c  | 47 ++---
 .../dlight.remote.impl/tools/fs_server/src/util.h  | 47 ++---
 .../tools/fs_server/test/Makefile  | 49 +++---
 .../tools/fs_server/test/dynamic_fs_server_test.sh | 49 +++---
 .../fs_server/test/make_fs_server_requests.sh  | 49 +++---
 .../tools/fs_server/test/test_main.c   | 49 +++---
 24 files changed, 804 insertions(+), 336 deletions(-)

diff --git a/dlight/dlight.remote.impl/tools/fs_server/Makefile 
b/dlight/dlight.remote.impl/tools/fs_server/Makefile
index 7481c18..5316f6d 100644
--- a/dlight/dlight.remote.impl/tools/fs_server/Makefile
+++ b/dlight/dlight.remote.impl/tools/fs_server/Makefile
@@ -1,19 +1,40 @@
-# 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
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 #
-#   http://www.apache.org/licenses/LICENSE-2.0
+# Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
 #
-# 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.
+# Oracle and Java are registered trademarks of Oracle and/or its affiliates.
+# Other names may be trademarks of their respective owners.
+#
+# The contents of this file are subject to the terms of either the GNU
+# General Public License Version 2 only ("GPL") or the Common
+# Development and Distribution License("CDDL") (collectively, the
+# "License"). You may not use this file except in compliance with the
+# License. You can obtain a copy of the License at
+# http://www.netbeans.org/cddl-gplv2.html
+# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
+# specific language governing permissions and limitations under the
+# License.  When distributing the software, include this License Header
+# Notice in each file and include the License file at
+# nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
+# particular file as subject to the "Classpath" exception as provided
+# by Oracle in the GPL Version 2 section of the License file that
+# accompanied this code. If applicable, add the following below the
+# License Header, with the fields enclosed by brackets [] replaced by
+# your own identifying information:
+# "Portions Copyrighted [year] [name of copyright owner]"
+#
+# If you wish your version of this file to be governed by only the CDDL
+# or only the GPL Version 2, indicate your decision by adding
+# "[Contributor] elects to include this software in this distribution
+# under the [CDDL or GPL Version 2] license." If you do not indicate a

[netbeans] branch cnd updated (f9b7c26 -> 57ee7d4)

2021-04-29 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a change to branch cnd
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from f9b7c26  [CND] verify-libs-and-licenses
 new 49de25b  [NETBEANS-5634] Restore fs-server CDDL license
 new 48886a6  [NETBEANS-5634] Remove fs-server source code.
 new 57ee7d4  [NETBEANS-5634] fs_server-1.0-license.txt

The 3 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:
 .../external/fs_server-1.0-license.txt |  603 --
 dlight/dlight.remote.impl/tools/fs_server/Makefile |  190 --
 .../tools/fs_server/make/Makefile.gmake|   10 -
 .../tools/fs_server/make/Makefile.make |   12 -
 .../dlight.remote.impl/tools/fs_server/make/line   |7 -
 .../tools/fs_server/nbproject/configurations.xml   |  958 -
 .../tools/fs_server/nbproject/launcher.properties  |   30 -
 .../tools/fs_server/nbproject/project.xml  |   98 -
 .../dlight.remote.impl/tools/fs_server/src/array.c |   90 -
 .../dlight.remote.impl/tools/fs_server/src/array.h |   56 -
 .../tools/fs_server/src/blocking_queue.c   |   88 -
 .../tools/fs_server/src/blocking_queue.h   |   61 -
 .../tools/fs_server/src/dirtab.c   |  479 -
 .../tools/fs_server/src/dirtab.h   |  124 --
 .../tools/fs_server/src/exitcodes.h|   54 -
 .../tools/fs_server/src/fs_common.h|   30 -
 .../tools/fs_server/src/fs_server.c| 2100 
 .../tools/fs_server/src/fs_server.h|  145 --
 .../dlight.remote.impl/tools/fs_server/src/queue.c |   76 -
 .../dlight.remote.impl/tools/fs_server/src/queue.h |   58 -
 .../tools/fs_server/src/settings.c |  123 --
 .../tools/fs_server/src/settings.h |   60 -
 .../dlight.remote.impl/tools/fs_server/src/util.c  |  751 ---
 .../dlight.remote.impl/tools/fs_server/src/util.h  |  170 --
 .../tools/fs_server/test/Makefile  |   98 -
 .../tools/fs_server/test/dynamic_fs_server_test.sh |  211 --
 .../fs_server/test/make_fs_server_requests.sh  |   36 -
 .../tools/fs_server/test/test_main.c   |  274 ---
 dlight/dlight.remote.impl/tools/fs_server/todo.txt |  102 -
 29 files changed, 385 insertions(+), 6709 deletions(-)
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/Makefile
 delete mode 100644 
dlight/dlight.remote.impl/tools/fs_server/make/Makefile.gmake
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/make/Makefile.make
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/make/line
 delete mode 100644 
dlight/dlight.remote.impl/tools/fs_server/nbproject/configurations.xml
 delete mode 100644 
dlight/dlight.remote.impl/tools/fs_server/nbproject/launcher.properties
 delete mode 100644 
dlight/dlight.remote.impl/tools/fs_server/nbproject/project.xml
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/array.c
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/array.h
 delete mode 100644 
dlight/dlight.remote.impl/tools/fs_server/src/blocking_queue.c
 delete mode 100644 
dlight/dlight.remote.impl/tools/fs_server/src/blocking_queue.h
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/dirtab.c
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/dirtab.h
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/exitcodes.h
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/fs_common.h
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/fs_server.c
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/fs_server.h
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/queue.c
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/queue.h
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/settings.c
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/settings.h
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/util.c
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/src/util.h
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/test/Makefile
 delete mode 100644 
dlight/dlight.remote.impl/tools/fs_server/test/dynamic_fs_server_test.sh
 delete mode 100755 
dlight/dlight.remote.impl/tools/fs_server/test/make_fs_server_requests.sh
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/test/test_main.c
 delete mode 100644 dlight/dlight.remote.impl/tools/fs_server/todo.txt

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the 

[jira] [Assigned] (NETBEANS-5634) CND "NetBeans fs-server has CDDL License"

2021-04-29 Thread Antonio Vieiro (Jira)


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

Antonio Vieiro reassigned NETBEANS-5634:


Assignee: Antonio Vieiro

> CND "NetBeans fs-server has CDDL License"
> -
>
> Key: NETBEANS-5634
> URL: https://issues.apache.org/jira/browse/NETBEANS-5634
> Project: NetBeans
>  Issue Type: Sub-task
>  Components: cnd - Remote
>Reporter: Antonio Vieiro
>Assignee: Antonio Vieiro
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The Firth Oracle Donation to the Apache Software Foundation (28 January, 
> 2020) states that the "NetBeans FS Server" is covered by the CDDL License.
> This is a "Category B" license and quoting from 
> [https://apache.org/legal/resolved.html#binary-only-inclusion-condition]
> ??All Category B licensed works should be included in binary-only form in 
> Apache Software Foundation convenience binaries. Category B licensed works 
> should not be included in source releases.??
> As a consequence, and sadly, the source code for "NetBeans FS Server" should 
> be removed from the repository.
>  



--
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-5576) getCompilationUnit() error during startup

2021-04-29 Thread Cation (Jira)


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

Cation commented on NETBEANS-5576:
--

Happens just by launching NB. There's a red bubble for message alert in the 
status bar right next to "Background scanning of projects..."

> getCompilationUnit() error during startup
> -
>
> Key: NETBEANS-5576
> URL: https://issues.apache.org/jira/browse/NETBEANS-5576
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Welcome
>Affects Versions: 12.0
>Reporter: Cation
>Priority: Major
> Attachments: messages.log
>
>
> 
>  2021-04-13T19:24:35
>  1618334675354
>  1629
>  700
>  28
>  UI_USER_CONFIGURATION
>  UI_USER_CONFIGURATION
>  org.netbeans.modules.uihandler.Bundle
>  Windows 10, 10.0, amd64
>  Java HotSpot(TM) 64-Bit Server VM, 15+36-1562, Java(TM) SE Runtime 
> Environment, 15+36-1562
>  Apache NetBeans IDE 12.0
>  
>  IllegalStateException: Cannot call getCompilationUnit() if current 
> phase  JavaSource.Phase.PARSED. You must call toPhase(Phase.PARSED) 
> first.
>  Please provide a description of the problem or the steps to 
> reproduce
>  *
> 



--
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-5576) getCompilationUnit() error during startup

2021-04-29 Thread Cation (Jira)


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

Cation updated NETBEANS-5576:
-
Attachment: messages.log

> getCompilationUnit() error during startup
> -
>
> Key: NETBEANS-5576
> URL: https://issues.apache.org/jira/browse/NETBEANS-5576
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Welcome
>Affects Versions: 12.0
>Reporter: Cation
>Priority: Major
> Attachments: messages.log
>
>
> 
>  2021-04-13T19:24:35
>  1618334675354
>  1629
>  700
>  28
>  UI_USER_CONFIGURATION
>  UI_USER_CONFIGURATION
>  org.netbeans.modules.uihandler.Bundle
>  Windows 10, 10.0, amd64
>  Java HotSpot(TM) 64-Bit Server VM, 15+36-1562, Java(TM) SE Runtime 
> Environment, 15+36-1562
>  Apache NetBeans IDE 12.0
>  
>  IllegalStateException: Cannot call getCompilationUnit() if current 
> phase  JavaSource.Phase.PARSED. You must call toPhase(Phase.PARSED) 
> first.
>  Please provide a description of the problem or the steps to 
> reproduce
>  *
> 



--
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 (903b73c -> 18d98e8)

2021-04-29 Thread jtulach
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.git.


from 903b73c  Merge pull request #1662 from pepness/javacc-7.0.5
 new d794efb  Test against latest GraalVM and latest LTS
 new 1dad125  Upgrading Graal.js & co. libraries to 20.3.0 version
 new a8e7b97  Merge remote-tracking branch 'origin/master' into 
jtulach/UpgradeGraalVM
 new 9b7e473  Merge to trigger gates.
 new 602724b  Mention 20.3.0 version in license names
 new 60c0372  Bringing up-to-date with master branch
 new 2110e48  Skip returnArrayInJS test: Broken in GraalVM 20.3.0 fixed in 
GraalVM 21.1.0
 new 18d98e8  Merge pull request #2707 from 
JaroslavTulach/jtulach/UpgradeGraalVM

The 5370 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:
 .travis.yml|  4 +--
 ide/libs.graalsdk/external/binaries-list   |  4 +--
 0-license.txt => graal-sdk-20.3.0-license.txt} |  4 +--
 .../nbproject/org-netbeans-libs-graalsdk.sig   | 38 +-
 ide/libs.graalsdk/nbproject/project.properties |  4 +--
 ide/libs.graalsdk/nbproject/project.xml|  8 ++---
 .../netbeans/libs/graalsdk/GraalEnginesTest.java   |  2 ++
 .../libs/graalsdk/JavaScriptEnginesTest.java   |  2 ++
 ide/libs.truffleapi/external/binaries-list |  2 +-
 ...-license.txt => truffle-api-20.3.0-license.txt} |  4 +--
 ide/libs.truffleapi/nbproject/project.properties   |  2 +-
 ide/libs.truffleapi/nbproject/project.xml  |  6 ++--
 .../api/scripting/JavaScriptEnginesTest.java   |  2 ++
 webcommon/libs.graaljs/external/binaries-list  |  6 ++--
 ...js-20.2.0-license.txt => js-20.3.0-license.txt} |  4 +--
 webcommon/libs.graaljs/manifest.mf |  2 +-
 .../nbproject/org-netbeans-libs-graaljs.sig|  6 ++--
 .../libs.graaljs/nbproject/project.properties  |  6 ++--
 webcommon/libs.graaljs/nbproject/project.xml   | 16 -
 .../src/org/netbeans/libs/graaljs/graaljs.xml  | 16 -
 20 files changed, 82 insertions(+), 56 deletions(-)
 rename ide/libs.graalsdk/external/{graal-sdk-20.2.0-license.txt => 
graal-sdk-20.3.0-license.txt} (96%)
 rename ide/libs.truffleapi/external/{truffle-api-20.2.0-license.txt => 
truffle-api-20.3.0-license.txt} (97%)
 rename webcommon/libs.graaljs/external/{js-20.2.0-license.txt => 
js-20.3.0-license.txt} (96%)

-
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-5640] Fixing potential NPE on out of project Folder creation

2021-04-29 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 9db76a6  [NETBEANS-5640] Fixing potential NPE on out of project Folder 
creation
 new 70d100f  Merge pull request #2927 from lkishalmi/NETBEANS-5640
9db76a6 is described below

commit 9db76a6ee21cce9f45b7863c327249ca9a7ae502
Author: Laszlo Kishalmi 
AuthorDate: Thu Apr 29 07:01:57 2021 -0700

[NETBEANS-5640] Fixing potential NPE on out of project Folder creation
---
 .../org/netbeans/modules/project/ui/SimpleTargetChooserPanelGUI.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ide/projectui/src/org/netbeans/modules/project/ui/SimpleTargetChooserPanelGUI.java
 
b/ide/projectui/src/org/netbeans/modules/project/ui/SimpleTargetChooserPanelGUI.java
index 3ed00e1..7117e10 100644
--- 
a/ide/projectui/src/org/netbeans/modules/project/ui/SimpleTargetChooserPanelGUI.java
+++ 
b/ide/projectui/src/org/netbeans/modules/project/ui/SimpleTargetChooserPanelGUI.java
@@ -551,8 +551,8 @@ public class SimpleTargetChooserPanelGUI extends 
javax.swing.JPanel implements A
 public @Override Component getListCellRendererComponent(JList list, 
Object value, int index, boolean isSelected, boolean cellHasFocus) {
 if (value instanceof SourceGroup) {
 SourceGroup group = (SourceGroup)value;
-String projectDisplayName = ProjectUtils.getInformation( 
project ).getDisplayName();
 String groupDisplayName = group.getDisplayName();
+String projectDisplayName = project != null ? 
ProjectUtils.getInformation( project ).getDisplayName() : groupDisplayName;
 if ( projectDisplayName.equals( groupDisplayName ) ) {
 setText( groupDisplayName );
 }

-
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-5640) New Folder Wizard throws NPE in some cases

2021-04-29 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-5640:
-
Labels: pull-request-available  (was: )

> New Folder Wizard throws NPE in some cases
> --
>
> Key: NETBEANS-5640
> URL: https://issues.apache.org/jira/browse/NETBEANS-5640
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> It's maybe something broken in my user/cache dir, but if I try to create a 
> folder outside of a project I get an NPE
> {code:java}
> java.lang.NullPointerException: Cannot invoke 
> "org.netbeans.api.project.Project.getLookup()" because "project" is null
>  at 
> org.netbeans.modules.projectapi.nb.NbProjectInformationProvider.getProjectInformation(NbProjectInformationProvider.java:56)
>  at org.netbeans.api.project.ProjectUtils.getInformation(ProjectUtils.java:73)
>  at 
> org.netbeans.modules.project.ui.SimpleTargetChooserPanelGUI$GroupCellRenderer.getListCellRendererComponent(SimpleTargetChooserPanelGUI.java:554)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(BasicComboBoxUI.java:1446)
>  at 
> com.formdev.flatlaf.ui.FlatComboBoxUI.getDisplaySize(FlatComboBoxUI.java:508)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.getMinimumSize(BasicComboBoxUI.java:999)
>  at 
> com.formdev.flatlaf.ui.FlatComboBoxUI.getMinimumSize(FlatComboBoxUI.java:485)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.getPreferredSize(BasicComboBoxUI.java:988)
>  at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
>  at 
> com.formdev.flatlaf.ui.FlatComboBoxUI$2.layoutContainer(FlatComboBoxUI.java:248)
>  at java.desktop/java.awt.Container.layout(Container.java:1538)
> {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] [Created] (NETBEANS-5640) New Folder Wizard throws NPE in some cases

2021-04-29 Thread Laszlo Kishalmi (Jira)
Laszlo Kishalmi created NETBEANS-5640:
-

 Summary: New Folder Wizard throws NPE in some cases
 Key: NETBEANS-5640
 URL: https://issues.apache.org/jira/browse/NETBEANS-5640
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.4
Reporter: Laszlo Kishalmi
Assignee: Laszlo Kishalmi


It's maybe something broken in my user/cache dir, but if I try to create a 
folder outside of a project I get an NPE
{code:java}
java.lang.NullPointerException: Cannot invoke 
"org.netbeans.api.project.Project.getLookup()" because "project" is null
 at 
org.netbeans.modules.projectapi.nb.NbProjectInformationProvider.getProjectInformation(NbProjectInformationProvider.java:56)
 at org.netbeans.api.project.ProjectUtils.getInformation(ProjectUtils.java:73)
 at 
org.netbeans.modules.project.ui.SimpleTargetChooserPanelGUI$GroupCellRenderer.getListCellRendererComponent(SimpleTargetChooserPanelGUI.java:554)
 at 
java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(BasicComboBoxUI.java:1446)
 at 
com.formdev.flatlaf.ui.FlatComboBoxUI.getDisplaySize(FlatComboBoxUI.java:508)
 at 
java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.getMinimumSize(BasicComboBoxUI.java:999)
 at 
com.formdev.flatlaf.ui.FlatComboBoxUI.getMinimumSize(FlatComboBoxUI.java:485)
 at 
java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.getPreferredSize(BasicComboBoxUI.java:988)
 at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
 at 
com.formdev.flatlaf.ui.FlatComboBoxUI$2.layoutContainer(FlatComboBoxUI.java:248)
 at java.desktop/java.awt.Container.layout(Container.java:1538)

{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



[netbeans] branch delivery updated: Prevent from breakpoint collision in TruffleAccess.

2021-04-29 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 97cf36c  Prevent from breakpoint collision in TruffleAccess.
 new 3fcfb2a  Merge pull request #2919 from 
entlicher/TruffleAccessBPCollision
97cf36c is described below

commit 97cf36c6d0fbbd03991b0de5a90985d301cf14ab
Author: Martin Entlicher 
AuthorDate: Wed Apr 28 16:43:02 2021 +0200

Prevent from breakpoint collision in TruffleAccess.
---
 .../debugger/jpda/truffle/access/TruffleAccess.java| 18 --
 .../debugger/jpda/truffle/source/SourceFilesCache.java | 13 +++--
 2 files changed, 23 insertions(+), 8 deletions(-)

diff --git 
a/java/debugger.jpda.truffle/src/org/netbeans/modules/debugger/jpda/truffle/access/TruffleAccess.java
 
b/java/debugger.jpda.truffle/src/org/netbeans/modules/debugger/jpda/truffle/access/TruffleAccess.java
index bdcd022..0b894fc 100644
--- 
a/java/debugger.jpda.truffle/src/org/netbeans/modules/debugger/jpda/truffle/access/TruffleAccess.java
+++ 
b/java/debugger.jpda.truffle/src/org/netbeans/modules/debugger/jpda/truffle/access/TruffleAccess.java
@@ -71,6 +71,8 @@ import org.netbeans.modules.debugger.jpda.expr.JDIVariable;
 import org.netbeans.modules.debugger.jpda.jdi.ClassTypeWrapper;
 import 
org.netbeans.modules.debugger.jpda.jdi.IllegalThreadStateExceptionWrapper;
 import org.netbeans.modules.debugger.jpda.jdi.InternalExceptionWrapper;
+import org.netbeans.modules.debugger.jpda.jdi.LocatableWrapper;
+import org.netbeans.modules.debugger.jpda.jdi.LocationWrapper;
 import org.netbeans.modules.debugger.jpda.jdi.ObjectCollectedExceptionWrapper;
 import org.netbeans.modules.debugger.jpda.jdi.ThreadReferenceWrapper;
 import org.netbeans.modules.debugger.jpda.jdi.VMDisconnectedExceptionWrapper;
@@ -273,17 +275,16 @@ public class TruffleAccess implements 
JPDABreakpointListener {
 Method suspendHereMethod = 
ClassTypeWrapper.concreteMethodByName(debugAccessorClass, METHOD_SUSPEND_HERE, 
METHOD_SUSPEND_HERE_SGN);
 JPDADebuggerImpl debugger = threadImpl.getDebugger();
 Value haltInfo;
-Lock writeLock = threadImpl.accessLock.writeLock();
+threadImpl.notifyMethodInvoking();
 Runnable cleanup = null;
 try {
-writeLock.lock();
 cleanup = skipSuspendedEventClearLeakingReferences(debugger, 
thread);
 haltInfo = ClassTypeWrapper.invokeMethod(debugAccessorClass, 
tr, suspendHereMethod, Collections.emptyList(), 
ObjectReference.INVOKE_SINGLE_THREADED);
 } finally {
 try {
 cleanup.run();
 } finally {
-writeLock.unlock();
+threadImpl.notifyMethodInvokeDone();
 }
 }
 if (haltInfo instanceof ObjectReference) {
@@ -297,23 +298,28 @@ public class TruffleAccess implements 
JPDABreakpointListener {
 return null;
 }
 
+private static final String CLEAR_REFERENCES_CLASS = 
"com.oracle.truffle.api.debug.SuspendedEvent";
+private static final String CLEAR_REFERENCES_METHOD = 
"clearLeakingReferences";
+
 private static Runnable 
skipSuspendedEventClearLeakingReferences(JPDADebugger debugger, JPDAThread 
thread) {
 ThreadReference tr = ((JPDAThreadImpl) thread).getThreadReference();
-MethodBreakpoint clearLeakingReferencesBreakpoint = 
MethodBreakpoint.create("com.oracle.truffle.api.debug.SuspendedEvent", 
"clearLeakingReferences");
+MethodBreakpoint clearLeakingReferencesBreakpoint = 
MethodBreakpoint.create(CLEAR_REFERENCES_CLASS, CLEAR_REFERENCES_METHOD);
 
clearLeakingReferencesBreakpoint.setBreakpointType(MethodBreakpoint.TYPE_METHOD_ENTRY);
 clearLeakingReferencesBreakpoint.setThreadFilters(debugger, new 
JPDAThread[] { thread });
 clearLeakingReferencesBreakpoint.setHidden(true);
 Function breakpointEventInterceptor = eventSet -> {
-ThreadReference etr = null;
 try {
+ThreadReference etr = null;
+Method method = null;
 for (Event e: eventSet) {
 if (e instanceof ClassPrepareEvent) {
 etr = 
ClassPrepareEventWrapper.thread((ClassPrepareEvent) e);
 } else if (e instanceof LocatableEvent) {
 etr = LocatableEventWrapper.thread((LocatableEvent) e);
+method = 
LocationWrapper.method(LocatableWrapper.location((LocatableEvent) e));
 }
 }
-if (tr.equals(etr)) {
+if (tr.equals(etr) && method != null && 
CLEAR_REFERENCES_METHOD.equals(method.name()) && 
CLEAR_REFERENCES_CLASS.equals(method.declaringType().name())) {
   

[netbeans] branch delivery updated (fe32b2e -> 29acea3)

2021-04-29 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch delivery
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from fe32b2e  Merge pull request #2917 from 
dbalek/dbalek/lspCodeNavigationMinorFixes
 new 612b5bb  Introduced LspSession, which provides associated LSP and DAP 
servers. Both servers can access each other.
 new ad0c427  Check gdb version and provide warning about gdb bug #26139.
 new 29acea3  Merge pull request #2913 from entlicher/NIGDBVersionWarning

The 5373 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:
 .../cpplite/debugger/CPPLiteActionsProvider.java   |   2 +-
 .../modules/cpplite/debugger/CPPLiteDebugger.java  |  21 +++-
 .../debugger/ni/NIDebuggerProviderImpl.java|  59 ++
 .../modules/java/lsp/server/ConnectionSpec.java|  44 +--
 .../modules/java/lsp/server/LspArgsProcessor.java  |   9 +-
 .../modules/java/lsp/server/LspSession.java| 127 +
 .../lsp/server/debugging/DebugAdapterContext.java  |   9 +-
 .../java/lsp/server/debugging/Debugger.java|  21 ++--
 .../lsp/server/debugging/NbProtocolServer.java |  15 ++-
 .../server/debugging/launch/NbLaunchDelegate.java  |  70 ++--
 .../java/lsp/server/protocol/NbLspServer.java  |  60 ++
 .../modules/java/lsp/server/protocol/Server.java   |  18 ++-
 .../java/lsp/server/ConnectionSpecTest.java|  68 ---
 .../nativeimage/debugger/api/NIDebugRunner.java|  43 ++-
 14 files changed, 459 insertions(+), 107 deletions(-)
 create mode 100644 
java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/LspSession.java
 create mode 100644 
java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/NbLspServer.java

-
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 (a506eb8 -> fe32b2e)

2021-04-29 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch delivery
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from a506eb8  Merge pull request #2915 from 
JaroslavTulach/jtulach/WorkingMxActions
 new b859e4e  LSP: Go to Super Implementation keyboard shortcut and minor 
fixes, Source Actions shortcut.
 new 09272f0  Changing Go to Super Implementation shortcut for Mac.
 new 477b7f8  LSP: Go to (Super) Implementations fixed to work with 
multi-projects.
 new fe32b2e  Merge pull request #2917 from 
dbalek/dbalek/lspCodeNavigationMinorFixes

The 5370 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:
 .../java/editor/overridden/ElementDescription.java |  4 +
 .../server/protocol/TextDocumentServiceImpl.java   | 96 +++---
 .../lsp/server/protocol/WorkspaceServiceImpl.java  |  2 +-
 .../java/lsp/server/protocol/ServerTest.java   |  5 +-
 java/java.lsp.server/vscode/package.json   |  7 ++
 java/java.lsp.server/vscode/src/extension.ts   | 12 ++-
 .../netbeans/api/java/source/ui/ElementOpen.java   | 32 
 7 files changed, 104 insertions(+), 54 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 delivery updated (a898f8a -> a506eb8)

2021-04-29 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch delivery
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from a898f8a  Merge pull request #2912 from jlahoda/warnings-are-not-errors
 new aab00af  Supported actions are enabled by default
 new 09f3e05  Build distributions before running or debugging unit tests
 new 8c3b56d  Notify progress of mx actions to better integrate with 
VSNetBeans UI
 new 494032f  Separting the action test into own suite
 new ea04448  Only check exitCode when there is no error
 new a506eb8  Merge pull request #2915 from 
JaroslavTulach/jtulach/WorkingMxActions

The 5366 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:
 .../java/mx/project/SuiteActionProvider.java   | 100 ++---
 .../java/mx/project/SuiteActionProviderTest.java   |  98 
 2 files changed, 165 insertions(+), 33 deletions(-)
 create mode 100644 
java/java.mx.project/test/unit/src/org/netbeans/modules/java/mx/project/SuiteActionProviderTest.java

-
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: javac warnings should not cause background indexing to Repair the code.

2021-04-29 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 3b8ad5d  javac warnings should not cause background indexing to Repair 
the code.
 new a898f8a  Merge pull request #2912 from jlahoda/warnings-are-not-errors
3b8ad5d is described below

commit 3b8ad5d87aeff8fa1d757d18c7100b2c56fda9b7
Author: Jan Lahoda 
AuthorDate: Thu Apr 22 22:43:23 2021 +0200

javac warnings should not cause background indexing to Repair the code.
---
 .../java/source/indexing/VanillaCompileWorker.java |  1 +
 .../source/indexing/CompileWorkerTestBase.java | 30 ++-
 .../source/indexing/VanillaCompileWorkerTest.java  | 43 ++
 3 files changed, 73 insertions(+), 1 deletion(-)

diff --git 
a/java/java.source.base/src/org/netbeans/modules/java/source/indexing/VanillaCompileWorker.java
 
b/java/java.source.base/src/org/netbeans/modules/java/source/indexing/VanillaCompileWorker.java
index 4e64229..b7517a8 100644
--- 
a/java/java.source.base/src/org/netbeans/modules/java/source/indexing/VanillaCompileWorker.java
+++ 
b/java/java.source.base/src/org/netbeans/modules/java/source/indexing/VanillaCompileWorker.java
@@ -538,6 +538,7 @@ final class VanillaCompileWorker extends CompileWorker {
 public Void visitCompilationUnit(CompilationUnitTree node, Void p) 
{
 diags = dc.peekDiagnostics(cut.getSourceFile())
   .stream()
+  .filter(d -> d.getKind() == Diagnostic.Kind.ERROR)
   .collect(Collectors.toMap(d -> d.getPosition(),
 d -> 
Collections.singletonList(d),
 (dl1, dl2) -> 
Stream.of(dl1, dl2)
diff --git 
a/java/java.source.base/test/unit/src/org/netbeans/modules/java/source/indexing/CompileWorkerTestBase.java
 
b/java/java.source.base/test/unit/src/org/netbeans/modules/java/source/indexing/CompileWorkerTestBase.java
index bc29747..646e5be 100644
--- 
a/java/java.source.base/test/unit/src/org/netbeans/modules/java/source/indexing/CompileWorkerTestBase.java
+++ 
b/java/java.source.base/test/unit/src/org/netbeans/modules/java/source/indexing/CompileWorkerTestBase.java
@@ -57,6 +57,7 @@ import 
org.netbeans.modules.parsing.impl.indexing.lucene.LuceneIndexFactory;
 import org.netbeans.modules.parsing.spi.indexing.Context;
 import org.netbeans.modules.parsing.spi.indexing.ErrorsCache;
 import org.netbeans.spi.java.classpath.support.ClassPathSupport;
+import org.netbeans.spi.java.queries.CompilerOptionsQueryImplementation;
 import org.netbeans.spi.java.queries.SourceLevelQueryImplementation2;
 import org.openide.filesystems.FileObject;
 import org.openide.filesystems.FileUtil;
@@ -179,7 +180,7 @@ public abstract class CompileWorkerTestBase extends 
NbTestCase {
 
 @Override
 protected void setUp() throws Exception {
-SourceUtilsTestUtil.prepareTest(new String[0], new Object[] {new 
SourceLevelQueryImpl()});
+SourceUtilsTestUtil.prepareTest(new String[0], new Object[] {new 
SourceLevelQueryImpl(), new CompilerOptionsQueryImpl()});
 
 clearWorkDir();
 File wdFile = getWorkDir();
@@ -199,6 +200,7 @@ public abstract class CompileWorkerTestBase extends 
NbTestCase {
 private FileObject src;
 private FileObject extraSrc;
 private String sourceLevel;
+private List compilerOptions = Collections.emptyList();
 
 private FileObject createSrcFile(String pathAndName, String content) 
throws Exception {
 FileObject testFile = FileUtil.createData(src, pathAndName);
@@ -225,6 +227,10 @@ public abstract class CompileWorkerTestBase extends 
NbTestCase {
 this.sourceLevel = sourceLevel;
 }
 
+protected void setCompilerOptions(List compilerOptions) {
+this.compilerOptions = compilerOptions;
+}
+
 private final class SourceLevelQueryImpl implements 
SourceLevelQueryImplementation2 {
 
 @Override
@@ -244,4 +250,26 @@ public abstract class CompileWorkerTestBase extends 
NbTestCase {
 }
 
 }
+
+private final class CompilerOptionsQueryImpl implements 
CompilerOptionsQueryImplementation {
+
+private final Result result = new Result() {
+@Override
+public List getArguments() {
+return compilerOptions;
+}
+
+@Override
+public void addChangeListener(ChangeListener listener) {}
+
+@Override
+public void removeChangeListener(ChangeListener listener) {}
+};
+
+@Override
+public Result getOptions(FileObject file) {
+return result;
+}
+
+}
 }
diff --git 

[netbeans] branch delivery updated (a8bfc8a -> 729a291)

2021-04-29 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch delivery
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from a8bfc8a  Merge pull request #2909 from dbalek/dbalek/lspCompletionFixes
 new e450db5  Additional virtual file object test
 new a4c9d83  Check parents of virtual file objects in the filesystem TCK
 new 0be610e  Let FileObject.getOutputStream() work on invalid file objects
 new 729a291  Merge pull request #2910 from 
JaroslavTulach/jtulach/BetterVirtualFO

The 5358 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:
 .../filebasedfs/fileobjects/BaseFileObj.java   |  8 ++-
 .../filebasedfs/fileobjects/FolderObjTest.java |  8 +++
 .../src/org/openide/filesystems/FileObject.java| 18 -
 .../org/openide/filesystems/FileObjectTestHid.java | 81 --
 4 files changed, 108 insertions(+), 7 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 delivery updated (f7b6fe7 -> a8bfc8a)

2021-04-29 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a change to branch delivery
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from f7b6fe7  Merge pull request #2895 from 
sdedic/origin/gradle/snapshot-support2
 new 799b06f  LSP: Java code completion fixes.
 new eb2ed62  Support for multiline string annotation values.
 new a8bfc8a  Merge pull request #2909 from dbalek/dbalek/lspCompletionFixes

The 5354 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:
 ide/libs.flexmark/external/binaries-list   |   2 +
 .../external/flexmark-0.50.36-license.txt  |   2 +-
 ide/libs.flexmark/nbproject/project.properties |   2 +
 ide/libs.flexmark/nbproject/project.xml|   8 +
 .../java/completion/JavaCompletionTask.java|  20 +-
 .../editor/java/JavaCompletionCollector.java   | 963 ++---
 .../modules/editor/java/JavaCompletionItem.java|  13 +-
 .../server/protocol/TextDocumentServiceImpl.java   |   3 +-
 java/java.lsp.server/vscode/package-lock.json  |   8 +-
 9 files changed, 868 insertions(+), 153 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 delivery updated: [NETBEANS-5587] Support SNAPSHOT versions of dependencies.

2021-04-29 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 4d5946b  [NETBEANS-5587] Support SNAPSHOT versions of dependencies.
 new f7b6fe7  Merge pull request #2895 from 
sdedic/origin/gradle/snapshot-support2
4d5946b is described below

commit 4d5946bdc48d2efb326c48aa4f8f48c5ef66b132
Author: Svata Dedic 
AuthorDate: Fri Apr 16 10:52:47 2021 +0200

[NETBEANS-5587] Support SNAPSHOT versions of dependencies.
---
 .../modules/gradle/GradleModuleFileCache21.java| 17 +++---
 .../gradle/GradleModuleFileCache21Test.java| 60 ++
 2 files changed, 71 insertions(+), 6 deletions(-)

diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/GradleModuleFileCache21.java 
b/extide/gradle/src/org/netbeans/modules/gradle/GradleModuleFileCache21.java
index 8ced737..f0be755 100644
--- a/extide/gradle/src/org/netbeans/modules/gradle/GradleModuleFileCache21.java
+++ b/extide/gradle/src/org/netbeans/modules/gradle/GradleModuleFileCache21.java
@@ -244,15 +244,20 @@ public final class GradleModuleFileCache21 {
 }
 
 public static String[] gavSplit(String gav) {
-int firstColon = gav.indexOf(':');
-int lastColon = gav.lastIndexOf(':');
-if (firstColon == -1 || firstColon == lastColon) {
+// the general GAV format is - 
::[:][@extension]
+int firstColon = gav.indexOf(':'); // NOI18N
+int versionColon = gav.indexOf(':', firstColon + 1); // NOI18N
+int versionEnd = gav.indexOf(':', versionColon + 1); // NO18N
+
+int end = versionEnd == -1 ? gav.length() : versionEnd;
+
+if (firstColon == -1 || firstColon == versionColon) {
 throw new IllegalArgumentException("Invalid GAV format: " + gav); 
//NOI18N
 }
-return new String[] {
+return new String[]{
 gav.substring(0, firstColon),
-gav.substring(firstColon + 1, lastColon),
-gav.substring(lastColon + 1)
+gav.substring(firstColon + 1, versionColon),
+ gav.substring(versionColon + 1, end)
 };
 }
 }
diff --git 
a/extide/gradle/test/unit/src/org/netbeans/modules/gradle/GradleModuleFileCache21Test.java
 
b/extide/gradle/test/unit/src/org/netbeans/modules/gradle/GradleModuleFileCache21Test.java
new file mode 100644
index 000..1371d81
--- /dev/null
+++ 
b/extide/gradle/test/unit/src/org/netbeans/modules/gradle/GradleModuleFileCache21Test.java
@@ -0,0 +1,60 @@
+/*
+ * 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.
+ */
+package org.netbeans.modules.gradle;
+
+import org.netbeans.junit.NbTestCase;
+
+/**
+ *
+ * @author sdedic
+ */
+public class GradleModuleFileCache21Test extends NbTestCase {
+
+public GradleModuleFileCache21Test(String name) {
+super(name);
+}
+
+/**
+ * Checks GAV split with regular fixed versions.
+ */
+public void testGavSplitFixedVersion() throws Exception {
+String[] parts = 
GradleModuleFileCache21.gavSplit("io.micronaut:micronaut-core:2.3.4"); // NOI18N
+assertEquals(parts[0], "io.micronaut"); // NOI18N
+assertEquals(parts[1], "micronaut-core"); // NOI18N
+assertEquals(parts[2], "2.3.4"); // NOI18N
+}
+
+/**
+ * Checks GAV split with -SNAPSHOT and a maven-like timestamp/sequence as 
the
+ * snapshot unique id.
+ */
+public void testGavSplitFixedSnapshotWithMavenTimestamp() throws Exception 
{
+String[] parts = 
GradleModuleFileCache21.gavSplit("io.micronaut:micronaut-core:2.3.4-SNAPSHOT:20210302.164619-21");
 // NOI18N
+assertEquals(parts[0], "io.micronaut"); // NOI18N
+assertEquals(parts[1], "micronaut-core"); // NOI18N
+assertEquals(parts[2], "2.3.4-SNAPSHOT"); // NOI18N
+}
+
+public void testGavSplitFixedSnapshotWithoutUnqiueId() throws Exception {
+String[] parts = 
GradleModuleFileCache21.gavSplit("io.micronaut:micronaut-core:2.3.4-SNAPSHOT"); 
// NOI18N
+assertEquals(parts[0], "io.micronaut"); // NOI18N
+assertEquals(parts[1], 

[netbeans] branch delivery updated: Preventing a NPE in LSPBindings, description.bindings can be null.

2021-04-29 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

geertjan 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 f39feea  Preventing a NPE in LSPBindings, description.bindings can be 
null.
 new 39c16b6  Merge pull request #2911 from 
jlahoda/lspbinding-npe-fix-apr-2021
f39feea is described below

commit f39feeaa5fdcd787b6b7916f95c870837943a30b
Author: Jan Lahoda 
AuthorDate: Thu Apr 22 07:00:25 2021 +0200

Preventing a NPE in LSPBindings, description.bindings can be null.
---
 ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java 
b/ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java
index 06ce534..b7577ed 100644
--- a/ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java
+++ b/ide/lsp.client/src/org/netbeans/modules/lsp/client/LSPBindings.java
@@ -366,7 +366,7 @@ public class LSPBindings {
 project2MimeType2Server.values()
.stream()
.flatMap(n -> n.values().stream())
-   .map(description -> description.bindings.get())
+   .map(description -> description.bindings != 
null ? description.bindings.get() : null)
.filter(binding -> binding != null)
.forEach(allBindings::add);
 workspace2Extension2Server.values()

-
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-5627) Gradle project Lookup inconsistent until OpenProjects.open()

2021-04-29 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-5627:
-
Labels: pull-request-available  (was: )

> Gradle project Lookup inconsistent until OpenProjects.open()
> 
>
> Key: NETBEANS-5627
> URL: https://issues.apache.org/jira/browse/NETBEANS-5627
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Reporter: Svatopluk Dedic
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Gradle fallback support recognizes several plugins from the directory 
> structure (without reading the {{build.gradle}} file): groovy, java,  scala, 
> war.
> However project Lookup does not contain services for those Plugins, until 
> OpenProjects.open() is called. The Project, however still untrusted, and 
> unevaluated, starts to serve java-related services.
> This is inconsistent with project API's philosophy: 
> [https://bits.netbeans.org/dev/javadoc/org-netbeans-modules-projectuiapi-base/org/netbeans/api/project/ui/OpenProjects.html]
> {quote}*Only certain operations should actually be aware of which projects 
> are "open"; by default, all project functionality should be available whether 
> it is open or not.*
> {quote}
> In this particular situation, ClassPath.getClassPath(sourceFile, SOURCE) does 
> not return ClassPath even though Gradle fallback support recognizes 'java' 
> and 'java-base' plugins until the project opens in the UI. For the rest of 
> the IDE, the project appears as not having any sources in it - the returned 
> ClassPath is not marked as incomplete, but simply does not exist.



--
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-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-5638:
-
Labels: Testing pull-request-available  (was: Testing)

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Assignee: Svatopluk Dedic
>Priority: Major
>  Labels: Testing, pull-request-available
> Fix For: 12.5
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
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-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic commented on NETBEANS-5638:
---

// cc: [~jtulach]

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Assignee: Svatopluk Dedic
>Priority: Major
>  Labels: Testing
> Fix For: 12.5
>
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
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-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic updated NETBEANS-5638:
--
Labels: Testing  (was: )

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Priority: Major
>  Labels: Testing
> Fix For: 12.5
>
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
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-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic reassigned NETBEANS-5638:
-

Assignee: Svatopluk Dedic

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Assignee: Svatopluk Dedic
>Priority: Major
>  Labels: Testing
> Fix For: 12.5
>
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
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-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic updated NETBEANS-5638:
--
Component/s: apisupport - Harness

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Priority: Major
> Fix For: 12.5
>
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
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-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic updated NETBEANS-5638:
--
Priority: Major  (was: Critical)

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Svatopluk Dedic
>Priority: Major
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
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-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic updated NETBEANS-5638:
--
Affects Version/s: 12.4

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Priority: Major
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
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-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic updated NETBEANS-5638:
--
Fix Version/s: 12.5

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Priority: Major
> Fix For: 12.5
>
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
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-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)
Svatopluk Dedic created NETBEANS-5638:
-

 Summary: NbTestCase.assertGC fails with SecurityException
 Key: NETBEANS-5638
 URL: https://issues.apache.org/jira/browse/NETBEANS-5638
 Project: NetBeans
  Issue Type: Bug
Reporter: Svatopluk Dedic


During testing, I've found out that *assertGC* paths to root analysis fails 
with *SecurityException* and does not provide any reasonable results:
{code:java}
java.lang.SecurityException: Prohibited package name: java.lang
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at 
org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
{code}
The exception was thrown, because Insane library queries *getDeclaredMethods()* 
on *org.netbeans.NbInstrumentation* - the whole heap traversal then fails, 
since on JDK8 Module is not loaded from runtime, and an attempt to load it from 
boot.jar fails.

 



--
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-3579) Code completion not working inside block lambdas

2021-04-29 Thread Akhilesh Singh (Jira)


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

Akhilesh Singh commented on NETBEANS-3579:
--

Sorry, My bad. Its NetBeans 12.3 PFA

 

!3579.png!

> Code completion not working inside block lambdas
> 
>
> Key: NETBEANS-3579
> URL: https://issues.apache.org/jira/browse/NETBEANS-3579
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2
>Reporter: Jan Lahoda
>Assignee: Akhilesh Singh
>Priority: Critical
> Attachments: 3579.png, RE Defect #3579 Status  Findings.msg, RE 
> Defect #3579 Status  Findings.msg, Screenshot (346).png
>
>
> Consider the following code ('|' should not be part of the code, and 
> represents where the caret should be placed):
> {{package org.netbeans.modules.learning.lambda.code.completion;}}
> {{import java.util.Collection;}}
> {{public class NewClass {}}
> {{    public int compute(Collection c) {}}
> {{    return c.stream().map(s -> {s.|)}}
> {{    }}}
> {{}}}
> Invoking the code completion at the marked place ('|') yields not results 
> whatsoever for me. That is apparently wrong - there should be results for a 
> variable of type String.
>  
> The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed 
> running on JDK 13:
> Product Version: Apache NetBeans IDE 11.2
> Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
> Runtime: OpenJDK Runtime Environment 13.0.1+9
> System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb)
> User directory: /tmp/nbuser.lambda.test
> Cache directory: /tmp/nbuser.lambda.test/var/cache



--
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-3579) Code completion not working inside block lambdas

2021-04-29 Thread Akhilesh Singh (Jira)


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

Akhilesh Singh updated NETBEANS-3579:
-
Attachment: 3579.png

> Code completion not working inside block lambdas
> 
>
> Key: NETBEANS-3579
> URL: https://issues.apache.org/jira/browse/NETBEANS-3579
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2
>Reporter: Jan Lahoda
>Assignee: Akhilesh Singh
>Priority: Critical
> Attachments: 3579.png, RE Defect #3579 Status  Findings.msg, RE 
> Defect #3579 Status  Findings.msg, Screenshot (346).png
>
>
> Consider the following code ('|' should not be part of the code, and 
> represents where the caret should be placed):
> {{package org.netbeans.modules.learning.lambda.code.completion;}}
> {{import java.util.Collection;}}
> {{public class NewClass {}}
> {{    public int compute(Collection c) {}}
> {{    return c.stream().map(s -> {s.|)}}
> {{    }}}
> {{}}}
> Invoking the code completion at the marked place ('|') yields not results 
> whatsoever for me. That is apparently wrong - there should be results for a 
> variable of type String.
>  
> The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed 
> running on JDK 13:
> Product Version: Apache NetBeans IDE 11.2
> Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
> Runtime: OpenJDK Runtime Environment 13.0.1+9
> System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb)
> User directory: /tmp/nbuser.lambda.test
> Cache directory: /tmp/nbuser.lambda.test/var/cache



--
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] [Comment Edited] (NETBEANS-5633) git commit ignores excluded files and commits everything

2021-04-29 Thread Andrew (Jira)


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

Andrew edited comment on NETBEANS-5633 at 4/29/21, 8:21 AM:


It is a quite big java8 maven project tree, which consists of several modules. 
The issue is being reproduced each time when I want to not commit some files. 
So as work it around I have to revert such files, making local backup before 
commit if I need to keep my changes locally.

The project is old. I was working on it with NetBeans 8.0 and 8.2. Excluding 
files from commit definitely worked there. I'm using the feature time to time, 
so I am not sure if it worked since I had switched to NetBeans 12.0.


was (Author: coder27):
It is a quite big maven project tree, which consists of several modules. The 
issue is being reproduced each time when I want to not commit some files. So as 
work it around I have to revert such files, making local backup before commit 
if I need to keep my changes locally.

The project is old. I was working on it with NetBeans 8.0 and 8.2. Excluding 
files from commit definitely worked there. I'm using the feature time to time, 
so I am not sure if it worked since I had switched to NetBeans 12.0.

> git commit ignores excluded files and commits everything
> 
>
> Key: NETBEANS-5633
> URL: https://issues.apache.org/jira/browse/NETBEANS-5633
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.0
> Environment: *Product Version:* Apache NetBeans IDE 12.0
> *Java:* 11.0.10; OpenJDK 64-Bit Server VM 11.0.10+9-Ubuntu-0ubuntu1.20.04
> *Runtime:* OpenJDK Runtime Environment 11.0.10+9-Ubuntu-0ubuntu1.20.04
> *System:* Linux version 5.8.0-50-generic running on amd64; UTF-8; en_US (nb)
> git version 2.25.1
>Reporter: Andrew
>Priority: Major
>
> On git commit there is a dialog which prompts checkbox list of files to be 
> commited, but unchecked files are being comitted too.



--
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] [Comment Edited] (NETBEANS-5633) git commit ignores excluded files and commits everything

2021-04-29 Thread Andrew (Jira)


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

Andrew edited comment on NETBEANS-5633 at 4/29/21, 8:19 AM:


It is a quite big maven project tree, which consists of several modules. The 
issue is being reproduced each time when I want to not commit some files. So as 
work it around I have to revert such files, making local backup before commit 
if I need to keep my changes locally.

The project is old. I was working on it with NetBeans 8.0 and 8.2. Excluding 
files from commit definitely worked there. I'm using the feature time to time, 
so I am not sure if it worked since I had switched to NetBeans 12.0.


was (Author: coder27):
It is a quite big maven project tree, which consists of several modules. The 
issue is being reproduced each time when I want to not commit some files. So as 
work it around I have to revert such files, making local backup before commit 
if I need to keep my changes locally.

> git commit ignores excluded files and commits everything
> 
>
> Key: NETBEANS-5633
> URL: https://issues.apache.org/jira/browse/NETBEANS-5633
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.0
> Environment: *Product Version:* Apache NetBeans IDE 12.0
> *Java:* 11.0.10; OpenJDK 64-Bit Server VM 11.0.10+9-Ubuntu-0ubuntu1.20.04
> *Runtime:* OpenJDK Runtime Environment 11.0.10+9-Ubuntu-0ubuntu1.20.04
> *System:* Linux version 5.8.0-50-generic running on amd64; UTF-8; en_US (nb)
> git version 2.25.1
>Reporter: Andrew
>Priority: Major
>
> On git commit there is a dialog which prompts checkbox list of files to be 
> commited, but unchecked files are being comitted too.



--
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] [Comment Edited] (NETBEANS-5633) git commit ignores excluded files and commits everything

2021-04-29 Thread Andrew (Jira)


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

Andrew edited comment on NETBEANS-5633 at 4/29/21, 8:02 AM:


It is a quite big maven project tree, which consists of several modules. The 
issue is being reproduced each time when I want to not commit some files. So as 
work it around I have to revert such files, making local backup before commit 
if I need to keep my changes locally.


was (Author: coder27):
It is quite big maven project. The issue is being reproduced each time when I 
want to not commit some files. So as work it around I have to revert such 
files, making local backup before commit if I need to keep my changes locally.

> git commit ignores excluded files and commits everything
> 
>
> Key: NETBEANS-5633
> URL: https://issues.apache.org/jira/browse/NETBEANS-5633
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.0
> Environment: *Product Version:* Apache NetBeans IDE 12.0
> *Java:* 11.0.10; OpenJDK 64-Bit Server VM 11.0.10+9-Ubuntu-0ubuntu1.20.04
> *Runtime:* OpenJDK Runtime Environment 11.0.10+9-Ubuntu-0ubuntu1.20.04
> *System:* Linux version 5.8.0-50-generic running on amd64; UTF-8; en_US (nb)
> git version 2.25.1
>Reporter: Andrew
>Priority: Major
>
> On git commit there is a dialog which prompts checkbox list of files to be 
> commited, but unchecked files are being comitted too.



--
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-5633) git commit ignores excluded files and commits everything

2021-04-29 Thread Andrew (Jira)


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

Andrew commented on NETBEANS-5633:
--

It is quite big maven project. The issue is being reproduced each time when I 
want to not commit some files. So as work it around I have to revert such 
files, making local backup before commit if I need to keep my changes locally.

> git commit ignores excluded files and commits everything
> 
>
> Key: NETBEANS-5633
> URL: https://issues.apache.org/jira/browse/NETBEANS-5633
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.0
> Environment: *Product Version:* Apache NetBeans IDE 12.0
> *Java:* 11.0.10; OpenJDK 64-Bit Server VM 11.0.10+9-Ubuntu-0ubuntu1.20.04
> *Runtime:* OpenJDK Runtime Environment 11.0.10+9-Ubuntu-0ubuntu1.20.04
> *System:* Linux version 5.8.0-50-generic running on amd64; UTF-8; en_US (nb)
> git version 2.25.1
>Reporter: Andrew
>Priority: Major
>
> On git commit there is a dialog which prompts checkbox list of files to be 
> commited, but unchecked files are being comitted too.



--
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-5637) Automatic configuration of javadoc for JDK platforms

2021-04-29 Thread Alessandro Polverini (Jira)
Alessandro Polverini created NETBEANS-5637:
--

 Summary: Automatic configuration of javadoc for JDK platforms
 Key: NETBEANS-5637
 URL: https://issues.apache.org/jira/browse/NETBEANS-5637
 Project: NetBeans
  Issue Type: Bug
  Components: java - Javadoc, java - Platform
Affects Versions: 11.3
Reporter: Alessandro Polverini


I've tried on all possible ways I could think and followed all the 
stackexchange suggestions but I was not able to link the jdk javadoc for java 
11 to 16 using the one available online from oracle website.

Since the URL of the javadoc is well defined and stable, for example 
https://docs.oracle.com/en/java/javase/11/docs/api/ for java11, it would be 
useful to autoconfigure it as a default when creating a new entry in the "java 
platforms" netbeans configuration.



--
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