[jira] [Assigned] (NETBEANS-1962) Java 11: Opening Java source files from the JDK takes minutes

2019-12-02 Thread Arvind (Jira)


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

Arvind reassigned NETBEANS-1962:


Assignee: Arunava Sinha  (was: Akhilesh Singh)

> Java 11: Opening Java source files from the JDK takes minutes
> -
>
> Key: NETBEANS-1962
> URL: https://issues.apache.org/jira/browse/NETBEANS-1962
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Platform, java - Source
>Affects Versions: 11.0
> Environment: Debian GNU/Linux 9, OpenJDK 11.0.1
>Reporter: Michael Groß
>Assignee: Arunava Sinha
>Priority: Critical
> Attachments: 
> 2019-01-19_Netbeans10_Java11_JavaPlatformManager_Sources_fast.png, 
> 2019-01-19_Netbeans10_Java11_JavaPlatformManager_Sources_verySLOW.png, 
> 2019-01-20_Netbeans10_Java8_JavaPlatformManager_Sources.png
>
>
> For Java 8 it is enough to provide the path to the 
> /usr/lib/jvm/openjdk-8/src.zip with the source files of the JDK with the Java 
> Platform Manager/Sources. The I can click on a class like java.lang.String 
> the source file for it is opened almost immediately.
> For Java 11 providing the /usr/lib/jvm/openjdk-11/src.zip does not bring the 
> source. There is no error message in the IDE log (View > IDE Log).
> Unpacking the src.zip and then including each folder herein, from java.base 
> to java.xml.crypto works - but it took minutes on my machine at high CPU load 
> (Intel(R) Pentium(R) CPU B940 @ 2.00GHz, SSD drive).
> Then I merged all sub-directories from the direcories java.base to 
> java.xml.crypto together. The resulting structure is
> com/
> java/
> javax/
> jdk/
> org/
> sun/
> (such as the structure before Java 9). Now I can open the Java sources for 
> Java 11 as fast as before.
>  # Could you please adapt the program such that I can provide a src.zip for 
> the JDK and it opens the sources from where?
>  # Could you please write an error in the IDE log when the source file was 
> not found (including the absolute path of that file)?



