[jira] [Commented] (NETBEANS-3918) Maven new project wizard creates spurious directories

2020-02-29 Thread Jaroslav Tulach (Jira)


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

Jaroslav Tulach commented on NETBEANS-3918:
---

Thanks for investigating the problem and letting me know about your proposed 
fix.

> Maven new project wizard creates spurious directories
> -
>
> Key: NETBEANS-3918
> URL: https://issues.apache.org/jira/browse/NETBEANS-3918
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Ernie Rael
>Assignee: Jaroslav Tulach
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> This derives from the 2nd part of NETBEANS-2446. Whenever the "Name and 
> Location" panel for maven's NewProject action is exited, a directory is 
> created for the indicated "Project Folder:". This could be after pressing 
> "Back", "Next", "Cancel". 



--
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-3918) Maven new project wizard creates spurious directories

2020-02-29 Thread Jaroslav Tulach (Jira)


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

Jaroslav Tulach reassigned NETBEANS-3918:
-

Assignee: Jaroslav Tulach

> Maven new project wizard creates spurious directories
> -
>
> Key: NETBEANS-3918
> URL: https://issues.apache.org/jira/browse/NETBEANS-3918
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Ernie Rael
>Assignee: Jaroslav Tulach
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> This derives from the 2nd part of NETBEANS-2446. Whenever the "Name and 
> Location" panel for maven's NewProject action is exited, a directory is 
> created for the indicated "Project Folder:". This could be after pressing 
> "Back", "Next", "Cancel". 



--
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-3875) Jersey project creation from archetype fails

2020-02-29 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-3875:
--

This is fixed by pull request #1991.

(I reproduced the problem. I found the correct archetype from the log in the 
description)

> Jersey project creation from archetype fails
> 
>
> Key: NETBEANS-3875
> URL: https://issues.apache.org/jira/browse/NETBEANS-3875
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Alessandro Falappa
>Priority: Major
> Attachments: jersey-quickstart.PNG
>
>
> # New Project > Java with Maven > Project from Archetype
>  # Search for *jersey*
>  # Select the first {{jersey-quickstart-archetype}} archetype item (group id: 
> {{org.glassfish.jersey.archetypes}} version: {{2.30}})
>  # Press _Next_
>  # Choose foobar as *Project Name*
>  # Fill the other field and choose an empty directory as *Project Location*
>  # Press _Finish_
> The project generation fails complaining a folder with name foobar exists. An 
> empty foobar folder is left in the choosen project location.
> {code:java}
> 
> Building Maven Stub Project (No POM) 1
> >>> 
> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @ 
> standalone-pom >>><<< maven-archetype-plugin:2.4:generate (default-cli) < 
> generate-sources @ standalone-pom <<<--- maven-archetype-plugin:2.4:generate 
> (default-cli) @ standalone-pom ---
> Generating project in Batch mode
> Archetype defined by properties
> 
> Using following parameters for creating project from Old (1.x) Archetype: 
> jersey-quickstart-webapp:2.30
> 
> Parameter: basedir, Value: C:\Users\falappa\Documents\NetBeansProjects
> Parameter: package, Value: af.foobar
> Parameter: groupId, Value: af
> Parameter: artifactId, Value: foobar
> Parameter: packageName, Value: af.foobar
> Parameter: version, Value: 1.0-SNAPSHOT
> 
> BUILD FAILURE
> 
> Total time: 1.484 s
> Finished at: 2020-02-13T14:16:58+01:00
> Final Memory: 11M/40M
> 
> Failed to execute goal 
> org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on 
> project standalone-pom: Directory foobar already exists - please run from a 
> clean directory -> [Help 1]To see the full stack trace of the errors, re-run 
> Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.For more 
> information about the errors and possible solutions, please read the 
> following articles:
> [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException{code}
> Probably the Maven from archetype wizard creates the folder prior to maven 
> archetype execution.
> Not sure if this can be considered a bug in the jersey archetype instead.



--
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-3918) Maven new project wizard creates spurious directories

2020-02-29 Thread Ernie Rael (Jira)


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

Ernie Rael commented on NETBEANS-3918:
--

[~jtulach], I don't see how to add you as a reviewer to the pull request; the 
PR modifies a change you made a few years ago.

> Maven new project wizard creates spurious directories
> -
>
> Key: NETBEANS-3918
> URL: https://issues.apache.org/jira/browse/NETBEANS-3918
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> This derives from the 2nd part of NETBEANS-2446. Whenever the "Name and 
> Location" panel for maven's NewProject action is exited, a directory is 
> created for the indicated "Project Folder:". This could be after pressing 
> "Back", "Next", "Cancel". 



--
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-3928) Exception notification raises over and over again

2020-02-29 Thread Martin (Jira)
Martin created NETBEANS-3928:


 Summary: Exception notification raises over and over again
 Key: NETBEANS-3928
 URL: https://issues.apache.org/jira/browse/NETBEANS-3928
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.2
Reporter: Martin


