[netbeans] branch master updated (e12dbc0 -> 7d9a276)

2021-06-14 Thread jlahoda
This is an automated email from the ASF dual-hosted git repository.

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


from e12dbc0  Checking nullness of the the right variables
 add 7d9a276  Fixing selected tests and behavior on JDK 17.

No new revisions were added by this update.

Summary of changes:
 apisupport/apisupport.ant/nbproject/project.xml|   4 +
 .../modules/apisupport/project/EvaluatorTest.java  |   3 +-
 .../project/queries/ClassPathProviderImplTest.java |   4 +-
 .../apisupport/hints/UseNbBundleMessagesTest.java  |  60 ---
 groovy/groovy.editor/nbproject/project.xml |  12 ++-
 .../modules/groovy/editor/test/GroovyTestBase.java |  22 +---
 .../netbeans/modules/classfile/ModuleTarget.java   |  34 +++---
 .../org/netbeans/modules/classfile/ModuleTest.java |   9 +-
 java/debugger.jpda.projects/nbproject/project.xml  |   4 +
 .../jpda/projects/CodeSnippetCompiler.java |   1 +
 .../debugger/jpda/projects/IntroduceClass.java |  10 +-
 .../jpda/projects/CodeSnippetCompilerTest.java |  40 ---
 .../JavaCompletionTaskTest/17/javaUtilContent.pass | 116 +
 .../base/javadoc/JavadocCompletionUtils.java   |  21 +++-
 .../base/semantic/SemanticHighlighterBase.java |   6 --
 .../java/editor/base/semantic/Utilities.java   |   5 +
 .../java/editor/base/semantic/DetectorTest.java|   4 +-
 .../editor/javadoc/JavadocCompletionQuery.java |  45 +---
 .../codegen/EqualsHashCodeGeneratorTest.java   |   3 +-
 .../java/editor/codegen/ToStringGeneratorTest.java |   3 +-
 .../editor/javadoc/JavadocCompletionQueryTest.java |   2 +-
 java/java.hints/nbproject/project.properties   |   1 +
 .../testTestUnicodeError.pass  |   3 +-
 .../modules/java/hints/errors/ExtraCatchTest.java  |   6 +-
 .../infrastructure/ErrorHintsProviderTest.java |  10 +-
 .../platformdefinition/DefaultPlatformImpl.java|  14 ++-
 .../java/j2seplatform/platformdefinition/Util.java |   6 +-
 java/java.navigation/nbproject/project.xml |   4 +
 .../java/navigation/BreadCrumbsNodeImplTest.java   |  24 ++---
 .../api/java/platform/JavaPlatformManagerTest.java |   5 +-
 .../modules/java/source/JavaSourceUtilImpl.java|  21 +++-
 .../netbeans/modules/java/source/ModuleNames.java  |  13 +--
 .../netbeans/modules/java/source/TreeShims.java|  21 +++-
 .../java/source/indexing/VanillaCompileWorker.java |  13 ++-
 .../modules/java/source/matching/CopyFinder.java   |   5 +-
 .../modules/java/source/save/CasualDiff.java   |  47 ++---
 .../source/transform/ImmutableTreeTranslator.java  |   2 +-
 .../java/source/transform/TreeDuplicator.java  |   2 +-
 .../modules/java/source/transform/TreeHelpers.java |  41 
 .../java/source/usages/SourceAnalyzerFactory.java  |   2 +
 .../org/netbeans/api/java/source/ElementsTest.java |   1 +
 .../netbeans/api/java/source/JavaSourceTest.java   |   5 +
 .../api/java/source/TreePathHandleTest.java|   3 +-
 .../api/java/source/gen/FieldGroupTest.java|   2 +
 .../netbeans/api/java/source/gen/LabelsTest.java   |  14 +--
 .../api/java/source/gen/ModuleInfoTest.java|  66 
 .../api/java/source/gen/TreeManipulationTest.java  |   2 +-
 .../modules/java/source/BootClassPathUtil.java |  15 +++
 .../java/source/JavaSourceUtilImplTest.java|  23 
 .../java/source/parsing/JavacParserTest.java   |   6 ++
 .../modules/java/source/save/FormatingTest.java|  20 ++--
 java/java.source.queriesimpl/nbproject/project.xml |   9 ++
 .../source/queriesimpl/JavaOperationsImpl.java |   6 ++
 .../source/queriesimpl/JavaOperationsImplTest.java |   3 +-
 java/java.source/nbproject/project.xml |  16 +--
 .../org/netbeans/api/java/source/UiUtilsTest.java  |  22 +---
 .../LookupBasedJavaSourceTaskFactoryTest.java  |   4 +-
 .../modules/java/classfile/CodeGeneratorTest.java  |  10 +-
 .../lib/nbjavac/services/NBClassWriterTest.java|   6 +-
 .../maven/classpath/ClassPathProviderImplTest.java |   8 ++
 .../java/plugins/RenameTransformer.java|   4 +
 .../modules/java/hints/spiimpl/UtilitiesTest.java  |  22 ++--
 .../spi/java/hints/JavaFixUtilitiesTest.java   |  11 +-
 .../o.n.bootstrap/src/org/netbeans/Module.java |  16 ++-
 .../util/test/AnnotationProcessorTestUtils.java|   2 +-
 65 files changed, 649 insertions(+), 295 deletions(-)
 create mode 100644 