--
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: [NETBEANS-3202] Fix issue in Text Block (#1570)

2019-12-02 Thread arusinha
This is an automated email from the ASF dual-hosted git repository.

arusinha 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 4a21981  [NETBEANS-3202] Fix issue in Text Block (#1570)
4a21981 is described below

commit 4a2198190e89ea41892491f7d4a516eb7f528e40
Author: Akshay-Gupta-Oracle 
<55184560+akshay-gupta-ora...@users.noreply.github.com>
AuthorDate: Mon Dec 2 14:34:38 2019 +0530

[NETBEANS-3202] Fix issue in Text Block (#1570)

* {Netbeans:3202] Fix issue in Text Block

* [NETBEANS-3202] Fix issue in Text Block
---
 .../org/netbeans/modules/editor/java/JavaKit.java  |  2 +-
 .../modules/editor/java/TypingCompletion.java  |  7 
 .../editor/java/TypingCompletionUnitTest.java  | 46 ++
 3 files changed, 54 insertions(+), 1 deletion(-)

diff --git a/java/java.editor/src/org/netbeans/modules/editor/java/JavaKit.java 
b/java/java.editor/src/org/netbeans/modules/editor/java/JavaKit.java
index 69a69c4..6281256 100644
--- a/java/java.editor/src/org/netbeans/modules/editor/java/JavaKit.java
+++ b/java/java.editor/src/org/netbeans/modules/editor/java/JavaKit.java
@@ -428,7 +428,7 @@ public class JavaKit extends NbEditorKit {
 public void insert(MutableContext context) throws BadLocationException 
{
 int dotPos = context.getCaretOffset();
 Document doc = context.getDocument();
-
+if(TypingCompletion.posWithinTextBlock(doc, dotPos))return;
 if (TypingCompletion.posWithinString(doc, dotPos)) {
 if (CodeStyle.getDefault(doc).wrapAfterBinaryOps()) {
 context.setText("\" +\n \"", 3, 6); // NOI18N
diff --git 
a/java/java.editor/src/org/netbeans/modules/editor/java/TypingCompletion.java 
b/java/java.editor/src/org/netbeans/modules/editor/java/TypingCompletion.java
index f09bf49..d8867d0 100644
--- 
a/java/java.editor/src/org/netbeans/modules/editor/java/TypingCompletion.java
+++ 
b/java/java.editor/src/org/netbeans/modules/editor/java/TypingCompletion.java
@@ -547,6 +547,13 @@ class TypingCompletion {
 return posWithinQuotes(doc, caretOffset, JavaTokenId.STRING_LITERAL);
 }
 
+ static boolean posWithinTextBlock(Document doc, int caretOffset) {
+TokenSequence javaTS=javaTokenSequence(doc,caretOffset, 
false);
+if(javaTS == null)return false;
+boolean movePrevious = javaTS.movePrevious();
+if(!movePrevious)return false;
+return posWithinQuotes(doc, caretOffset, JavaTokenId.STRING_LITERAL) 
&& javaTS.token().text().toString().equals("\"\"");
+}
 private static boolean posWithinQuotes(Document doc, int caretOffset, 
JavaTokenId tokenId) {
 TokenSequence javaTS = javaTokenSequence(doc, 
caretOffset, false);
 if (javaTS != null) {
diff --git 
a/java/java.editor/test/unit/src/org/netbeans/modules/editor/java/TypingCompletionUnitTest.java
 
b/java/java.editor/test/unit/src/org/netbeans/modules/editor/java/TypingCompletionUnitTest.java
index 14f1990..3518d95 100644
--- 
a/java/java.editor/test/unit/src/org/netbeans/modules/editor/java/TypingCompletionUnitTest.java
+++ 
b/java/java.editor/test/unit/src/org/netbeans/modules/editor/java/TypingCompletionUnitTest.java
@@ -966,6 +966,52 @@ public class TypingCompletionUnitTest extends NbTestCase {
 + "}\n");
 }
 
+public void testPositionInTextBlock() throws Exception {
+  try {
+SourceVersion.valueOf("RELEASE_13");
+} catch (IllegalArgumentException ex) {
+//OK, skip test
+return ;
+}
+Context ctx = new Context(new JavaKit(),
+"class Test {\n"
++ "{\n"
++ "\"\"\"|abcd\"\"\"\n"
++ "}\n"
++ "}\n");
+ctx.typeChar('\n');
+ctx.assertDocumentTextEquals(
+"class Test {\n"
++ "{\n"
++ "\"\"\"\n"
++ "|abcd\"\"\"\n"
++ "}\n"
++ "}\n");
+}
+
+  public void testPositionInEmptyTextBlock() throws Exception {
+  try {
+SourceVersion.valueOf("RELEASE_13");
+} catch (IllegalArgumentException ex) {
+//OK, skip test
+return ;
+}
+Context ctx = new Context(new JavaKit(),
+"class Test {\n"
++ "{\n"
++ "\"\"\"|\"\"\"\n"
++ "}\n"
++ "}\n");
+ctx.typeChar('\n');
+ctx.assertDocumentTextEquals(
+"class Test {\n"
++ "{\n"
++ "\"\"\"\n"
++ "|\"\"\"\n"
++ "}\n"
++ "}\n");
+}
+
 public void testCommentBlockComplet

[jira] [Created] (NETBEANS-3515) Payara Server HotReload support

2019-12-02 Thread Gaurav Gupta (Jira)
Gaurav Gupta created NETBEANS-3515:
--

 Summary: Payara Server HotReload support
 Key: NETBEANS-3515
 URL: https://issues.apache.org/jira/browse/NETBEANS-3515
 Project: NetBeans
  Issue Type: New Feature
  Components: serverplugins - Code
Reporter: Gaurav Gupta
Assignee: Gaurav Gupta


Payara Server supports the *HotReload* feature by passing the command line 
"*--hotdeploy"* option in deploy/redeploy command.

On redeployment of application In HotDeploy mode, the Application deployment 
performance is improved in the Payara Server by replacing the classloader and 
using the cached application metadata and info instead of doing the fresh 
deployment each time.

 

 



--
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-3515) Payara Server HotReload support

2019-12-02 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-3515:
-
Labels: Payara-Server development-mode pull-request-available  (was: 
Payara-Server development-mode)

> Payara Server HotReload support
> ---
>
> Key: NETBEANS-3515
> URL: https://issues.apache.org/jira/browse/NETBEANS-3515
> Project: NetBeans
>  Issue Type: New Feature
>  Components: serverplugins - Code
>Reporter: Gaurav Gupta
>Assignee: Gaurav Gupta
>Priority: Major
>  Labels: Payara-Server, development-mode, pull-request-available
>
> Payara Server supports the *HotReload* feature by passing the command line 
> "*--hotdeploy"* option in deploy/redeploy command.
> On redeployment of application In HotDeploy mode, the Application deployment 
> performance is improved in the Payara Server by replacing the classloader and 
> using the cached application metadata and info instead of doing the fresh 
> deployment each time.
>  
>  



--
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-3426) In edit Javascript, Input key "Enter" not go to new string.

2019-12-02 Thread Juha-Pekka Teirikangas (Jira)


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

Juha-Pekka Teirikangas commented on NETBEANS-3426:
--

Perhaps the same issue: I have a large javascript file in my project (over 30 
000 lines of code) and pressing enter or tab does nothing.

Entering other characters work and smaller js files work normally. I can copy 
paste new lines from other files.

> In edit Javascript, Input key "Enter" not go to new string.
> ---
>
> Key: NETBEANS-3426
> URL: https://issues.apache.org/jira/browse/NETBEANS-3426
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 11.2
>Reporter: Sergei Korenevkiy
>Priority: Major
> Attachments: Javascript .txt, interface.txt
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>




--
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-3426) In edit Javascript, Input key "Enter" not go to new string.

2019-12-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-3426.
--
Resolution: Duplicate

> In edit Javascript, Input key "Enter" not go to new string.
> ---
>
> Key: NETBEANS-3426
> URL: https://issues.apache.org/jira/browse/NETBEANS-3426
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 11.2
>Reporter: Sergei Korenevkiy
>Priority: Major
> Attachments: Javascript .txt, interface.txt
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>




--
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-3516) Exception when opening an html file containing mustache syntax, unable to open file

2019-12-02 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto closed NETBEANS-3516.
--
Resolution: Duplicate

> Exception when opening an html file containing mustache syntax, unable to 
> open file
> ---
>
> Key: NETBEANS-3516
> URL: https://issues.apache.org/jira/browse/NETBEANS-3516
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10
>Reporter: Nicolas GILSON
>Priority: Blocker
> Attachments: ficheCampagne.html, ide-log.txt, ui-log.txt
>
>
> When I open somes files, IDE have Exception an the file can't be open.
> I attach IDE LOG and UI LOG and the html file that raise the Exception.



--
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-3517) Cursor blink rate does not respect system settings

2019-12-02 Thread dennis lucero (Jira)
dennis lucero created NETBEANS-3517:
---

 Summary: Cursor blink rate does not respect system settings
 Key: NETBEANS-3517
 URL: https://issues.apache.org/jira/browse/NETBEANS-3517
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Painting & Printing
Affects Versions: 11.2
 Environment: Windows 10, JDK 13
Reporter: dennis lucero


The text cursor blinkes quite fast. It seems to be faster than Windows’ default 
setting and it doesn’t respect the rate set in Windows. I find the fast 
blinking distracting.



--
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-3517) Cursor blink rate does not respect system settings

2019-12-02 Thread dennis lucero (Jira)


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

dennis lucero updated NETBEANS-3517:

Labels: Accessibility  (was: )

> Cursor blink rate does not respect system settings
> --
>
> Key: NETBEANS-3517
> URL: https://issues.apache.org/jira/browse/NETBEANS-3517
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Painting & Printing
>Affects Versions: 11.2
> Environment: Windows 10, JDK 13
>Reporter: dennis lucero
>Priority: Minor
>  Labels: Accessibility
>
> The text cursor blinkes quite fast. It seems to be faster than Windows’ 
> default setting and it doesn’t respect the rate set in Windows. I find the 
> fast blinking distracting.



--
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-3476) cleanup redundant casts..

2019-12-02 Thread Brad Walker (Jira)


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

Brad Walker closed NETBEANS-3476.
-
Fix Version/s: 11.3
   Resolution: Fixed

fixed & merged..

> cleanup redundant casts..
> -
>
> Key: NETBEANS-3476
> URL: https://issues.apache.org/jira/browse/NETBEANS-3476
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Brad Walker
>Assignee: Brad Walker
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> There are a lot of places where the compiler tells us we are using redundant 
> casts..
> {code:java}
>[repeat] 
> /home/bwalker/src/netbeans/groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/parser/GroovyVirtualSourceProvider.java:436:
>  warning: [cast] redundant cast to Statement
>[repeat] Statement stat = (Statement) stats.get(0);
>[repeat]  ^
> {code}
> This change removes all the redundant casts..



--
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-1781) can't open classes in binary .jar (java.lang.ClassCastException: com.sun.tools.javac.code.Type$ClassType cannot be cast to com.sun.tools.javac.code.Type$ErrorType)