java.util.ConcurrentModificationExceptionjava.util.ConcurrentModificationException
 at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1139) at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.getParameterName(ParameterNameProviderImpl.java:130)
 at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$1.invoke(ParameterNameProviderImpl.java:90)
 at com.sun.proxy.$Proxy26.getParameterName(Unknown Source) at 
com.sun.tools.javac.code.MissingInfoHandler.getParameterName(MissingInfoHandler.java:63)
 at com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1746) 
at com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1731) 
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.lambda$visitMethod$0(ParameterNameProviderImpl.java:142)
 at 
java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
 at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at 
java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
 at 
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) 
at 
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
 at 
java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
 at 
java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 
at 
java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
 at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.visitMethod(ParameterNameProviderImpl.java:142)
 at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.visitMethod(ParameterNameProviderImpl.java:138)
 at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:914) at 
com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at 
com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at 
com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at 
com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) at 
com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:188) at 
com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:822) at 
com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at 
com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at 
com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) at 
com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:145) at 
com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:603) at 
com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$null$0(ParameterNameProviderImpl.java:146)
 at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) 
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
 at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
 at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) 
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) 
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
 at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
 at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
 at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
 at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) 
at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
 at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) 
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$getParameterName$1(ParameterNameProviderImpl.java:136)
 at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1138) at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.getParameterName(ParameterNameProviderImpl.java:130)
 at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$1.invoke(ParameterNameProviderImpl.java:90)
 at com.sun.proxy.$Proxy26.getParameterName(Unknown Source) at 

[jira] [Updated] (NETBEANS-3918) Maven new project wizard creates spurious directories

2020-02-29 Thread ASF GitHub Bot (Jira)


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

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

> Maven new project wizard creates spurious directories
> -
>
> Key: NETBEANS-3918
> URL: https://issues.apache.org/jira/browse/NETBEANS-3918
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Ernie Rael
>Priority: Major
>  Labels: pull-request-available
>
> This derives from the 2nd part of NETBEANS-2446. Whenever the "Name and 
> Location" panel for maven's NewProject action is exited, a directory is 
> created for the indicated "Project Folder:". This could be after pressing 
> "Back", "Next", "Cancel". 