java/java.completion/test/unit/data/goldenfiles/org/netbeans/modules/java/completion/JavaCompletionTaskTest/17/javaUtilContent.pass
 create mode 100644 
java/java.source.base/src/org/netbeans/modules/java/source/transform/TreeHelpers.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:

[jira] [Commented] (NETBEANS-5780) netbeans wrongly reports "selected bean not in the same module"

2021-06-14 Thread Paul (Jira)


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

Paul commented on NETBEANS-5780:


yes - there are workarounds, but I used NB for ~ 15 years because of low 
breaking-defects. The efficiency & power of NB was a differentiator. 

> netbeans wrongly reports "selected bean not in the same module"
> ---
>
> Key: NETBEANS-5780
> URL: https://issues.apache.org/jira/browse/NETBEANS-5780
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - EJB Project
>Affects Versions: 12.4
> Environment: openjdk15
> OSX 11.4 (20F71)
> NB12.4 recently installed - has not been messed with
>Reporter: Paul
>Priority: Major
>  Labels: EJB, editor
> Attachments: callEJBBug.png
>
>
> replicating:
>  * create enterprise project including EJB and Web module etc.
>  * create EJB XYZ with Local interface. Add business method
>  * create REST WS in the web project
>  * inside a REST method, Ctrl-I and select Call Enterprise Bean
>  * navigate to XYZ EJB module, and select the XYZ EJB.
> see red warning "{color:#de350b}selected bean is not in the same enterprise 
> module{color}". see screenshot
> this project was created previously using the same steps as above, in NB12.1 
> or something. It deploys and runs using @Local references so clearly this is 
> a regression (or some other change in project structure constraints).



--
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-5780) netbeans wrongly reports "selected bean not in the same module"

2021-06-14 Thread Paul (Jira)
Paul created NETBEANS-5780:
--

 Summary: netbeans wrongly reports "selected bean not in the same 
module"
 Key: NETBEANS-5780
 URL: https://issues.apache.org/jira/browse/NETBEANS-5780
 Project: NetBeans
  Issue Type: Bug
  Components: javaee - EJB Project
Affects Versions: 12.4
 Environment: openjdk15

OSX 11.4 (20F71)

NB12.4 recently installed - has not been messed with
Reporter: Paul
 Attachments: callEJBBug.png

replicating:
 * create enterprise project including EJB and Web module etc.
 * create EJB XYZ with Local interface. Add business method
 * create REST WS in the web project
 * inside a REST method, Ctrl-I and select Call Enterprise Bean
 * navigate to XYZ EJB module, and select the XYZ EJB.