2019-12-02 Thread Jeffrey Morlan (Jira)


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

Jeffrey Morlan closed NETBEANS-1781.

Resolution: Duplicate

> can't open classes in binary .jar (java.lang.ClassCastException: 
> com.sun.tools.javac.code.Type$ClassType cannot be cast to 
> com.sun.tools.javac.code.Type$ErrorType)
> ---
>
> Key: NETBEANS-1781
> URL: https://issues.apache.org/jira/browse/NETBEANS-1781
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 10.0
>Reporter: Jeffrey Morlan
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> After updating to nb-javac 1.51, when I try to open a class in a binary .jar 
> file, it often fails with an exception like this
> java.lang.ClassCastException: com.sun.tools.javac.code.Type$ClassType cannot 
> be cast to com.sun.tools.javac.code.Type$ErrorType
>      at 
> org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:797)
>      at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1083)
>      at 
> org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitExecutable(CodeGenerator.java:549)
>      ...
> This happens whenever the class references a class in a different .jar. For 
> example, create a maven project, add org.apache.httpcomponents:httpclient 
> (but don't download source!) and open the HttpClient class - it fails because 
> of the various classes referenced from the httpcore dependency.
> It looks like this started once 
> [http://hg.openjdk.java.net/jdk/jdk/rev/cc2673fa8c20|http://hg.openjdk.java.net/jdk/jdk/rev/cc2673fa8c20#l9.1]
>  was merged into nb-javac - TreeFactory's assumption that getKind()==ERROR 
> implies ErrorType is no longer true.



--
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-3519) Fix compiler warnings of project platform/core.output2

2019-12-02 Thread Jira
Martin Klähn created NETBEANS-3519:
--

 Summary: Fix compiler warnings of project platform/core.output2
 Key: NETBEANS-3519
 URL: https://issues.apache.org/jira/browse/NETBEANS-3519
 Project: NetBeans
  Issue Type: Improvement
Reporter: Martin Klähn
Assignee: Martin Klähn


Compiling the projects emits currently 21 warnings when compiling its sources 
and another 6 warnings when compiling the test sources.

The aim is to fix the reasons for these warning and thus reduce the emitted 
warnings to a minimum.



--
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-3518) fix bug in AbstractSummaryView.java