--
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: use a fork of gradle plugin updated for https (#25)

2020-02-29 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 53dfe88  use a fork of gradle plugin updated for https (#25)
53dfe88 is described below

commit 53dfe88d154587f0bbe838cda47ad5299287a951
Author: Eric Barboni 
AuthorDate: Sat Feb 29 23:16:37 2020 +0100

use a fork of gradle plugin updated for https (#25)

https://github.com/thingsboard/gradle-maven-plugin
---
 html4j-maven-plugin/pom.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/html4j-maven-plugin/pom.xml b/html4j-maven-plugin/pom.xml
index 491cb09..6ebc177 100644
--- a/html4j-maven-plugin/pom.xml
+++ b/html4j-maven-plugin/pom.xml
@@ -143,9 +143,9 @@
   
   
   
-  org.fortasoft
+  org.thingsboard
   gradle-maven-plugin
-  1.0.8
+  1.0.9
   
   
   build
@@ -174,7 +174,7 @@
   
   
   
-  org.fortasoft
+  org.thingsboard
   gradle-maven-plugin
   
   
${gradle.installation}


-
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-2842) Using of deprecated pack200 tool in nbm packaging

2020-02-29 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-2842:
-

Maybe replace external call of pack200 with Apache commons compress which still 
does support pack200.

> Using of deprecated pack200 tool in nbm packaging
> -
>
> Key: NETBEANS-2842
> URL: https://issues.apache.org/jira/browse/NETBEANS-2842
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Reporter: Benjamin Graf
>Priority: Critical
>
> Netbeans plugins are mostly compressed in size by the JDK internal pack200 
> tool which is deprecated since JDK 11 ([https://openjdk.java.net/jeps/336]). 
> It should be thought about an alternative as it might get removed in next JDK 
> releases.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-2841) http://137.254.56.27/maven2 id down

2020-02-29 Thread Jira


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

Matthias Bläsing resolved NETBEANS-2841.

Resolution: Incomplete

There is no error description.

> http://137.254.56.27/maven2 id down
> ---
>
> Key: NETBEANS-2841
> URL: https://issues.apache.org/jira/browse/NETBEANS-2841
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Giri Reddy
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-2949) Netbeans 11.1 Cannot Find Network Drives

2020-02-29 Thread Jira


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

Matthias Bläsing resolved NETBEANS-2949.

Resolution: Incomplete

Please use english language and describe the problem you are seeing.

> Netbeans 11.1 Cannot Find Network Drives
> 
>
> Key: NETBEANS-2949
> URL: https://issues.apache.org/jira/browse/NETBEANS-2949
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 Pro 64 bit
>Reporter: Sirius Black
>Priority: Minor
> Attachments: no_network_drives_scanned.PNG
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-2975) Schema2Beans shouldn't return 'null' for primitive types

2020-02-29 Thread Jira


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

Matthias Bläsing resolved NETBEANS-2975.

Resolution: Fixed

Fix was merged to master a long time ago.

> Schema2Beans shouldn't return 'null' for primitive types
> 
>
> Key: NETBEANS-2975
> URL: https://issues.apache.org/jira/browse/NETBEANS-2975
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Reporter: Emmanuel Hugonnet
>Assignee: Emmanuel Hugonnet
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> schema2bean code generator shouldn't return null when the type is primitive.



--
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 (7a17ce6 -> 1b91dc0)

2020-02-29 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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


from 7a17ce6  Merge pull request #1987 from 
JaroslavTulach/jtulach/JumpTo4Everyone
 new 2fb17b0  HtmlRenderer.createLabel() has been broken for years - no-op 
overrides for performance as a cell renderer caused it to return a label which 
would never participate in layout or fire appropriate changes;  this patch 
fixes that
 new 8eb6c7e  Add missing NOI18N labels
 new 4748a17  Fix HtmlRendererTest - there is no indication why the bound 
cor lbl2 should change
 new 1b91dc0  Merge pull request #1990 from matthiasblaesing/pr-1447

The 3702 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:
 .../src/org/openide/awt/HtmlLabelUI.java   |  56 --
 .../src/org/openide/awt/HtmlRenderer.java  |   4 +-
 .../src/org/openide/awt/HtmlRendererImpl.java  | 114 ++-
 .../src/org/openide/awt/PropertyMonitor.java   |   2 +-
 .../unit/src/org/openide/awt/HtmlRendererTest.java | 214 -
 5 files changed, 318 insertions(+), 72 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



[jira] [Commented] (NETBEANS-3620) There were some problems while storing nb-javac Impl

2020-02-29 Thread Gabriel Jijon (Jira)


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

Gabriel Jijon commented on NETBEANS-3620:
-

Hi. This happens when you are behind a proxy (because the file actually exists) 
and because some of those firewalls replaces SSL certificates (making https not 
confiable because an ssl certificate exception). So, you need two things:
 # With help of your browser goto to [https://hg.netbeans.org/binaries/] , and 
download the chain certificate.
 # Install downloaded certificate file on cacerts file of your java 
installation (there are many tuttorials of how to do this)

 

> There were some problems while storing nb-javac Impl
> 
>
> Key: NETBEANS-3620
> URL: https://issues.apache.org/jira/browse/NETBEANS-3620
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Christopher M Logan
>Priority: Major
> Attachments: nb-javac-installation-error.txt
>
>
> There were some problems while storing nb-javac Impl.
> Cause: Cannot resolve external reference to 
> [https://hg.netbeans.org/binaries/344C8C2A8B421A52ABE725A677BF75659C17FEB6-nb-javac-13-impl.jar]
>  
> I was finishing up the 11.2 NetBeans installation and after i opened up the 
> IDE - the popup was shown to install nb-javac. I started the process and it 
> failed with pushing the status to 100%.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-3567) Git failure on Windows

2020-02-29 Thread Jira


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

Matthias Bläsing resolved NETBEANS-3567.

Resolution: Incomplete

I routinely work with repositories cloned with cygwin git and NetBeans. This 
works - first push in NetBeans brings up the configuration wizard, but that is 
ok. As there was no further reply, I'm closing this.

> Git failure on Windows
> --
>
> Key: NETBEANS-3567
> URL: https://issues.apache.org/jira/browse/NETBEANS-3567
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 11.2
> Environment: Windows 10
>Reporter: Ivan Skalauh
>Priority: Critical
>  Labels: git
>
> This bug travels from version to version for a decade now.
> If you clone a repository via ssh via external means (in my case, Git Bash on 
> win), Netbeans' git module fails to work with it ("Auth fail" with the 
> correct and working private key provided). 
> Steps to reproduce:
> - open Git Bash, clone a repository via ssh;
> - open this project in Netbeans;
> - try to pull; fail.
> There's an annoying workaround of re-cloning the repository from inside 
> Netbeans I'm aware of. But maybe it's finally time for this ancient bug to 
> go. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-3571) Netbeans preventing Windows 10 wake from sleep

2020-02-29 Thread Jira


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

Matthias Bläsing resolved NETBEANS-3571.

Resolution: Incomplete

If a usespace programm can cause the OS to fail waking up (I assume from 
suspend) the error should be investigated in the OS. Its the OSes job to shield 
itself from rouge applications. However it is unlikely that a java programm can 
cause system malfunction from normal operations - sure they have the tendency 
to fill the RAM, but that is it.

> Netbeans preventing Windows 10 wake from sleep
> --
>
> Key: NETBEANS-3571
> URL: https://issues.apache.org/jira/browse/NETBEANS-3571
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Mathieu Moloney
>Priority: Major
>
> Recently my computer sometimes doesn't wake if left on overnight. The only 
> solution is hard reset on the power supply (or long press on power button).
> It appears to me the problem is only present if I leave Netbeans open.
> I have just upgraded to v11.2, I will let you know if the problem persists. 
> It was not present in version 8.2.
> *Setup*
> Windows 10
> Asus P2538U
> *Power Options (plugged in) :*
> Turn off the display: 5 minutes
> Put the computer to sleep: never
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-3587) Allows creating stand alone java file in favorites window

2020-02-29 Thread Jira


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