see red warning "{color:#de350b}selected bean is not in the same enterprise 
module{color}". see screenshot

this project was created previously using the same steps as above, in NB12.1 or 
something. It deploys and runs using @Local references so clearly this is a 
regression (or some other change in project structure constraints).



--
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-5779) "Organize Imports" removes import of a referenced record

2021-06-14 Thread dennis lucero (Jira)
dennis lucero created NETBEANS-5779:
---

 Summary: "Organize Imports" removes import of a referenced record
 Key: NETBEANS-5779
 URL: https://issues.apache.org/jira/browse/NETBEANS-5779
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.4
Reporter: dennis lucero


When the "On Save" action "Organize Imports" is enabled, references to records 
from other files are removed when saving the file.

Simplified example:

File org/example/MainApp.java:
{code:java}
package org.example;
import org.example.model.Foobar;
public class MainApp {
  private Foobar f;
}
{code}

File org/example/model/Foobar.java:

{code:java}
package org.example.model;
public record Foobar(String name) {
}
{code}
After saving MainApp.java, the import line is removed and the file cannot be 
compiled.



--
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-5778) Window layout lost after update

2021-06-14 Thread dennis lucero (Jira)
dennis lucero created NETBEANS-5778:
---

 Summary: Window layout lost after update
 Key: NETBEANS-5778
 URL: https://issues.apache.org/jira/browse/NETBEANS-5778
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.4
Reporter: dennis lucero


This is the same as [https://bz.apache.org/netbeans/show_bug.cgi?id=249040:]

After using 12.3, I unpacked 12.4. I imported the settings from 12.3 by 
confirming the prompt on the first run.

The window layout (I had enabled Javadoc and Action items) and the open file 
tabs were lost.

Settings retained:
- Open projects
- Other configuration

Settings lost:
- Window layout
- Open files



--
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-5778) Window layout lost after update

2021-06-14 Thread dennis lucero (Jira)


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

dennis lucero updated NETBEANS-5778:

Description: 
This is the same as [https://bz.apache.org/netbeans/show_bug.cgi?id=249040]:

After using 12.3, I unpacked 12.4. I imported the settings from 12.3 by 
confirming the prompt on the first run.

The window layout (I had enabled Javadoc and Action items) and the open file 
tabs were lost.

Settings retained:
- Open projects
- Other configuration

Settings lost:
- Window layout
- Open files

  was:
This is the same as [https://bz.apache.org/netbeans/show_bug.cgi?id=249040:]

After using 12.3, I unpacked 12.4. I imported the settings from 12.3 by 
confirming the prompt on the first run.

The window layout (I had enabled Javadoc and Action items) and the open file 
tabs were lost.

Settings retained:
- Open projects
- Other configuration

Settings lost:
- Window layout
- Open files


> Window layout lost after update
> ---
>
> Key: NETBEANS-5778
> URL: https://issues.apache.org/jira/browse/NETBEANS-5778
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
>Reporter: dennis lucero
>Priority: Major
>
> This is the same as [https://bz.apache.org/netbeans/show_bug.cgi?id=249040]:
> After using 12.3, I unpacked 12.4. I imported the settings from 12.3 by 
> confirming the prompt on the first run.
> The window layout (I had enabled Javadoc and Action items) and the open file 
> tabs were lost.
> Settings retained:
> - Open projects
> - Other configuration
> Settings lost:
> - Window layout
> - Open files



--
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-5716) Add generics angle brackets (<>) highlighting for Java

2021-06-14 Thread Jakub Herkel (Jira)


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

Jakub Herkel reassigned NETBEANS-5716:
--

Assignee: Jakub Herkel

> Add generics angle brackets (<>) highlighting for Java
> --
>
> Key: NETBEANS-5716
> URL: https://issues.apache.org/jira/browse/NETBEANS-5716
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Pavel_K
>Assignee: Jakub Herkel
>Priority: Major
> Attachments: Screenshot from 2021-05-27 10-33-18.png
>
>
> When we work with round brackets in java we can see the start and end bracket 
> via highlighting. For example:
> !Screenshot from 2021-05-27 10-33-18.png!
> I suggest to add the same functionality for angle bracket of generics, 
> because rather often a structure can be complex and it is not seen where the 
> bracket starts and where it ends.
> For example,
> {code:java}
> Map,  Map AbstractCourse>>> coursesByStudentTypeAndTime;{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] [Commented] (NETBEANS-5411) Git Branch Display

2021-06-14 Thread Martin H. (Jira)


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

Martin H. commented on NETBEANS-5411:
-

I've actually missed the `Synchronize Editor with Views` item and found it to 
be very handy. Indeed, it covers the use case mentioned above. Thank you.

However, the branch name is still not visible when the project pane is 
minimized, or if the project tree contains a lot of items and is scrolled down.

In this context, an option to have the branch name as a quick glimpse at the 
status bar would be a nice addition.

> Git Branch Display
> --
>
> Key: NETBEANS-5411
> URL: https://issues.apache.org/jira/browse/NETBEANS-5411
> Project: NetBeans
>  Issue Type: New Feature
>  Components: versioncontrol - Git
>Reporter: Victor Pineda
>Priority: Major
> Attachments: Screenshot.png
>
>
> One option to display the current branch on we are working, would be great.
>  
> There is a plugin, but this has not been updated since a while and this is a 
> basic build-in feature that NetBeans definitely should have.
>  
> see: https://github.com/Chris2011/nb-git-branch-in-statusbar



--
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-5773) gpg verification failure for NetBeans 12.0 Linux Downloads

2021-06-14 Thread Eric Barboni (Jira)


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

Eric Barboni commented on NETBEANS-5773:


Hi,

I cannot reproduce on my side :/ Don't know what happens

gpg --verify Apache-NetBeans-12.0-bin-linux-x64.sh.asc 
Apache-NetBeans-12.0-bin-linux-x64.sh
gpg: Signature made Tue Jun 9 17:50:58 2020 CEST
gpg: using RSA key 8FE1C26F15E0320E740BAED84A2601CEDA9382F3
gpg: issuer "sk...@apache.org"
gpg: Good signature from "Eric Barboni (Signing Key) " 
[ultimate]

> gpg verification failure for NetBeans 12.0 Linux Downloads
> --
>
> Key: NETBEANS-5773
> URL: https://issues.apache.org/jira/browse/NETBEANS-5773
> Project: NetBeans
>  Issue Type: Test
>Affects Versions: 12.0
> Environment: Linux Mint 19.3
>Reporter: Ip Smile
>Priority: Critical
>
> Downloaded NetBeans 12.0 Binary for Linux x64 files, SHA-512, and PGP ASC 
> files from:
> [https://netbeans.apache.org/download/nb120/nb120.html]
> verified the file integrity and the results are as follows:
> $ cat Apache-NetBeans-12.0-bin-linux-x64.sh.sha512
> 0a70f822f2329da40371a3f4d26e5a6ef8faf277f454a52d5ec3d42d4d8c21956f67b82fe0b002a0c8c229a568605f678c9d351b31a7059fa46ae862bdccec84
>  ./Apache-NetBeans-12.0-bin-linux-x64.sh
> $ sha512sum Apache-NetBeans-12.0-bin-linux-x64.sh
> 21f84ef182cd5dae2c3467db3b0fe708092ca1057014cb062dde5ba18e50131374c1156acc7ef7be89a0bed00e25454bb48ced616f4c8c35ebbfa50ce5091c96
>  ./Apache-NetBeans-12.0-bin-linux-x64.sh
> $ gpg --import KEYS     [Previously imported KEYS for 12.04]
> gpg: key B4C1940FEA9364F1: "Jan Lahoda (Key for signing Apache NetBeans & co. 
> releases.) " not changed
> gpg: key 13E9F7AE3A4FD551: "geert...@apache.org (Key for signing Apache 
> NetBeans & co. releases.) " not changed
> gpg: key CF7BA0AB1CCF4647: "Emilian Marius Bold " not changed
> gpg: key B2BF814FA145CB2D: "Laszlo Kishalmi (CODE SIGNING KEY) 
> " not changed
> gpg: key 4A2601CEDA9382F3: "Eric Barboni (Signing Key) " 
> not changed
> gpg: key 3703AC389A12A9D4: "Neil C Smith " not changed
> gpg: key 57D5896CD86C1320: "Reema Taneja (Code Signing Key) 
> " not changed
> gpg: key E860B148D27236F9: "Jaroslav Tulach (Key for signing Apache NetBeans 
> & co. releases.) " not changed
> gpg: key 6FA863B0C32A18B1: "Arunava Sinha (CODE SIGNING KEY) 
> " not changed
> gpg: key 3ED477750C09D18D: "John McDonnell (CODE SIGNING KEY) 
> " not changed
> gpg: key 5CDA98F97CD37A42: "Anton Epple " not changed
> gpg: key 13548D7CCAFAE80D: "Jaroslav Tulach (2nd key for signing NetBeans 
> releases) " not changed
> gpg: key 7022397A0BFA52E9: "Geertjan Wielenga " not 
> changed
> gpg: Total number processed: 13
> gpg: unchanged: 13
> $ gpg --verify Apache-NetBeans-12.0-bin-linux-x64.sh.asc 
> Apache-NetBeans-12.0-bin-linux-x64.sh
> gpg: Signature made Tue 09 Jun 2020 08:50:58 AM PDT
> gpg: using RSA key 8FE1C26F15E0320E740BAED84A2601CEDA9382F3
> gpg: issuer "sk...@apache.org"
> gpg: BAD signature from "Eric Barboni (Signing Key) " 
> [unknown]
>  