2019-12-02 Thread Brad Walker (Jira)
Brad Walker created NETBEANS-3518:
-

 Summary: fix bug in AbstractSummaryView.java
 Key: NETBEANS-3518
 URL: https://issues.apache.org/jira/browse/NETBEANS-3518
 Project: NetBeans
  Issue Type: Bug
Reporter: Brad Walker
Assignee: Brad Walker


I was working on my usual code cleanup when I encountered a bug in the method 
AbstractSummaryView() in AbstractSummaryView.java..

Notice the following code was not type-casting correctly..

{code:java}
-if (selection.length == 1) {
-if (selection[0] instanceof ShowAllEventsItem) {
-showRemainingFiles(((ShowAllEventsItem) 
selection[0]).getParent(), true);
-} else if (selection[0] instanceof ShowLessEventsItem) {
-showRemainingFiles(((ShowAllEventsItem) 
selection[0]).getParent(), false);
-} else if (selection[0] instanceof MoreRevisionsItem) {
{code}

Specifically, an instance of _ShowLessEventsItem_ should be properly cast..

{code:java}
+showRemainingFiles(((ShowLessEventsItem) 
selection.get(0)).getParent(), false);
{code}

While I had the hood opened, I fixed a few other Java warnings..




--
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-3518) fix bug in AbstractSummaryView.java

2019-12-02 Thread ASF GitHub Bot (Jira)


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

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

> fix bug in AbstractSummaryView.java
> ---
>
> Key: NETBEANS-3518
> URL: https://issues.apache.org/jira/browse/NETBEANS-3518
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Brad Walker
>Assignee: Brad Walker
>Priority: Minor
>  Labels: pull-request-available
>
> I was working on my usual code cleanup when I encountered a bug in the method 
> AbstractSummaryView() in AbstractSummaryView.java..
> Notice the following code was not type-casting correctly..
> {code:java}
> -if (selection.length == 1) {
> -if (selection[0] instanceof ShowAllEventsItem) {
> -showRemainingFiles(((ShowAllEventsItem) 
> selection[0]).getParent(), true);
> -} else if (selection[0] instanceof ShowLessEventsItem) {
> -showRemainingFiles(((ShowAllEventsItem) 
> selection[0]).getParent(), false);
> -} else if (selection[0] instanceof MoreRevisionsItem) {
> {code}
> Specifically, an instance of _ShowLessEventsItem_ should be properly cast..
> {code:java}
> +showRemainingFiles(((ShowLessEventsItem) 
> selection.get(0)).getParent(), false);
> {code}
> While I had the hood opened, I fixed a few other Java warnings..



--
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-2515) cleanup the build issues

2019-12-02 Thread Brad Walker (Jira)


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

Brad Walker commented on NETBEANS-2515:
---

NETBEANS-3518
 - fix bug in AbstractSummaryView.java

> cleanup the build issues
> 
>
> Key: NETBEANS-2515
> URL: https://issues.apache.org/jira/browse/NETBEANS-2515
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Brad Walker
>Priority: Major
>
> The build process has a lot of errors/warnings.
> I've created this Jira to track all the issues related to cleaning up
> The first canidate is: NETBEANS-2514



--
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-3519) Fix compiler warnings of project platform/core.output2

2019-12-02 Thread ASF GitHub Bot (Jira)


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

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

> Fix compiler warnings of project platform/core.output2
> --
>
> Key: NETBEANS-3519
> URL: https://issues.apache.org/jira/browse/NETBEANS-3519
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Martin Klähn
>Assignee: Martin Klähn
>Priority: Major
>  Labels: pull-request-available
>
> Compiling the projects emits currently 21 warnings when compiling its sources 
> and another 6 warnings when compiling the test sources.
> The aim is to fix the reasons for these warning and thus reduce the emitted 
> warnings to a minimum.



--
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-3520) plugin manager updates can't disable update for a single module