Matthias Bläsing resolved NETBEANS-3587.

Fix Version/s: 11.3
   Resolution: Fixed

Fix was merged to master.

> Allows creating stand alone java file in favorites window
> -
>
> Key: NETBEANS-3587
> URL: https://issues.apache.org/jira/browse/NETBEANS-3587
> Project: NetBeans
>  Issue Type: New Feature
>  Components: ide - UI
>Affects Versions: 11.3
>Reporter: Akshay Gupta
>Assignee: Akshay Gupta
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Provided new template for a standalone file and registered it for giving a 
> new option in others list of new file.wizard.



--
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-3921) IDE gets very slow, using vast amounts of RAM

2020-02-29 Thread Jira


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

Matthias Bläsing updated NETBEANS-3921:
---
Attachment: message.log

> IDE gets very slow, using vast amounts of RAM
> -
>
> Key: NETBEANS-3921
> URL: https://issues.apache.org/jira/browse/NETBEANS-3921
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1, 11.2
>Reporter: Nuno
>Priority: Major
> Attachments: message.log
>
>
> Computer was left alone, running Netbeans 11.2 and an external tomcat 9. CPU 
> and RAM usage grew larger and larger to the point of Netbeans becoming quite 
> irresponsive, at which point the popup asking for this report appeared.
> This has happened before, but by the time I got back to my laptop, Netbeans 
> was too far gone.



--
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 (a5aae4a -> 7a17ce6)

2020-02-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 a5aae4a  Merge pull request #1955 from matthiasblaesing/lsp_formating
 new acc3f80  Opening ide/jumpto module to everyone
 new cd2e55e  Merging with master to get the most recent module versions
 new 0939898  Adding missing header
 new 7a17ce6  Merge pull request #1987 from 
JaroslavTulach/jtulach/JumpTo4Everyone

The 3698 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/jumpto/apichanges.xml  |  16 ++-
 .../java.hints.legacy.spi => ide/jumpto}/arch.xml  | 115 +++--
 ide/jumpto/nbproject/project.properties|   4 +-
 ide/jumpto/nbproject/project.xml   |  14 +--
 nbbuild/build.properties   |   1 +
 nbbuild/javadoctools/links.xml |   1 +
 nbbuild/javadoctools/properties.xml|   1 +
 nbbuild/javadoctools/replaces.xml  |   1 +
 8 files changed, 84 insertions(+), 69 deletions(-)
 copy {java/java.hints.legacy.spi => ide/jumpto}/arch.xml (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



[jira] [Comment Edited] (NETBEANS-2434) Can't install JIRA plugin

2020-02-29 Thread Luca Mambretti (Jira)


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

Luca Mambretti edited comment on NETBEANS-2434 at 2/29/20 11:02 AM:


I've attached a zip file containing the preinstalled plugin in an extra 
directory, to make it work you can simply unpack it as is in into your primary 
netbeans folder, if there is already and extra directory there you might have 
to do more work, but in a brand new 11.2 there is none.

 

This gives you the option to use the Jira plugin and it works to an extent, 
I've been able to run queries find and open issues and also managed to work 
with the commit integration that lets you add a comment to an issue when you 
commit something.

 

I've also detected some limitatins probably due to the updates in the rest of 
Netbeans, mainly ClassCastException and some random NPEs like the following:

 

java.lang.ClassCastException: class java.awt.FlowLayout cannot be cast to class 
javax.swing.GroupLayout (java.awt.FlowLayout and javax.swing.GroupLayout are in 
module java.desktop of loader 'bootstrap')

 

java.lang.NullPointerException
 at org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:1004)
 at org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:993)
 at org.netbeans.modules.jira.issue.IssuePanel.reloadForm(IssuePanel.java:781)

 

This is most probably due to the JIRA plugin itself not being 100% compatible 
with the latest NetBeans bits, and it turns out you cannot really use the 
issues panel for this since it comes up all right but not all of the content 
that should be there loads and all operations I've tried run into one of the 2 
Exceptions I've mentioned and fail, I've tried the same in an old 8.2 and there 
everything works as expected, but you still need to manually install the extra 
hack.

 

Again this all feels very wrong to me but I simply don't have the time to clone 
the sources and properly sort out the problems.

 


was (Author: irian):
I've attached a zip file containing the preinstalled plugin in an extra 
directory, to make it work you can simply drop it as in into your primary 
netbeans folder, if there is already and extra directory there you might have 
to do more work, but in a brand new 11.2 there is none.

 

This gives you the option to use the Jira plugin and it works to an extent, 
I've been able to run queries find and open issues and also managed to work 
with the commit integration that lets you add a comment to an issue when you 
commit something.

 

I've also detected some limitatins probably due to the updates in the rest of 
Netbeans, mainly ClassCastException and some random NPEs like the following:

 

java.lang.ClassCastException: class java.awt.FlowLayout cannot be cast to class 
javax.swing.GroupLayout (java.awt.FlowLayout and javax.swing.GroupLayout are in 
module java.desktop of loader 'bootstrap')

 