--
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-5777) Static initializers not running in NetBeans with java 16

2021-06-14 Thread James Dolan (Jira)
James Dolan created NETBEANS-5777:
-

 Summary: Static initializers not running in NetBeans with java 16
 Key: NETBEANS-5777
 URL: https://issues.apache.org/jira/browse/NETBEANS-5777
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.4
 Environment: Windows 10 Pro

openjdk version "16.0.1" 2021-04-20

OpenJDK Runtime Environment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9)
Reporter: James Dolan


When running a project from the IDE, static initializers never seem to run.

For example:
{code:java}
public class StaticInitializerTest{
public static String str;
static{
System.out.println("Static initializer has run!");
str = "set";
}
public static void whatIsStr(){
System.out.println(str);
}
public static void main(String[] args) {
whatIsStr();
}
}
{code}
When run from in the IDE, the output reads
{code:java}
null{code}
When run from the command line, the output reads
{code:java}
Static initializer has run!
set{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-html4j] branch master updated: Gradle 7.0 no longer supports 'compile' dependency

2021-06-14 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 112099f  Gradle 7.0 no longer supports 'compile' dependency
112099f is described below

commit 112099f7b4642248beef20d172b088598208c14f
Author: Jaroslav Tulach 
AuthorDate: Mon Jun 14 10:26:23 2021 +0200

Gradle 7.0 no longer supports 'compile' dependency
---
 html4j-maven-plugin/pom.xml | 2 +-
 .../src/test/resources/org/netbeans/html/mojo/gradle1/build.gradle  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/html4j-maven-plugin/pom.xml b/html4j-maven-plugin/pom.xml
index deb9d76..7e39a80 100644
--- a/html4j-maven-plugin/pom.xml
+++ b/html4j-maven-plugin/pom.xml
@@ -150,7 +150,7 @@
   build
   
   
src/test/resources/org/netbeans/html/mojo/gradle1
-  6.3
+  7.0
   
   
   