2019-12-02 Thread Ernie Rael (Jira)
Ernie Rael created NETBEANS-3520:


 Summary: plugin manager updates can't disable update for a single 
module
 Key: NETBEANS-3520
 URL: https://issues.apache.org/jira/browse/NETBEANS-3520
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Plugin Manager
Affects Versions: 11.2
 Environment: 11.2, jdk1,8,win7
Reporter: Ernie Rael
 Attachments: PluginManagerUpdates.png

Updating for 11.2-u1, in Plugins>Updates see three files:
NetBeans Plugin Development
AngularJS Editor
jVi for NB-7.0 Update Center
(the third elelment for 11.2-u1 was already loaded, long story)
- The bottom "Update" button has label "3 plugins selected, 1MB".
- uncheck the "jVi for..." (which comes from the plugin portal)
observe: for a fraction of a second, the Update lablel says "2 plugins 
selected" then goes to "3 plugins selected, 1MB". The jVi checkbox remains 
unchecked.
- Re-check the jVi, the checkbox does not get checked
- Re-check again, and the checkbox shows checked.

With the checkbox in the unchecked state, press the "Update" button. The 
checkbox goes into the checked state, the dialog "NetBeans IDE Installer" show 
all three items. All three items get installed.

I can not update a subset of modules which have udpates.