java.lang.NullPointerException
 at org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:1004)
 at org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:993)
 at org.netbeans.modules.jira.issue.IssuePanel.reloadForm(IssuePanel.java:781)

 

This is most probably due to the JIRA plugin itself not being 100% compatible 
with the latest NetBeans bits, and it turns out you cannot really use the 
issues panel for this since it comes up all right but not all of the content 
that should be there loads and all operations I've tried run into one of the 2 
Exceptions I've mentioned and fail, I've tried the same in an old 8.2 and there 
everything works as expected, but you still need to manually install the extra 
hack.

 

Again this all feels very wrong to me but I simply don't have the time to clone 
the sources and properly sort out the problems.

 

> Can't install JIRA plugin
> -
>
> Key: NETBEANS-2434
> URL: https://issues.apache.org/jira/browse/NETBEANS-2434
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0, 11.0, 12.0, 11.1, 11.2
>Reporter: Ray Slater
>Priority: Major
> Attachments: extra.zip
>
>
> I'm trying to install the Jira plugin in Netbeans 11, but it fails to 
> download the REST client from atlassian:
> {noformat}
> SEVERE [org.netbeans.modules.autoupdate.ui.wizards.InstallStep]
> msg
> Caused: org.netbeans.api.autoupdate.OperationException[INSTALL]: Cannot 
> resolve external reference to 
> https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:768)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:642)
> at 
> 

[jira] [Commented] (NETBEANS-2434) Can't install JIRA plugin

2020-02-29 Thread Luca Mambretti (Jira)


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

Luca Mambretti commented on NETBEANS-2434:
--

I've attached a zip file containing the preinstalled plugin in an extra 
directory, to make it work you can simply drop it as in into your primary 
netbeans folder, if there is already and extra directory there you might have 
to do more work, but in a brand new 11.2 there is none.

 

This gives you the option to use the Jira plugin and it works to an extent, 
I've been able to run queries find and open issues and also managed to work 
with the commit integration that lets you add a comment to an issue when you 
commit something.

 

I've also detected some limitatins probably due to the updates in the rest of 
Netbeans, mainly ClassCastException and some random NPEs like the following:

 

java.lang.ClassCastException: class java.awt.FlowLayout cannot be cast to class 
javax.swing.GroupLayout (java.awt.FlowLayout and javax.swing.GroupLayout are in 
module java.desktop of loader 'bootstrap')

 

java.lang.NullPointerException
 at org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:1004)
 at org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:993)
 at org.netbeans.modules.jira.issue.IssuePanel.reloadForm(IssuePanel.java:781)

 

This is most probably due to the JIRA plugin itself not being 100% compatible 
with the latest NetBeans bits, and it turns out you cannot really use the 
issues panel for this since it comes up all right but not all of the content 
that should be there loads and all operations I've tried run into one of the 2 
Exceptions I've mentioned and fail, I've tried the same in an old 8.2 and there 
everything works as expected, but you still need to manually install the extra 
hack.

 

Again this all feels very wrong to me but I simply don't have the time to clone 
the sources and properly sort out the problems.

 

> Can't install JIRA plugin
> -
>
> Key: NETBEANS-2434
> URL: https://issues.apache.org/jira/browse/NETBEANS-2434
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0, 11.0, 12.0, 11.1, 11.2
>Reporter: Ray Slater
>Priority: Major
> Attachments: extra.zip
>
>
> I'm trying to install the Jira plugin in Netbeans 11, but it fails to 
> download the REST client from atlassian:
> {noformat}
> SEVERE [org.netbeans.modules.autoupdate.ui.wizards.InstallStep]
> msg
> Caused: org.netbeans.api.autoupdate.OperationException[INSTALL]: Cannot 
> resolve external reference to 
> https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:768)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:642)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$600(InstallSupportImpl.java:73)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:153)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:125)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [catch] at java.lang.Thread.run(Thread.java:745)
> There were some problems while storing JIRA REST Client.
> Cause: Cannot resolve external reference to 
> https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar
> {noformat}
> Searching threw up this old Bugzilla: 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=244014]
> In that Bugzilla there are 2 links & the solution suggests that both would be 
> tried in a fixed version.
> For me, this link works: 
>  
> [https://maven.atlassian.com/content/repositories/atlassian-public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar]
> but this link fails:
>  
> [https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar]



--
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-2434) Can't install JIRA plugin

2020-02-29 Thread Luca Mambretti (Jira)


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

Luca Mambretti updated NETBEANS-2434:
-
Attachment: extra.zip