diff --git 
a/html4j-maven-plugin/src/test/resources/org/netbeans/html/mojo/gradle1/build.gradle
 
b/html4j-maven-plugin/src/test/resources/org/netbeans/html/mojo/gradle1/build.gradle
index 9e00c43..357ecd8 100644
--- 
a/html4j-maven-plugin/src/test/resources/org/netbeans/html/mojo/gradle1/build.gradle
+++ 
b/html4j-maven-plugin/src/test/resources/org/netbeans/html/mojo/gradle1/build.gradle
@@ -43,7 +43,7 @@ apply plugin: 'html4j'
 def jars = fileTree(dir: '../../../../../../../../../boot/target/', include: 
['*.jar'])
 
 dependencies {
-compile jars
+implementation jars
 annotationProcessor jars
 }
 

-
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-5775) NoSuchMethodError: 'void com.sun.tools.javac.util.Log.in .dump files when running NetBeans with JDK17+26

2021-06-14 Thread ASF GitHub Bot (Jira)


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

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

> NoSuchMethodError: 'void com.sun.tools.javac.util.Log.in .dump files 
> when running NetBeans with JDK17+26
> --
>
> Key: NETBEANS-5775
> URL: https://issues.apache.org/jira/browse/NETBEANS-5775
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: Next
> Environment: Apache NetBeans IDE DEV (Build 
> dev-e12dbc0207b0c944ebb50b5372b9050e1223499f)
> OpenJDK Runtime Environment (build 17-internal+26-adhoc.Ludovic.jdk17)
>Reporter: Ludovic HOCHET
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Since JDK17+26, I see .dump in the log directory with:
> {noformat}
> - Original exception -
> java.lang.NoSuchMethodError: 'void 
> com.sun.tools.javac.util.Log.(com.sun.tools.javac.util.Context, 
> java.io.PrintWriter, java.io.PrintWriter, java.io.PrintWriter)'
>   at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:55)
>   at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:40)
>   at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:73)
>   at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:70)
>   at jdk.compiler/com.sun.tools.javac.util.Context.get(Context.java:149)
>   at jdk.compiler/com.sun.tools.javac.util.Log.instance(Log.java:234)
>   at 
> jdk.compiler/com.sun.tools.javac.main.Arguments.(Arguments.java:120)
>   at 
> jdk.compiler/com.sun.tools.javac.main.Arguments.instance(Arguments.java:112)
>   at 
> jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:190)
>   at 
> org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:992)
>   at 
> org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:839)
>   at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:428)
>   at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:626)
>   at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:399)
>   at 
> org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88)
>   at 
> org.netbeans.modules.java.source.JavaSourceUtilImpl$1.parseModule(JavaSourceUtilImpl.java:290)
>   at 
> org.netbeans.modules.java.preprocessorbridge.api.ModuleUtilities.parseModule(ModuleUtilities.java:80)
>   at 
> org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.getResources(ModuleClassPaths.java:844)
>   at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
>   at 
> org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.getResources(MuxClassPathImplementation.java:90)
>   at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
>   at 
> org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:248)
>   at 
> org.netbeans.modules.java.source.indexing.APTUtils.listenOnProcessorPath(APTUtils.java:337)
>   at 
> org.netbeans.modules.java.source.indexing.APTUtils.listen(APTUtils.java:323)
>   at 
> org.netbeans.modules.java.source.indexing.APTUtils.create(APTUtils.java:232)
>   at 
> org.netbeans.modules.java.source.indexing.APTUtils.get(APTUtils.java:177)
>   at 
> org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:846)
>   at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:428)
>   at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:626)
>   at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:399)
>   at 
> org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:88)
>   at 
> org.netbeans.modules.java.JavaNode$IconTask$SourceIcon$1.run(JavaNode.java:521)
>   at 
> org.netbeans.modules.java.JavaNode$IconTask$SourceIcon$1.run(JavaNode.java:518)
>   at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
>