FYI, the first time I tried to udpate it was aborted because I did not have 
permission to upate the harness. It must have installed one of three for -u1 
before the error.

The attachement shows two checked but saying 3 in label.



--
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-3521) Upgrade Xerces2-J from 2.8.0 to 2.12.0

2019-12-02 Thread Jose (Jira)
Jose created NETBEANS-3521:
--

 Summary: Upgrade Xerces2-J from 2.8.0 to 2.12.0
 Key: NETBEANS-3521
 URL: https://issues.apache.org/jira/browse/NETBEANS-3521
 Project: NetBeans
  Issue Type: Improvement
  Components: ide - Code
Affects Versions: Next, 11.2
Reporter: Jose
Assignee: Jose


Notes:
- Fixed several bugs 
- Many enhancements and performance improvements
- Xerces and Xalan now share a common serialization codebase
- Xerces' native serializer was deprecated
- Support for OASIS XML Catalogs v1.1
- Implementation of the parser related portions of JAXP 1.4
- Experimental support for XML Schema 1.1 by providing a fully compliant XML 
Schema 1.1 implementation

[Apache Xerces2-J Web Page|https://xerces.apache.org/xerces2-j/]

[Apache Xerces2-JRelease 
Notes|https://xerces.apache.org/xerces2-j/releases.html]



--
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-3521) Upgrade Xerces2-J from 2.8.0 to 2.12.0

2019-12-02 Thread ASF GitHub Bot (Jira)


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

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

> Upgrade Xerces2-J from 2.8.0 to 2.12.0
> --
>
> Key: NETBEANS-3521
> URL: https://issues.apache.org/jira/browse/NETBEANS-3521
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Affects Versions: Next, 11.2
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>  Labels: pull-request-available
>
> Notes:
> - Fixed several bugs 
> - Many enhancements and performance improvements
> - Xerces and Xalan now share a common serialization codebase
> - Xerces' native serializer was deprecated
> - Support for OASIS XML Catalogs v1.1
> - Implementation of the parser related portions of JAXP 1.4
> - Experimental support for XML Schema 1.1 by providing a fully compliant XML 
> Schema 1.1 implementation
> [Apache Xerces2-J Web Page|https://xerces.apache.org/xerces2-j/]
> [Apache Xerces2-JRelease 
> Notes|https://xerces.apache.org/xerces2-j/releases.html]



--
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-3522) Upgrade Apache commons-codec from 1.3 to 1.13

2019-12-02 Thread Jose (Jira)
Jose created NETBEANS-3522:
--

 Summary: Upgrade Apache commons-codec from 1.3 to 1.13
 Key: NETBEANS-3522
 URL: https://issues.apache.org/jira/browse/NETBEANS-3522
 Project: NetBeans
  Issue Type: Improvement
Affects Versions: Next, 11.2
Reporter: Jose
Assignee: Jose


Notes:
- Requires Java 1.7
- Add methods for SHA-3, SHA-224, SHA-256, SHA-384, and SHA-512
- Improved testing suite, performance and documentation
- Many Security fixes
- 67 Fixed Bugs
- 59 New Features
- 1 Removed Method (NetBeans does not use it)
 - Base64.discardWhitespace(byte[])

[Apache Commons-Codec Web Page|https://commons.apache.org/proper/commons-codec/]

[Apache Commons-Codec Release 
Notes|https://commons.apache.org/proper/commons-codec/changes-report.html]



--
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-3522) Upgrade Apache commons-codec from 1.3 to 1.13

2019-12-02 Thread ASF GitHub Bot (Jira)


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

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

> Upgrade Apache commons-codec from 1.3 to 1.13
> -
>
> Key: NETBEANS-3522
> URL: https://issues.apache.org/jira/browse/NETBEANS-3522
> Project: NetBeans
>  Issue Type: Improvement
>Affects Versions: Next, 11.2
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>  Labels: pull-request-available
>
> Notes:
> - Requires Java 1.7
> - Add methods for SHA-3, SHA-224, SHA-256, SHA-384, and SHA-512
> - Improved testing suite, performance and documentation
> - Many Security fixes
> - 67 Fixed Bugs
> - 59 New Features
> - 1 Removed Method (NetBeans does not use it)
>  - Base64.discardWhitespace(byte[])
> [Apache Commons-Codec Web 
> Page|https://commons.apache.org/proper/commons-codec/]
> [Apache Commons-Codec Release 
> Notes|https://commons.apache.org/proper/commons-codec/changes-report.html]



--
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-3523) Upgrade Apache XML-RPC from 3.0 to 3.1.3

2019-12-02 Thread Jose (Jira)
Jose created NETBEANS-3523:
--

 Summary: Upgrade Apache XML-RPC from 3.0 to 3.1.3
 Key: NETBEANS-3523
 URL: https://issues.apache.org/jira/browse/NETBEANS-3523
 Project: NetBeans
  Issue Type: Improvement
  Components: ide - Code
Affects Versions: Next, 12.0
Reporter: Jose
Assignee: Jose


Notes:
- 37 Fixed Bugs
- 14 New Features

[Apache XML-RPC Web Page|https://ws.apache.org/xmlrpc/index.html]

[Apache XML-RPC Release Notes|https://ws.apache.org/xmlrpc/changes-report.html]



--
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-3523) Upgrade Apache XML-RPC from 3.0 to 3.1.3

2019-12-02 Thread ASF GitHub Bot (Jira)


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

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

> Upgrade Apache XML-RPC from 3.0 to 3.1.3
> 
>
> Key: NETBEANS-3523
> URL: https://issues.apache.org/jira/browse/NETBEANS-3523
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code
>Affects Versions: Next, 12.0
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>  Labels: pull-request-available
>
> Notes:
> - 37 Fixed Bugs
> - 14 New Features
> [Apache XML-RPC Web Page|https://ws.apache.org/xmlrpc/index.html]
> [Apache XML-RPC Release 
> Notes|https://ws.apache.org/xmlrpc/changes-report.html]



--
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-3524) Upgrade ICU4J from 62.1 to 65.1

2019-12-02 Thread Jose (Jira)
Jose created NETBEANS-3524:
--

 Summary: Upgrade ICU4J from 62.1 to 65.1
 Key: NETBEANS-3524
 URL: https://issues.apache.org/jira/browse/NETBEANS-3524
 Project: NetBeans
  Issue Type: Improvement
  Components: projects - Libraries
Affects Versions: Next, 11.2
Reporter: Jose
Assignee: Jose


Notes for ICU4J:
- Java 7 as minimum runtime
- Support Unicode 12.1
- Support CLDR 36 (Unicode Common Locale Data Repository)

[ICU4J Web Page|http://site.icu-project.org/]

[ICU4J Release Notes|https://github.com/unicode-org/icu/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] [Updated] (NETBEANS-3524) Upgrade ICU4J from 62.1 to 65.1

2019-12-02 Thread ASF GitHub Bot (Jira)


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

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

> Upgrade ICU4J from 62.1 to 65.1
> ---
>
> Key: NETBEANS-3524
> URL: https://issues.apache.org/jira/browse/NETBEANS-3524
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Libraries
>Affects Versions: Next, 11.2
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>  Labels: pull-request-available
>
> Notes for ICU4J:
> - Java 7 as minimum runtime
> - Support Unicode 12.1
> - Support CLDR 36 (Unicode Common Locale Data Repository)
> [ICU4J Web Page|http://site.icu-project.org/]
> [ICU4J Release Notes|https://github.com/unicode-org/icu/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] [Created] (NETBEANS-3525) Upgrade Apache Lucene from 3.5.0 to 3.6.2

2019-12-02 Thread Jose (Jira)
Jose created NETBEANS-3525:
--

 Summary: Upgrade Apache Lucene from 3.5.0 to 3.6.2
 Key: NETBEANS-3525
 URL: https://issues.apache.org/jira/browse/NETBEANS-3525
 Project: NetBeans
  Issue Type: Improvement
  Components: ide - Code, projects - Libraries
Affects Versions: Next, 11.2
Reporter: Jose
Assignee: Jose


Notes:
- In addition to Java 5 and Java 6, this release has now full Java 7 support 
(minimum JDK 7u1 required).
- Many bug fixes
- Security fixes
- Improved performance

[Apache Lucene Web Page|https://lucene.apache.org/core/]

[Apache Lucene 
Releases|https://issues.apache.org/jira/projects/LUCENE?selectedItem=com.atlassian.jira.jira-projects-plugin:release-page&status=released]
 * [Apache Lucene Release Notes 
3.6.0|https://mail-archives.apache.org/mod_mbox/lucene-general/201204.mbox/%3CCAOdYfZVLVvs392LDt5X0XvxT3V%2Ba0Y%2BORwNGfJpjBuBC0gFSAQ%40mail.gmail.com%3E]
 * [Apache Lucene Release Notes 
3.6.1|https://mail-archives.apache.org/mod_mbox/lucene-general/201207.mbox/%3C010a01cd6811%2422d72430%2468856c90%24%40apache.org%3E]
 * [Apache Lucene Release Notes 
3.6.2|https://mail-archives.apache.org/mod_mbox/lucene-general/201212.mbox/%3CCAOdYfZVtM21W%3DfKe8D82fCpKhrMEBBo7QjjmgZrp-tMv7stQhA%40mail.gmail.com%3E]



--
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-3525) Upgrade Apache Lucene from 3.5.0 to 3.6.2

2019-12-02 Thread ASF GitHub Bot (Jira)


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

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

> Upgrade Apache Lucene from 3.5.0 to 3.6.2
> -
>
> Key: NETBEANS-3525
> URL: https://issues.apache.org/jira/browse/NETBEANS-3525
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Code, projects - Libraries
>Affects Versions: Next, 11.2
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>  Labels: pull-request-available
>
> Notes:
> - In addition to Java 5 and Java 6, this release has now full Java 7 support 
> (minimum JDK 7u1 required).
> - Many bug fixes
> - Security fixes
> - Improved performance
> [Apache Lucene Web Page|https://lucene.apache.org/core/]
> [Apache Lucene 
> Releases|https://issues.apache.org/jira/projects/LUCENE?selectedItem=com.atlassian.jira.jira-projects-plugin:release-page&status=released]
>  * [Apache Lucene Release Notes 
> 3.6.0|https://mail-archives.apache.org/mod_mbox/lucene-general/201204.mbox/%3CCAOdYfZVLVvs392LDt5X0XvxT3V%2Ba0Y%2BORwNGfJpjBuBC0gFSAQ%40mail.gmail.com%3E]
>  * [Apache Lucene Release Notes 
> 3.6.1|https://mail-archives.apache.org/mod_mbox/lucene-general/201207.mbox/%3C010a01cd6811%2422d72430%2468856c90%24%40apache.org%3E]
>  * [Apache Lucene Release Notes 
> 3.6.2|https://mail-archives.apache.org/mod_mbox/lucene-general/201212.mbox/%3CCAOdYfZVtM21W%3DfKe8D82fCpKhrMEBBo7QjjmgZrp-tMv7stQhA%40mail.gmail.com%3E]



--
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-3515) Payara Server HotDeploy support

2019-12-02 Thread Gaurav Gupta (Jira)


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

Gaurav Gupta updated NETBEANS-3515:
---
Summary: Payara Server HotDeploy support  (was: Payara Server HotReload 
support)

> Payara Server HotDeploy support
> ---
>
> Key: NETBEANS-3515
> URL: https://issues.apache.org/jira/browse/NETBEANS-3515
> Project: NetBeans
>  Issue Type: New Feature
>  Components: serverplugins - Code
>Reporter: Gaurav Gupta
>Assignee: Gaurav Gupta
>Priority: Major
>  Labels: Payara-Server, development-mode, pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Payara Server supports the *HotReload* feature by passing the command line 
> "*--hotdeploy"* option in deploy/redeploy command.
> On redeployment of application In HotDeploy mode, the Application deployment 
> performance is improved in the Payara Server by replacing the classloader and 
> using the cached application metadata and info instead of doing the fresh 
> deployment each time.
>  
>  



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