> Can't install JIRA plugin
> -
>
> Key: NETBEANS-2434
> URL: https://issues.apache.org/jira/browse/NETBEANS-2434
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0, 11.0, 12.0, 11.1, 11.2
>Reporter: Ray Slater
>Priority: Major
> Attachments: extra.zip
>
>
> I'm trying to install the Jira plugin in Netbeans 11, but it fails to 
> download the REST client from atlassian:
> {noformat}
> SEVERE [org.netbeans.modules.autoupdate.ui.wizards.InstallStep]
> msg
> Caused: org.netbeans.api.autoupdate.OperationException[INSTALL]: Cannot 
> resolve external reference to 
> https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:768)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:642)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$600(InstallSupportImpl.java:73)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:153)
> at 
> org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:125)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [catch] at java.lang.Thread.run(Thread.java:745)
> There were some problems while storing JIRA REST Client.
> Cause: Cannot resolve external reference to 
> https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar
> {noformat}
> Searching threw up this old Bugzilla: 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=244014]
> In that Bugzilla there are 2 links & the solution suggests that both would be 
> tried in a fixed version.
> For me, this link works: 
>  
> [https://maven.atlassian.com/content/repositories/atlassian-public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar]
> but this link fails:
>  
> [https://maven.atlassian.com/content/repositories/public/com/atlassian/jira/jira-rest-java-client/1.1-ide-m06/jira-rest-java-client-1.1-ide-m06.jar]



--
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: Hook formating/rangeFormating into LSP Client

2020-02-29 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new c464af0  Hook formating/rangeFormating into LSP Client
 new a5aae4a  Merge pull request #1955 from matthiasblaesing/lsp_formating
c464af0 is described below

commit c464af06b7a0b94f65fa8cdd5d2533863a9746a3
Author: Matthias Bläsing 
AuthorDate: Tue Feb 18 22:30:04 2020 +0100

Hook formating/rangeFormating into LSP Client
---
 .../src/org/netbeans/modules/lsp/client/Utils.java |  41 ++-
 .../modules/lsp/client/bindings/Formatter.java | 136 +
 2 files changed, 174 insertions(+), 3 deletions(-)

diff --git a/ide/lsp.client/src/org/netbeans/modules/lsp/client/Utils.java 
b/ide/lsp.client/src/org/netbeans/modules/lsp/client/Utils.java
index c67722b..278cfbc 100644
--- a/ide/lsp.client/src/org/netbeans/modules/lsp/client/Utils.java
+++ b/ide/lsp.client/src/org/netbeans/modules/lsp/client/Utils.java
@@ -24,6 +24,7 @@ import java.net.MalformedURLException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.util.ArrayList;
+import java.util.Comparator;
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.ExecutionException;
@@ -140,15 +141,37 @@ public class Utils {
 }
 
 public static void applyEditsNoLock(Document doc, List 
edits) {
+applyEditsNoLock(doc, edits, null, null);
+}
+
+/**
+ * Apply edits to the document. The edits can be filtered to only cover
+ * parts of the documents.
+ *
+ * @param doc{@link Document} the edits shall be applied to
+ * @param edits  list {@link TextEdit} to apply
+ * @param startLimit if not {@code null} only edits with a {@code start}
+ *   larger than or equals to this offset are considered.
+ *   The offset is expected to be apply to the original
+ *   state of the document.
+ * @param endLimit   if not {@code null} only edits with an {@code end}
+ *   lower than this offset are considered. The offset is
+ *   expected to be apply to the original state of the
+ *   document.
+ */
+public static void applyEditsNoLock(Document doc, List 
edits, Integer startLimit, Integer endLimit) {
 edits
  .stream()
- .sorted((te1, te2) -> te1.getRange().getEnd().getLine() == 
te2.getRange().getEnd().getLine() ? te1.getRange().getEnd().getCharacter() - 
te2.getRange().getEnd().getCharacter() : te1.getRange().getEnd().getLine() - 
te2.getRange().getEnd().getLine())
+ .sorted(rangeReverseSort)
  .forEach(te -> {
 try {
 int start = Utils.getOffset(doc, te.getRange().getStart());
 int end = Utils.getOffset(doc, te.getRange().getEnd());
-doc.remove(start, end - start);
-doc.insertString(start, te.getNewText(), null);
+if ((startLimit == null || start >= startLimit)
+&& (endLimit == null || end < endLimit)) {
+doc.remove(start, end - start);
+doc.insertString(start, te.getNewText(), null);
+}
 } catch (BadLocationException ex) {
 Exceptions.printStackTrace(ex);
 }
@@ -247,4 +270,16 @@ public class Utils {
 Exceptions.printStackTrace(ex);
 }
 }
+
+private static final Comparator rangeReverseSort = (s1, s2) -> {
+int l1 = s1.getRange().getEnd().getLine();
+int l2 = s2.getRange().getEnd().getLine();
+int c1 = s1.getRange().getEnd().getCharacter();
+int c2 = s2.getRange().getEnd().getCharacter();
+if (l1 != l2) {
+return l2 - l1;
+} else {
+return c2 - c1;
+}
+};
 }
diff --git 
a/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/Formatter.java 
b/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/Formatter.java
new file mode 100644
index 000..f399461
--- /dev/null
+++ b/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/Formatter.java
@@ -0,0 +1,136 @@
+/*
+ * 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 

[netbeans] branch master updated: [NETBEANS-3923] - cleanup ThreadLocal rawtype warnings

2020-02-29 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 1450671  [NETBEANS-3923] - cleanup ThreadLocal rawtype warnings
 new 5027717  Merge pull request #1984 from 
BradWalker/cleanup_ThreadLocal_rawtype
1450671 is described below

commit 14506716571b754fa04dd605d17bb80d97abd387
Author: Brad Walker 
AuthorDate: Wed Feb 26 14:44:46 2020 -0700

[NETBEANS-3923] - cleanup ThreadLocal rawtype warnings

This removes all the ThreadLocal rawtype warnings..

   [repeat] 
/home/bwalker/src/netbeans/platform/masterfs/src/org/netbeans/modules/masterfs/ProvidedExtensionsProxy.java:44:
 warning: [rawtypes] found ra
w type: ThreadLocal
   [repeat] private static ThreadLocal  reentrantCheck = new 
ThreadLocal();
   [repeat]^
   [repeat]   missing type arguments for generic class ThreadLocal
   [repeat]   where T is a type-variable:
   [repeat] T extends Object declared in class ThreadLocal
---
 ide/versioning.util/src/org/netbeans/modules/turbo/Memory.java| 8 
 .../org/netbeans/modules/masterfs/ProvidedExtensionsProxy.java| 2 +-
 .../src/org/openide/util/lookup/ProxyLookup.java  | 4 ++--
 .../modules/javascript2/knockout/index/KnockoutIndexer.java   | 2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/ide/versioning.util/src/org/netbeans/modules/turbo/Memory.java 
b/ide/versioning.util/src/org/netbeans/modules/turbo/Memory.java
index 853615a..6c94017 100644
--- a/ide/versioning.util/src/org/netbeans/modules/turbo/Memory.java
+++ b/ide/versioning.util/src/org/netbeans/modules/turbo/Memory.java
@@ -53,7 +53,7 @@ final class Memory {
 public static final Object NULL = new Object();
 
 /** Keep reference to last isPrepared result. */
-public static final ThreadLocal prepared = new ThreadLocal();
+public static final ThreadLocal prepared = new ThreadLocal<>();
 
 private final Statistics statistics;
 
@@ -105,7 +105,7 @@ final class Memory {
 }
 putLive(key, attributes);
 minimalMap.put(key, attributes);
-Entry entry = (Entry) prepared.get();
+Entry entry = prepared.get();
 if (entry != null) {
 if (key.equals(entry.key) && name.equals(entry.name)) {
 if (value != null) {
@@ -167,7 +167,7 @@ final class Memory {
 }
 
 // have not been promised by existsEntry but eliminated by GC?
-Entry entry = (Entry) prepared.get();
+Entry entry = prepared.get();
 if (entry != null) {
 if (key.equals(entry.key) && name.equals(entry.name)) {
 prepared.set(null);  // here ends our promised contract
@@ -192,7 +192,7 @@ final class Memory {
 // keep promised value in tread local to survive paralell GC
 boolean isPrepared = attributes != null && 
attributes.keySet().contains(name);
 if (isPrepared) {
-Entry entry = (Entry) prepared.get();
+Entry entry = prepared.get();
 if (entry == null) {
 entry = new Entry();
 }
diff --git 
a/platform/masterfs/src/org/netbeans/modules/masterfs/ProvidedExtensionsProxy.java
 
b/platform/masterfs/src/org/netbeans/modules/masterfs/ProvidedExtensionsProxy.java
index 11157a7..204a0f2 100644
--- 
a/platform/masterfs/src/org/netbeans/modules/masterfs/ProvidedExtensionsProxy.java
+++ 
b/platform/masterfs/src/org/netbeans/modules/masterfs/ProvidedExtensionsProxy.java
@@ -41,7 +41,7 @@ import org.openide.filesystems.FileSystem;
  */
 public class ProvidedExtensionsProxy extends ProvidedExtensions {
 private Collection annotationProviders;
-private static ThreadLocal  reentrantCheck = new ThreadLocal();
+private static ThreadLocal  reentrantCheck = new ThreadLocal<>();
 
 /** Creates a new instance of ProvidedExtensionsProxy */
 public ProvidedExtensionsProxy(Collection/*AnnotationProvider*/ 
annotationProviders) {
diff --git 
a/platform/openide.util.lookup/src/org/openide/util/lookup/ProxyLookup.java 
b/platform/openide.util.lookup/src/org/openide/util/lookup/ProxyLookup.java
index a40bf1a..e18d04d 100644
--- a/platform/openide.util.lookup/src/org/openide/util/lookup/ProxyLookup.java
+++ b/platform/openide.util.lookup/src/org/openide/util/lookup/ProxyLookup.java
@@ -549,9 +549,9 @@ public class ProxyLookup extends Lookup {
 collectFires(null);
 }
 
-private static ThreadLocal IN = new ThreadLocal();
+private static ThreadLocal> IN = new ThreadLocal<>();
 protected void collectFires(Collection evAndListeners) {
-R prev = IN.get();
+R prev = IN.get();
 if (this == prev) {
 //Thread.dumpStack();
 return;

[netbeans] branch master updated (e75dbbd -> 9185075)

2020-02-29 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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


from e75dbbd  Merge pull request #1970 from 
matthiasblaesing/netbeans-2613-xml-codecompletion
 new 6686cff  Upgrade javaee8.api binaries
 new 00546de  Update xml config to use javaee 8.0.1
 new c6e2036  Update j2ee.platform (javadoc) from 7.0 to 8.0.1
 new d3b1d44  Update module 'web.jsf.editor' (javadoc) from 2.0 to 2.3
 new 5097a13  Increase 'web.jsf.editor' module version
 new 8397a67  Update version in jsf generated javadocs
 new 9185075  Merge pull request #1809 from pepness/javaee8.api

The 3690 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:
 enterprise/j2ee.platform/build.xml |  8 
 enterprise/j2ee.platform/external/binaries-list|  2 +-
 ...generated-javaee-api-8.0.1-javadoc-license.txt} |  6 +++---
 ...se.txt => javaee-api-8.0.1-javadoc-license.txt} |  8 
 .../j2ee.platform/nbproject/project.properties |  4 +++-
 enterprise/javaee8.api/external/binaries-list  | 22 +++---
 0-license.txt => javaee-api-8.0.1-license.txt} |  8 
 ...icense.txt => javaee-web-api-8.0.1-license.txt} |  8 
 txt => javax.annotation-api-1.3.2-license.txt} |  6 +++---
 ...avax.enterprise.concurrent-api-1.1-license.txt} |  6 +++---
 ...=> javax.enterprise.deploy-api-1.7-license.txt} |  6 +++---
 0-license.txt => javax.mail-1.6.2-license.txt} |  6 +++---
 ...=> javax.management.j2ee-api-1.1.2-license.txt} |  6 +++---
 ...se.txt => javax.resource-api-1.7.1-license.txt} |  6 +++---
 ...txt => javax.security.jacc-api-1.6-license.txt} |  6 +++---
 ...xt => javax.xml.registry-api-1.0.8-license.txt} |  6 +++---
 ...nse.txt => javax.xml.rpc-api-1.1.2-license.txt} |  6 +++---
 .../javaee8.api/nbproject/project.properties   |  7 ---
 .../modules/javaee8/api/javaee-api-8.0.xml |  2 +-
 .../modules/javaee8/api/javaee-web-api-8.0.xml |  2 +-
 enterprise/web.jsf.editor/build.xml|  8 
 enterprise/web.jsf.editor/external/binaries-list   |  2 +-
 txt => generated-jsf-api-docs-2.3-license.txt} |  2 +-
 ...txt => javax.faces-api-2.3-javadoc-license.txt} |  2 +-
 .../web.jsf.editor/nbproject/project.properties|  2 +-
 25 files changed, 75 insertions(+), 72 deletions(-)
 rename 
enterprise/j2ee.platform/external/{generated-javaee-api-7.0-javadoc-license.txt 
=> generated-javaee-api-8.0.1-javadoc-license.txt} (99%)
 rename enterprise/j2ee.platform/external/{javaee-api-7.0-javadoc-license.txt 
=> javaee-api-8.0.1-javadoc-license.txt} (98%)
 rename enterprise/javaee8.api/external/{javaee-api-8.0-license.txt => 
javaee-api-8.0.1-license.txt} (99%)
 rename enterprise/javaee8.api/external/{javaee-web-api-8.0-license.txt => 
javaee-web-api-8.0.1-license.txt} (99%)
 rename enterprise/javaee8.api/external/{javax.annotation-api-1.2-license.txt 
=> javax.annotation-api-1.3.2-license.txt} (99%)
 rename 
enterprise/javaee8.api/external/{javax.enterprise.concurrent-api-1.0-license.txt
 => javax.enterprise.concurrent-api-1.1-license.txt} (99%)
 rename 
enterprise/javaee8.api/external/{javax.enterprise.deploy-api-1.6-license.txt => 
javax.enterprise.deploy-api-1.7-license.txt} (99%)
 rename enterprise/javaee8.api/external/{javax.mail-1.6.0-license.txt => 
javax.mail-1.6.2-license.txt} (99%)
 rename 
enterprise/javaee8.api/external/{javax.management.j2ee-api-1.1.1-license.txt => 
javax.management.j2ee-api-1.1.2-license.txt} (99%)
 rename enterprise/javaee8.api/external/{javax.resource-api-1.7-license.txt => 
javax.resource-api-1.7.1-license.txt} (99%)
 rename 
enterprise/javaee8.api/external/{javax.security.jacc-api-1.5-license.txt => 
javax.security.jacc-api-1.6-license.txt} (99%)
 rename 
enterprise/javaee8.api/external/{javax.xml.registry-api-1.0.7-license.txt => 
javax.xml.registry-api-1.0.8-license.txt} (99%)
 rename enterprise/javaee8.api/external/{javax.xml.rpc-api-1.1.1-license.txt => 
javax.xml.rpc-api-1.1.2-license.txt} (99%)
 rename 
enterprise/web.jsf.editor/external/{generated-jsf-api-docs-2.0-license.txt => 
generated-jsf-api-docs-2.3-license.txt} (99%)
 rename 
enterprise/web.jsf.editor/external/{javax.faces-api-2.0-javadoc-license.txt => 
javax.faces-api-2.3-javadoc-license.txt} (99%)


-
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