[jira] [Created] (NETBEANS-1108) Replace the repetitive code for error check in Hint module

2018-08-02 Thread vikas kumar prabhakar (JIRA)
vikas kumar prabhakar created NETBEANS-1108:
---

 Summary: Replace the repetitive code for error check in Hint module
 Key: NETBEANS-1108
 URL: https://issues.apache.org/jira/browse/NETBEANS-1108
 Project: NetBeans
  Issue Type: Improvement
Reporter: vikas kumar prabhakar
Assignee: vikas kumar prabhakar


Replace the repetitive code for error check in Hint with 
TreeUtilities.hasError() API method



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1063) Editor Hints PopUp Drawing is Slow

2018-08-02 Thread Sarvesh Kesharwani (JIRA)


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

Sarvesh Kesharwani commented on NETBEANS-1063:
--

I see. Please consider moving to NetBeans 9.0 RC3, as the delay in code popup 
there is very minimal and you would be able to latest versions of jdk with 
NetBeans 9.0.

> Editor Hints PopUp Drawing is Slow
> --
>
> Key: NETBEANS-1063
> URL: https://issues.apache.org/jira/browse/NETBEANS-1063
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Hints  Annotations
>Affects Versions: 8.2
>Reporter: Laszlo Kishalmi
>Assignee: Sarvesh Kesharwani
>Priority: Major
>
> Editor hints popup has a visible "flicker", as the containing box appears, 
> clears then the component is drawn. This shall be speed up by removing the 
> useless drawings. The popup works well on code complete and code generation.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-920) crash on startup when setting jdk 10 in /etc/netbeans.conf

2018-08-02 Thread Sarvesh Kesharwani (JIRA)


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

Sarvesh Kesharwani commented on NETBEANS-920:
-

How are you trying to run NetBeans ?

You should run "netbeans64.exe", because that picks up the configuration from 
netbeans.conf file

Whereas if you are using ant tryme, you would need to specify jdk home while 
running the tryme command as ant tryme -Dtryme.jdkhome="C:\Program 
Files\Java\jdk-10" , because tryme doesn't look at the conf file.

> crash on startup when setting jdk 10 in /etc/netbeans.conf
> --
>
> Key: NETBEANS-920
> URL: https://issues.apache.org/jira/browse/NETBEANS-920
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Welcome
>Affects Versions: 9.0
> Environment: windows 10 64b
>Reporter: jose luis romero
>Assignee: Sarvesh Kesharwani
>Priority: Major
>
> NetBeans rc1  didn't set Java 10 as default, it took Java 8 so I added as 
> Java Platform using the IDE and then setted in netbeans.conf 
> netbeans_jdkhome="C:\Program Files\Java\jdk-10"
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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] [Issue Comment Deleted] (NETBEANS-920) crash on startup when setting jdk 10 in /etc/netbeans.conf

2018-08-02 Thread Sarvesh Kesharwani (JIRA)


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

Sarvesh Kesharwani updated NETBEANS-920:

Comment: was deleted

(was: You are getting this message because nb-javac needs to be installed in 
NetBeans if you want to utilize the full features of NetBeans 9 (although it is 
optional to install this plugin). This is not an issue.)

> crash on startup when setting jdk 10 in /etc/netbeans.conf
> --
>
> Key: NETBEANS-920
> URL: https://issues.apache.org/jira/browse/NETBEANS-920
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Welcome
>Affects Versions: 9.0
> Environment: windows 10 64b
>Reporter: jose luis romero
>Assignee: Sarvesh Kesharwani
>Priority: Major
>
> NetBeans rc1  didn't set Java 10 as default, it took Java 8 so I added as 
> Java Platform using the IDE and then setted in netbeans.conf 
> netbeans_jdkhome="C:\Program Files\Java\jdk-10"
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-920) crash on startup when setting jdk 10 in /etc/netbeans.conf

2018-08-02 Thread Sarvesh Kesharwani (JIRA)


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

Sarvesh Kesharwani edited comment on NETBEANS-920 at 8/3/18 4:40 AM:
-

You are getting this message because nb-javac needs to be installed in NetBeans 
if you want to utilize the full features of NetBeans 9 (although it is optional 
to install this plugin). This is not an issue.


was (Author: sakeshar):
You are getting this message because nb-javac needs to be installed in NetBeans 
if you want to utilize the full features of NetBeans 9. This is not an issue.

> crash on startup when setting jdk 10 in /etc/netbeans.conf
> --
>
> Key: NETBEANS-920
> URL: https://issues.apache.org/jira/browse/NETBEANS-920
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Welcome
>Affects Versions: 9.0
> Environment: windows 10 64b
>Reporter: jose luis romero
>Assignee: Sarvesh Kesharwani
>Priority: Major
>
> NetBeans rc1  didn't set Java 10 as default, it took Java 8 so I added as 
> Java Platform using the IDE and then setted in netbeans.conf 
> netbeans_jdkhome="C:\Program Files\Java\jdk-10"
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-920) crash on startup when setting jdk 10 in /etc/netbeans.conf

2018-08-02 Thread Sarvesh Kesharwani (JIRA)


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

Sarvesh Kesharwani commented on NETBEANS-920:
-

You are getting this message because nb-javac needs to be installed in NetBeans 
if you want to utilize the full features of NetBeans 9. This is not an issue.

> crash on startup when setting jdk 10 in /etc/netbeans.conf
> --
>
> Key: NETBEANS-920
> URL: https://issues.apache.org/jira/browse/NETBEANS-920
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Welcome
>Affects Versions: 9.0
> Environment: windows 10 64b
>Reporter: jose luis romero
>Assignee: Sarvesh Kesharwani
>Priority: Major
>
> NetBeans rc1  didn't set Java 10 as default, it took Java 8 so I added as 
> Java Platform using the IDE and then setted in netbeans.conf 
> netbeans_jdkhome="C:\Program Files\Java\jdk-10"
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-530) No Bind option on the popup to create Bindings

2018-08-02 Thread Marcin Jamszolik (JIRA)


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

Marcin Jamszolik commented on NETBEANS-530:
---

How is Eclipse getting away with it then?

According to their latest documentation and their examples, they are using the 
very same databinding library.  Unless I am wrong.  

I would love to be wrong on this, actually.  
The question is.  Why Eclipse is able to include the feature?
I would imagine they are also bound by similar constraints when it comes to 
opensource?

Can Netbeans adopt what eclipse does?

[Eclipse Documentation Swing data binding 
|https://help.eclipse.org/photon/index.jsp?topic=%2Forg.eclipse.wb.swing.doc.user%2Fhtml%2Ffeatures%2Fswing%2Fdata_binding%2Fswing_bindings.html=%22swing%22%20%22binding%22%20%22bind%22%20]

 

!Screenshot from 2018-08-02 21-18-53.png!

> No Bind option on the popup to create Bindings 
> ---
>
> Key: NETBEANS-530
> URL: https://issues.apache.org/jira/browse/NETBEANS-530
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
> Environment: Window 8.1, MacOs 10.11.6
>Reporter: efrem mccrimon
>Priority: Major
> Attachments: Screenshot from 2018-08-02 21-18-53.png, 
> no_bind_popup_item.JPG
>
>
> Trying to create bindings, created a textfield and Slider to demonstrate and 
> test basic bean binding.  From the Design view, I wanted to bind the slider 
> to the text field.
> Right-click the text field component and wanted to choose Bind.  There is not 
> Bind option on the popup menu.  It is not present in build #375, or #378.  It 
> is on NB 8.2 and NB 8.02.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-530) No Bind option on the popup to create Bindings

2018-08-02 Thread Marcin Jamszolik (JIRA)


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

Marcin Jamszolik updated NETBEANS-530:
--
Attachment: Screenshot from 2018-08-02 21-18-53.png

> No Bind option on the popup to create Bindings 
> ---
>
> Key: NETBEANS-530
> URL: https://issues.apache.org/jira/browse/NETBEANS-530
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
> Environment: Window 8.1, MacOs 10.11.6
>Reporter: efrem mccrimon
>Priority: Major
> Attachments: Screenshot from 2018-08-02 21-18-53.png, 
> no_bind_popup_item.JPG
>
>
> Trying to create bindings, created a textfield and Slider to demonstrate and 
> test basic bean binding.  From the Design view, I wanted to bind the slider 
> to the text field.
> Right-click the text field component and wanted to choose Bind.  There is not 
> Bind option on the popup menu.  It is not present in build #375, or #378.  It 
> is on NB 8.2 and NB 8.02.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-920) crash on startup when setting jdk 10 in /etc/netbeans.conf

2018-08-02 Thread jose luis romero (JIRA)


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

jose luis romero commented on NETBEANS-920:
---

It works now, still doesn't detect jdk 10 installed while version 8 is the 
default, but I could add it after
I got this message in the 1st startup
*https://cwiki.apache.org/confluence/download/attachments/74688306/java-features-limited-1.png?version=1=1513508282000=v2*

> crash on startup when setting jdk 10 in /etc/netbeans.conf
> --
>
> Key: NETBEANS-920
> URL: https://issues.apache.org/jira/browse/NETBEANS-920
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Welcome
>Affects Versions: 9.0
> Environment: windows 10 64b
>Reporter: jose luis romero
>Assignee: Sarvesh Kesharwani
>Priority: Major
>
> NetBeans rc1  didn't set Java 10 as default, it took Java 8 so I added as 
> Java Platform using the IDE and then setted in netbeans.conf 
> netbeans_jdkhome="C:\Program Files\Java\jdk-10"
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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



[incubator-netbeans] branch master updated: Adds Version parsing to svn output.

2018-08-02 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/incubator-netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new c9d53a6  Adds Version parsing to svn output.
c9d53a6 is described below

commit c9d53a66c0518a3ee8008b781a1940c079808585
Author: pokebadgerswithspoon 
AuthorDate: Thu Aug 2 23:09:36 2018 +0300

Adds Version parsing to svn output.

Comparing version numbers should be based on numbers, not strings.
I.e. its possible to determine if 1.2.2 and 1.2.123 have same MAJOR.MINOR 
version.

Fixes NETBEANS-771.
---
 .../client/cli/commands/VersionCommand.java| 150 ++---
 .../client/cli/commands/VersionCommandTest.java|  98 ++
 2 files changed, 227 insertions(+), 21 deletions(-)

diff --git 
a/subversion/src/org/netbeans/modules/subversion/client/cli/commands/VersionCommand.java
 
b/subversion/src/org/netbeans/modules/subversion/client/cli/commands/VersionCommand.java
index f8f6db0..81ef659 100644
--- 
a/subversion/src/org/netbeans/modules/subversion/client/cli/commands/VersionCommand.java
+++ 
b/subversion/src/org/netbeans/modules/subversion/client/cli/commands/VersionCommand.java
@@ -24,6 +24,7 @@ import java.io.IOException;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.logging.Level;
+import java.util.regex.Pattern;
 import org.netbeans.modules.subversion.Subversion;
 import org.netbeans.modules.subversion.client.cli.SvnCommand;
 import org.tigris.subversion.svnclientadapter.ISVNNotifyListener;
@@ -37,20 +38,22 @@ public class VersionCommand extends SvnCommand {
 private List output = new ArrayList();
 private boolean unsupportedVersion = false;
 private boolean supportedMetadataFormat = false;
-
+static final Version VERSION_15 = Version.parse("1.5");
+static final Version VERSION_16 = Version.parse("1.6");
+
 @Override
 protected int getCommand() {
 return ISVNNotifyListener.Command.UNDEFINED;
 }
-
+
 @Override
 public void prepareCommand(Arguments arguments) throws IOException {
-arguments.add("--version");
+arguments.add("--version");
 }
 
 @Override
 protected void config(File configDir, String username, String password, 
Arguments arguments) {
-arguments.addConfigDir(configDir);
+arguments.addConfigDir(configDir);
 }
 
 @Override
@@ -61,7 +64,7 @@ public class VersionCommand extends SvnCommand {
 output.add(lineString);
 super.outputText(lineString);
 }
-
+
 public boolean checkForErrors() {
 Integer exitCode = getExitCode();
 if ((exitCode == null) || !exitCode.equals(Integer.valueOf(0))) {
@@ -79,20 +82,16 @@ public class VersionCommand extends SvnCommand {
 
 int pos = string.indexOf(" version ");
 if (pos > -1) {
-Subversion.LOG.log(Level.INFO, "Commandline client version: 
{0}", string.substring(pos + 9));
-}
-
-if(string.indexOf("version 0.")  > -1 ||
-   string.indexOf("version 1.0") > -1 ||
-   string.indexOf("version 1.1") > -1 ||
-   string.indexOf("version 1.2") > -1 ||
-   string.indexOf("version 1.3") > -1 ||
-   string.indexOf("version 1.4") > -1) {
-unsupportedVersion = true;
-return false;
-} else if(string.indexOf("version 1.5")  > -1 
-|| string.indexOf("version 1.6") > -1) {
-supportedMetadataFormat = true;
+String vString = string.substring(pos + 9);
+Subversion.LOG.log(Level.INFO, "Commandline client version: 
{0}", vString);
+Version version = Version.parse(vString);
+if (version.lowerThan(VERSION_15)) {
+unsupportedVersion = true;
+return false;
+} else if (version.sameMinor(VERSION_15)
+|| version.sameMinor(VERSION_16)) {
+supportedMetadataFormat = true;
+}
 }
 }
 return outputProduced;
@@ -105,7 +104,7 @@ public class VersionCommand extends SvnCommand {
 public boolean isMetadataFormatSupported() {
 return supportedMetadataFormat;
 }
-
+
 public String getOutput() {
 StringBuffer sb = new StringBuffer();
 for (String string : output) {
@@ -113,5 +112,114 @@ public class VersionCommand extends SvnCommand {
 sb.append('\n');
 }
 return sb.toString();
-}
+}
+
+/**
+ * Version holder with semantic verioning support.
+ *
+ * Keep svn --version output in mind. The container is compatible with
+ * MAJOR.MINOR.PATCH format plus some remainder as it happens in svn

[jira] [Commented] (NETBEANS-1107) org.netbeans.api.project.ui.OpenProjects is missing from the api

2018-08-02 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1107:
-

Great thanks for saying that, also if you're not on the mailing lists, please 
go to netbeans.apache.org and join the user and/or dev mailing list.

> org.netbeans.api.project.ui.OpenProjects is missing from the api
> 
>
> Key: NETBEANS-1107
> URL: https://issues.apache.org/jira/browse/NETBEANS-1107
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Ken
>Priority: Major
> Attachments: 1.png, 2.png
>
>
>  The only class available in the org.netbeans.api.project.ui api is 
> ProjectProblems.  Was the omission of the OpenProjects and other classes 
> intentional? See attached screenshots.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1107) org.netbeans.api.project.ui.OpenProjects is missing from the api

2018-08-02 Thread Ken (JIRA)


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

Ken commented on NETBEANS-1107:
---

Thank you for the quick response!

> org.netbeans.api.project.ui.OpenProjects is missing from the api
> 
>
> Key: NETBEANS-1107
> URL: https://issues.apache.org/jira/browse/NETBEANS-1107
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Ken
>Priority: Major
> Attachments: 1.png, 2.png
>
>
>  The only class available in the org.netbeans.api.project.ui api is 
> ProjectProblems.  Was the omission of the OpenProjects and other classes 
> intentional? See attached screenshots.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1107) org.netbeans.api.project.ui.OpenProjects is missing from the api

2018-08-02 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1107:
-

Here it is: 
http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-projectuiapi-base/org/netbeans/api/project/ui/OpenProjects.html

Gj

> org.netbeans.api.project.ui.OpenProjects is missing from the api
> 
>
> Key: NETBEANS-1107
> URL: https://issues.apache.org/jira/browse/NETBEANS-1107
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Ken
>Priority: Major
> Attachments: 1.png, 2.png
>
>
>  The only class available in the org.netbeans.api.project.ui api is 
> ProjectProblems.  Was the omission of the OpenProjects and other classes 
> intentional? See attached screenshots.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1107) org.netbeans.api.project.ui.OpenProjects is missing from the api

2018-08-02 Thread Ken (JIRA)


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

Ken updated NETBEANS-1107:
--
Description: 
 The only class available in the org.netbeans.api.project.ui api is 
ProjectProblems.  Was the omission of the OpenProjects and other classes 
intentional? See attached screenshots.

 

  was:
 The only class available in the org.netbeans.api.project.ui api is 
ProjectProblems.  Was the omission of the OpenProjects and other classes 
intentional?  

 


> org.netbeans.api.project.ui.OpenProjects is missing from the api
> 
>
> Key: NETBEANS-1107
> URL: https://issues.apache.org/jira/browse/NETBEANS-1107
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Ken
>Priority: Major
> Attachments: 1.png, 2.png
>
>
>  The only class available in the org.netbeans.api.project.ui api is 
> ProjectProblems.  Was the omission of the OpenProjects and other classes 
> intentional? See attached screenshots.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1107) org.netbeans.api.project.ui.OpenProjects is missing from the api

2018-08-02 Thread Ken (JIRA)


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

Ken updated NETBEANS-1107:
--
Description: 
 The only class available in the org.netbeans.api.project.ui api is 
ProjectProblems.  Was the omission of the OpenProjects and other classes 
intentional?  

 

  was:
 

 


> org.netbeans.api.project.ui.OpenProjects is missing from the api
> 
>
> Key: NETBEANS-1107
> URL: https://issues.apache.org/jira/browse/NETBEANS-1107
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Ken
>Priority: Major
> Attachments: 1.png, 2.png
>
>
>  The only class available in the org.netbeans.api.project.ui api is 
> ProjectProblems.  Was the omission of the OpenProjects and other classes 
> intentional?  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1107) org.netbeans.api.project.ui.OpenProjects is missing from the api

2018-08-02 Thread Ken (JIRA)


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

Ken updated NETBEANS-1107:
--
Description: 
 

 

  was:
!image-2018-08-02-15-01-19-284.png!

 

!image-2018-08-02-15-01-51-507.png!


> org.netbeans.api.project.ui.OpenProjects is missing from the api
> 
>
> Key: NETBEANS-1107
> URL: https://issues.apache.org/jira/browse/NETBEANS-1107
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Ken
>Priority: Major
> Attachments: 1.png, 2.png
>
>
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1107) org.netbeans.api.project.ui.OpenProjects is missing from the api

2018-08-02 Thread Ken (JIRA)


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

Ken updated NETBEANS-1107:
--
Attachment: 2.png
1.png

> org.netbeans.api.project.ui.OpenProjects is missing from the api
> 
>
> Key: NETBEANS-1107
> URL: https://issues.apache.org/jira/browse/NETBEANS-1107
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Ken
>Priority: Major
> Attachments: 1.png, 2.png
>
>
> !image-2018-08-02-15-01-19-284.png!
>  
> !image-2018-08-02-15-01-51-507.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1107) org.netbeans.api.project.ui.OpenProjects is missing from the api

2018-08-02 Thread Ken (JIRA)
Ken created NETBEANS-1107:
-

 Summary: org.netbeans.api.project.ui.OpenProjects is missing from 
the api
 Key: NETBEANS-1107
 URL: https://issues.apache.org/jira/browse/NETBEANS-1107
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 9.0
Reporter: Ken


!image-2018-08-02-15-01-19-284.png!

 

!image-2018-08-02-15-01-51-507.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1106) Netbeans corrupts build-impl.xml files with modulepath options that will not compile.

2018-08-02 Thread Stephen McCants (JIRA)
Stephen McCants created NETBEANS-1106:
-

 Summary: Netbeans corrupts build-impl.xml files with modulepath 
options that will not compile.
 Key: NETBEANS-1106
 URL: https://issues.apache.org/jira/browse/NETBEANS-1106
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 9.0
Reporter: Stephen McCants


This was originally opened here 
([https://netbeans.org/bugzilla/show_bug.cgi?id=271487)], but I think that was 
the wrong place, so I'm opening it here.

Netbeans automatically generates the build-impl.xml file in a way that does not 
work correctly outside of Netbeans.

Running vanilla Ant 1.9.9 or Ant 1.10.1 using Java 1.8 results in the following 
error:
BUILD FAILED
C:\Users\Stephen\hcs\orc.trunk\nb\build.xml:278: The following error occurred 
while executing this line:
C:\Users\Stephen\hcs\orc.trunk\nb\build.xml:229: The following error occurred 
while executing this line:
C:\Users\Stephen\hcs\orc.trunk\nb\ServerLibWOC\nbproject\build-impl.xml:1623: 
Unknown attribute [modulepath]

Total time: 2 minutes 35 seconds
 
Being able to build from the command line is important for continuous build 
(e.g. Jenkins or Hudson) and release processes that will not be done from 
inside Netbeans. Netbeans should work correctly or at least provide information 
about what additional or substitute libraries are required to make the build 
work correctly.
 
Tried running the command line versions of Ant under Java 9ea, but this made no 
difference.
 
*Workaround:* Edit all build-impl.xml files and remove the "modulepath=" 
references. This has to be done frequently as Netbeans will re-introduce the 
"modulepath" at a later date.
 
Additional details and some discussion found here:
[https://stackoverflow.com/questions/46244201/netbeans-dev-9-x-java-projects-will-not-build-outside-of-netbeans/46246930?noredirect=1#comment79493141_46246930]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1105) Compiling using NB8.1 as platform does not work in NB9

2018-08-02 Thread matteodg (JIRA)


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

matteodg updated NETBEANS-1105:
---
Description: 
We are going to move to NB9 as our IDE, so we tried to compile our application 
based on Java8 and NB8.1 in NB9 IDE.

Successfully set the Java platform to be Java 8 and NB platform+harness to be 
NB8.1, but when we compile a module containing a @ServiceProvider annotation to 
inject in the global lookup an implementation of an SPI we get this error:

 
{noformat}
...
Compiling 2 source files to D:\code\test\application\module\build\classes
error: java.nio.file.NoSuchFileException: 
D:\code\test\application\module\build\classes\META-INF\services\module.SPI
1 error
...
{noformat}
 

Attached a simple NB rich client application with a single module.

The problem arises only by using Java8+NB8.1 as platform, whereas using 
Java10+NB9 as platform it works fine. We also tried to force NB to use Ant from 
NB8.1 (extide/ant), but nothing changes.

Something strange is that launching Ant and outputting the environment 
variables we have this even though we set the JAVA_HOME environment variable to 
point to Java8:

 
{noformat}
env.JAVA_HOME=C:\Program Files\Java\jdk1.8.0_181
java.home=C:\Program Files\Java\jdk-10.0.2
java.version=10.0.2
java.specification.version=10
java.runtime.version=10.0.2+13
java.vm.version=10.0.2+13
{noformat}
So we guess the problem is with Java or Ant?

  was:
We are going to move to NB9 as our IDE, so we tried to compile our application 
based on Java8 and NB8.1 in NB9 IDE.

Successfully set the Java platform to be Java 8 and NB platform+harness to be 
NB8.1, but when we compile a module containing a @ServiceProvider annotation to 
inject in the global lookup an implementation of an SPI we get this error:

 
{noformat}
...
warning: Supported source version 'RELEASE_7' from annotation processor 
'org.netbeans.modules.openide.util.ServiceProviderProcessor' less than -source 
'8'
error: java.nio.file.NoSuchFileException: 
D:\code\studioSL\trunk\commons\utilities\build\classes\META-INF\services\com.streamsim.utilities.io.WindowsUtilities
...
{noformat}
 

Attached a simple NB rich client application with a single module.

The problem arises only by using Java8+NB8.1 as platform, whereas using 
Java10+NB9 as platform it works fine. We also tried to force NB to use Ant from 
NB8.1 (extide/ant), but nothing changes.

Something strange is that launching Ant and outputting the environment 
variables we have this even though we set the JAVA_HOME environment variable to 
point to Java8:

 
{noformat}
env.JAVA_HOME=C:\Program Files\Java\jdk1.8.0_181
java.home=C:\Program Files\Java\jdk-10.0.2
java.version=10.0.2
java.specification.version=10
java.runtime.version=10.0.2+13
java.vm.version=10.0.2+13
{noformat}
So we guess the problem is with Java or Ant?


> Compiling using NB8.1 as platform does not work in NB9
> --
>
> Key: NETBEANS-1105
> URL: https://issues.apache.org/jira/browse/NETBEANS-1105
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 9.0
>Reporter: matteodg
>Priority: Major
> Fix For: 9.0
>
> Attachments: application.zip
>
>
> We are going to move to NB9 as our IDE, so we tried to compile our 
> application based on Java8 and NB8.1 in NB9 IDE.
> Successfully set the Java platform to be Java 8 and NB platform+harness to be 
> NB8.1, but when we compile a module containing a @ServiceProvider annotation 
> to inject in the global lookup an implementation of an SPI we get this error:
>  
> {noformat}
> ...
> Compiling 2 source files to D:\code\test\application\module\build\classes
> error: java.nio.file.NoSuchFileException: 
> D:\code\test\application\module\build\classes\META-INF\services\module.SPI
> 1 error
> ...
> {noformat}
>  
> Attached a simple NB rich client application with a single module.
> The problem arises only by using Java8+NB8.1 as platform, whereas using 
> Java10+NB9 as platform it works fine. We also tried to force NB to use Ant 
> from NB8.1 (extide/ant), but nothing changes.
> Something strange is that launching Ant and outputting the environment 
> variables we have this even though we set the JAVA_HOME environment variable 
> to point to Java8:
>  
> {noformat}
> env.JAVA_HOME=C:\Program Files\Java\jdk1.8.0_181
> java.home=C:\Program Files\Java\jdk-10.0.2
> java.version=10.0.2
> java.specification.version=10
> java.runtime.version=10.0.2+13
> java.vm.version=10.0.2+13
> {noformat}
> So we guess the problem is with Java or Ant?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

[jira] [Created] (NETBEANS-1105) Compiling using NB8.1 as platform does not work in NB9

2018-08-02 Thread matteodg (JIRA)
matteodg created NETBEANS-1105:
--

 Summary: Compiling using NB8.1 as platform does not work in NB9
 Key: NETBEANS-1105
 URL: https://issues.apache.org/jira/browse/NETBEANS-1105
 Project: NetBeans
  Issue Type: Bug
  Components: apisupport - Harness
Affects Versions: 9.0
Reporter: matteodg
 Fix For: 9.0
 Attachments: application.zip

We are going to move to NB9 as our IDE, so we tried to compile our application 
based on Java8 and NB8.1 in NB9 IDE.

Successfully set the Java platform to be Java 8 and NB platform+harness to be 
NB8.1, but when we compile a module containing a @ServiceProvider annotation to 
inject in the global lookup an implementation of an SPI we get this error:

 
{noformat}
...
warning: Supported source version 'RELEASE_7' from annotation processor 
'org.netbeans.modules.openide.util.ServiceProviderProcessor' less than -source 
'8'
error: java.nio.file.NoSuchFileException: 
D:\code\studioSL\trunk\commons\utilities\build\classes\META-INF\services\com.streamsim.utilities.io.WindowsUtilities
...
{noformat}
 

Attached a simple NB rich client application with a single module.

The problem arises only by using Java8+NB8.1 as platform, whereas using 
Java10+NB9 as platform it works fine. We also tried to force NB to use Ant from 
NB8.1 (extide/ant), but nothing changes.

Something strange is that launching Ant and outputting the environment 
variables we have this even though we set the JAVA_HOME environment variable to 
point to Java8:

 
{noformat}
env.JAVA_HOME=C:\Program Files\Java\jdk1.8.0_181
java.home=C:\Program Files\Java\jdk-10.0.2
java.version=10.0.2
java.specification.version=10
java.runtime.version=10.0.2+13
java.vm.version=10.0.2+13
{noformat}
So we guess the problem is with Java or Ant?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1085) Tools->options->java->maven, gives the javax.management.openmbean.OpenDataException

2018-08-02 Thread Gilberto C Andrade (JIRA)


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

Gilberto C Andrade commented on NETBEANS-1085:
--

Same exception, but from other source

> Tools->options->java->maven, gives the 
> javax.management.openmbean.OpenDataException
> ---
>
> Key: NETBEANS-1085
> URL: https://issues.apache.org/jira/browse/NETBEANS-1085
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Options, ide - UI, projects - Maven
>Affects Versions: Next
> Environment: openSUSE Leap 42.3 - kde
> openjdk version "11-internal" 2018-09-25
> OpenJDK Runtime Environment (build 11-internal+24-suse-75.1-x8664)
> OpenJDK 64-Bit Server VM (build 11-internal+24-suse-75.1-x8664, mixed mode)
>Reporter: Gilberto C Andrade
>Assignee: Milos Kleint
>Priority: Major
>  Labels: Editor, maven
> Attachments: bug-report-20180830-ide-log.txt, 
> bug-report-20180830-ui-log.txt, bug-report-2_20180730.png, 
> bug-report-3-after-restart_20180730.png, bug-report-3_20180730.png, 
> bug-report_20180730.png, linux-build-496-JDK8_20180730.png, 
> linux-build-496_20180730.png
>
>
> Have been using the [linux 
> buids|https://builds.apache.org/job/incubator-netbeans-linux/] for some time. 
> Today:
> * download the build 496 [1];
> * removed .netbeans, .cache and .java folders;
> * started it with --locale en --jdkhome /usr/lib64/jvm/java-11-openjdk 
> parameters
> I've identified that:
> * any changes on tools->options->java->maven, gives the 
> javax.management.openmbean.OpenDataException [2];
> * trying ctrl+a to select all the UI-log text gives another bug[3];
> * there is a background process (saving snapshot) which doesn't stop, even 
> when closing the IDE[4];
> [1] linux-build-496_20180730.png
> [2] bug-report_20180730.png
> [3] bug-report-2_20180730.png
> [4] bug-report-3_20180730.png



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1103) AssertionError occurred by stepping through program

2018-08-02 Thread Rudolf Pecinovsky (JIRA)
Rudolf Pecinovsky created NETBEANS-1103:
---

 Summary: AssertionError occurred by stepping through program
 Key: NETBEANS-1103
 URL: https://issues.apache.org/jira/browse/NETBEANS-1103
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Debugger
Affects Versions: 9.0
 Environment: Windows 10
Reporter: Rudolf Pecinovsky
 Attachments: messages.log

While stepping through a debugged file a java.lang.AssertionError exception has 
occurred.

after trying to step into a metnod.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1104) change of screen orientation triggers exception

2018-08-02 Thread Lutz Fischer (JIRA)
Lutz Fischer created NETBEANS-1104:
--

 Summary: change of screen orientation triggers exception
 Key: NETBEANS-1104
 URL: https://issues.apache.org/jira/browse/NETBEANS-1104
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 9.0
 Environment: 
$ cat /etc/debian_version
9.5
$ uname -a
Linux mittelerde 4.17.0-0.bpo.1-amd64 #1 SMP Debian 4.17.8-1~bpo9+1 
(2018-07-23) x86_64 GNU/Linux
$ java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-1~deb9u1-b11)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)


Reporter: Lutz Fischer


I change the screenorientation on my computer and that resulted in followinf 
exeception to be thrown. It does not appear to be fatal as netbeans seems still 
to work afterwards.

 

SEVERE [global]
java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to 
sun.java2d.xr.XRSurfaceData
    at sun.java2d.xr.XRPMBlitLoops.cacheToTmpSurface(XRPMBlitLoops.java:148)
    at sun.java2d.xr.XrSwToPMBlit.Blit(XRPMBlitLoops.java:356)
    at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:959)
    at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:577)
    at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:67)
    at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1014)
    at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318)
    at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3296)
    at org.openide.actions.HeapView.paintDropShadowText(HeapView.java:657)
    at org.openide.actions.HeapView.paintComponent(HeapView.java:576)
    at javax.swing.JComponent.paint(JComponent.java:1056)
    at javax.swing.JComponent.paintChildren(JComponent.java:889)
    at javax.swing.JComponent.paint(JComponent.java:1065)
    at javax.swing.JComponent.paintChildren(JComponent.java:889)
    at javax.swing.JComponent.paint(JComponent.java:1065)
    at javax.swing.JComponent.paintChildren(JComponent.java:889)
    at javax.swing.JComponent.paint(JComponent.java:1065)
    at 
org.netbeans.core.windows.view.ui.toolbars.ToolbarContainer.paint(ToolbarContainer.java:304)
    at javax.swing.JComponent.paintChildren(JComponent.java:889)
    at javax.swing.JComponent.paint(JComponent.java:1065)
    at javax.swing.JComponent.paintChildren(JComponent.java:889)
    at javax.swing.JComponent.paint(JComponent.java:1065)
    at javax.swing.JComponent.paintChildren(JComponent.java:889)
    at javax.swing.JComponent.paint(JComponent.java:1065)
    at javax.swing.JComponent.paintChildren(JComponent.java:889)
    at javax.swing.JComponent.paint(JComponent.java:1065)
    at org.netbeans.core.windows.view.ui.MainWindow$1.paint(MainWindow.java:164)
    at javax.swing.JComponent.paintChildren(JComponent.java:889)
    at javax.swing.JComponent.paint(JComponent.java:1065)
    at javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
    at javax.swing.JComponent.paintChildren(JComponent.java:889)
    at javax.swing.JComponent.paintToOffscreen(JComponent.java:5217)
    at 
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
    at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
    at 
javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:306)
    at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
    at javax.swing.JComponent.paint(JComponent.java:1042)
    at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
    at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79)
    at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116)
    at java.awt.Container.paint(Container.java:1977)
    at java.awt.Window.paint(Window.java:3906)
    at javax.swing.RepaintManager$4.run(RepaintManager.java:842)
    at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
    at java.security.AccessController.doPrivileged(Native Method)
    at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
    at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
    at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
    at 
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at 

[jira] [Created] (NETBEANS-1102) Improve searching for jigsaw modules

2018-08-02 Thread John Kostaras (JIRA)
John Kostaras created NETBEANS-1102:
---

 Summary: Improve searching for jigsaw modules 
 Key: NETBEANS-1102
 URL: https://issues.apache.org/jira/browse/NETBEANS-1102
 Project: NetBeans
  Issue Type: Improvement
  Components: java - Project
Affects Versions: 9.0
 Environment: JDK 9 and later
Reporter: John Kostaras
 Fix For: Next
 Attachments: NB-ModuleDependencies.png

When developing jigsaw modularised Java applications, it is not easy to search 
in the 90+ modules of the JDK for the class that the user wishes to use. Either 
while the user types an import in the java editor and then clicking on the 
error bulb or by right-clicking on *Libraries* in the _Project Explorer,_ a 
dialog box could be displayed (similar to when adding a dependency in a 
NetBeans RCP module – see attachment) that displays the available jdk modules 
for the user to choose from. A search filter would filter this list to what the 
user types in it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1101) Add Export Package menu item in popup menu when right-click a package in a jigsaw modular Java project

2018-08-02 Thread John Kostaras (JIRA)
John Kostaras created NETBEANS-1101:
---

 Summary: Add Export Package menu item in popup menu when 
right-click a package in a jigsaw modular Java project
 Key: NETBEANS-1101
 URL: https://issues.apache.org/jira/browse/NETBEANS-1101
 Project: NetBeans
  Issue Type: Improvement
  Components: java - Project
Affects Versions: 9.0
 Environment: JDK 9 and later
Reporter: John Kostaras
 Fix For: Next
 Attachments: NB-export-package.png

As of Java 9, modules have been introduced in the Java language. One can export 
a package in a Java module by adding an exports command in the module 
descriptor. Then the package's icon in the Project Explore turns into an open 
lock.

A nice enhancement would be to add a new menu item *Export package* like in the 
attachment, when displaying the popup menu on right-clicking on a package of a 
modularized Java application, that would do the job for you, i.e. add the line

{{exports ;}}

in the module descriptor. The menu action will then be replaced by an *Unexport 
package* to revert the action and remove the above line from the module 
descriptor, should the user wishes to.

This functionality already exists in NetBeans RCP module system and it would be 
a nice addition for jigsaw modules too.

These menu items should only be visible for jigsaw modularized projects, i.e. 
projects with a module descriptor.

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1100) NetBeans 9.0 doesn't start with JDK 10.0.2 on Windows 10

2018-08-02 Thread John Kostaras (JIRA)
John Kostaras created NETBEANS-1100:
---

 Summary: NetBeans 9.0 doesn't start with JDK 10.0.2 on Windows 10
 Key: NETBEANS-1100
 URL: https://issues.apache.org/jira/browse/NETBEANS-1100
 Project: NetBeans
  Issue Type: Bug
  Components: platform - JDK Problems
Affects Versions: 9.0
 Environment: MacOSX
JDK 10.0.1
Apache NetBeans 9.0 (released 29 July 2018)
Reporter: John Kostaras
 Fix For: Next


I recently installed JDK 10.0.2 on a Windows 10 machine that had no Java.

I configured released NB 9.0 to run with this version in netbeans.conf.

When I double clicked on netbeans64.exe nothing happens (I can only see the 
splash screen and then nothing). No logs.

JDK10 works fine in this machine.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-898) No suggestions for variable in JShell

2018-08-02 Thread John Kostaras (JIRA)


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

John Kostaras commented on NETBEANS-898:


I tried your code with running released Apache NB 9.0 with JDK 10.0.1 and the 
issue is still there. OS: MacOSX. 

> No suggestions for variable in JShell
> -
>
> Key: NETBEANS-898
> URL: https://issues.apache.org/jira/browse/NETBEANS-898
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JShell
>Affects Versions: 9.0
> Environment: release-302-on-20180517
> JDK11-ea15
>Reporter: Naoki Kishida
>Priority: Major
>
> There is no suggestions for a variable in JShell
> {code}
> [1]-> String s = "a"
> |  s ==> "a"
> [2]-> s.[ctrl]+[space]{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1075) Replace with var hint not shown for for-loop

2018-08-02 Thread Sarvesh Kesharwani (JIRA)


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

Sarvesh Kesharwani reassigned NETBEANS-1075:


Assignee: Sarvesh Kesharwani  (was: Reema Taneja)

> Replace with var hint not shown for for-loop
> 
>
> Key: NETBEANS-1075
> URL: https://issues.apache.org/jira/browse/NETBEANS-1075
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Reema Taneja
>Assignee: Sarvesh Kesharwani
>Priority: Minor
>  Labels: JDK10-LVTI
>
> List of = List.of("s","t");
> for(String s : of) { //-->No hint here
> }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1076) Replace with explicit type array error hint should handle handle null data

2018-08-02 Thread Sarvesh Kesharwani (JIRA)


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

Sarvesh Kesharwani reassigned NETBEANS-1076:


Assignee: Sarvesh Kesharwani

> Replace with explicit type array error hint should handle handle null data
> --
>
> Key: NETBEANS-1076
> URL: https://issues.apache.org/jira/browse/NETBEANS-1076
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Reema Taneja
>Assignee: Sarvesh Kesharwani
>Priority: Trivial
>  Labels: JDK10-LVTI
>
> var v1 = {null}; //convert to explicit type hint should not be displayed



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1099) Scanner in JShell waits for input for ever

2018-08-02 Thread John Kostaras (JIRA)
John Kostaras created NETBEANS-1099:
---

 Summary: Scanner in JShell waits for input for ever
 Key: NETBEANS-1099
 URL: https://issues.apache.org/jira/browse/NETBEANS-1099
 Project: NetBeans
  Issue Type: Bug
  Components: java - JShell
Affects Versions: 9.0
 Environment: MacOSX
JDK 10.0.1
Apache NetBeans 9.0 (released 29 July 2018)
Reporter: John Kostaras
 Fix For: Next


Issue has been encountered with JDK 10.0.1 but it also exists when starting 
NetBeans with JDK 9.

Start JShell from Tools --> Open Java Platform Shell.

Issue the following commands:

{{[1]-> import java.util.Scanner;}}
{{[2]-> Scanner sc = new Scanner(System.in);}}
{{| sc ==> java.util.Scanner[delimiters=\p\{javaWhitespace}+][position=0][match 
valid=fa ...}}
{{[3]-> int a = sc.nextInt();}}

{{Executing, please wait}}

The user is waiting for ever and s/he cannot do anything. In JDK JShell the 
user can enter a value and the program continues. In NetBeans, this is not 
possible. A stop button is displayed, but clicking on it does nothing.

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1098) PHP not available in NetBeans 9 Final Release due to missing plugin manager config

2018-08-02 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1098:
-

Really, please read the link I sent you: 
https://blogs.apache.org/netbeans/entry/what-s-happened-to-my

PHP and many other features are currently being worked on and are on a branch:
https://github.com/apache/incubator-netbeans/tree/2ndDonation

We need you and anyone else who is concerned and interested to join the mailing 
lists and join in with the work and with the discussions.

> PHP not available in NetBeans 9 Final Release due to missing plugin manager 
> config
> --
>
> Key: NETBEANS-1098
> URL: https://issues.apache.org/jira/browse/NETBEANS-1098
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code, platform - Plugin Manager, updatecenters - 
> Pluginportal
>Affects Versions: 9.0
>Reporter: Michal H
>Priority: Major
>
> Final Release of NetBeans 9 doesn't provide PHP module, which fully worked in 
> RC 1. The reason is missing entry in Update Center / Plugin Manager, so 
> Netbeans can not download the module. Also plugins from Netbeans 8.2 are 
> missing in Plugin Manager. Adding URL of old catalog to configurations solves 
> problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1098) PHP not available in NetBeans 9 Final Release due to missing plugin manager config

2018-08-02 Thread Michal H (JIRA)


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

Michal H commented on NETBEANS-1098:


[~GeertjanWielenga] But what about whole PHP module which is (or used to be) 
official part of NetBeans?

> PHP not available in NetBeans 9 Final Release due to missing plugin manager 
> config
> --
>
> Key: NETBEANS-1098
> URL: https://issues.apache.org/jira/browse/NETBEANS-1098
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code, platform - Plugin Manager, updatecenters - 
> Pluginportal
>Affects Versions: 9.0
>Reporter: Michal H
>Priority: Major
>
> Final Release of NetBeans 9 doesn't provide PHP module, which fully worked in 
> RC 1. The reason is missing entry in Update Center / Plugin Manager, so 
> Netbeans can not download the module. Also plugins from Netbeans 8.2 are 
> missing in Plugin Manager. Adding URL of old catalog to configurations solves 
> problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1098) PHP not available in NetBeans 9 Final Release due to missing plugin manager config

2018-08-02 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1098:
-

Yup, that's true, and is documented here: 
https://blogs.apache.org/netbeans/entry/what-s-happened-to-my

We didn't include the 8.2 update center configuration, to make clear that those 
plugins do not belong to 9.0.

> PHP not available in NetBeans 9 Final Release due to missing plugin manager 
> config
> --
>
> Key: NETBEANS-1098
> URL: https://issues.apache.org/jira/browse/NETBEANS-1098
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code, platform - Plugin Manager, updatecenters - 
> Pluginportal
>Affects Versions: 9.0
>Reporter: Michal H
>Priority: Major
>
> Final Release of NetBeans 9 doesn't provide PHP module, which fully worked in 
> RC 1. The reason is missing entry in Update Center / Plugin Manager, so 
> Netbeans can not download the module. Also plugins from Netbeans 8.2 are 
> missing in Plugin Manager. Adding URL of old catalog to configurations solves 
> problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1098) PHP not available in NetBeans 9 Final Release due to missing plugin manager config

2018-08-02 Thread Michal H (JIRA)
Michal H created NETBEANS-1098:
--

 Summary: PHP not available in NetBeans 9 Final Release due to 
missing plugin manager config
 Key: NETBEANS-1098
 URL: https://issues.apache.org/jira/browse/NETBEANS-1098
 Project: NetBeans
  Issue Type: Bug
  Components: php - Code, platform - Plugin Manager, updatecenters - 
Pluginportal
Affects Versions: 9.0
Reporter: Michal H


Final Release of NetBeans 9 doesn't provide PHP module, which fully worked in 
RC 1. The reason is missing entry in Update Center / Plugin Manager, so 
Netbeans can not download the module. Also plugins from Netbeans 8.2 are 
missing in Plugin Manager. Adding URL of old catalog to configurations solves 
problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 or JDK 10

2018-08-02 Thread Joonas Pulakka (JIRA)


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

Joonas Pulakka commented on NETBEANS-1097:
--

Similar behavior was reported already >1 year ago, 
[https://stackoverflow.com/questions/45347003/netbeans-with-java-9-not-creating-dis-lib]
 , so maybe this is somehow "by design", but it's unclear to me what user is 
expected to do instead.

> "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 
> or JDK 10
> -
>
> Key: NETBEANS-1097
> URL: https://issues.apache.org/jira/browse/NETBEANS-1097
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Joonas Pulakka
>Priority: Major
>
> Steps to reproduce:
>  # File -> New Project -> Java Application -> Next -> Finish
>  # Right-click Libraries, Add JAR/Folder. Add whatever jar file.
>  # Check that project Properties -> Packaging -> Copy Dependent Libraries is 
> checked.
>  # Clean and Build project.
>  # Observe contents of dist\ directory.
> When Project -> Properties -> Source/Binary Format is JDK 8, there exists 
> dist\lib\ directory, and the jar added in step 1) is copied into that 
> directory, as expected, when Copy Dependent Libraries is checked.
> But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does 
> not exist.
> The reason seems to be these parts in build-impl.xml:
> {code:java}
> 
> 
> 
> 
> 
> 
> 
> ...
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> {code}
> I've observed that mkdist.disabled setting is "Copy Dependent Libraries" 
> checbox state negated. And do.mkdist controls the library copying.
> But why is this library copying connected to javac.source version in this 
> way? If by design, what should I do in order to get jars copied to dist\lib\ 
> as they used to?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 or JDK 10

2018-08-02 Thread Joonas Pulakka (JIRA)


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

Joonas Pulakka updated NETBEANS-1097:
-
Affects Version/s: 9.0

> "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 
> or JDK 10
> -
>
> Key: NETBEANS-1097
> URL: https://issues.apache.org/jira/browse/NETBEANS-1097
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Joonas Pulakka
>Priority: Major
>
> Steps to reproduce:
>  # File -> New Project -> Java Application -> Next -> Finish
>  # Right-click Libraries, Add JAR/Folder. Add whatever jar file.
>  # Check that project Properties -> Packaging -> Copy Dependent Libraries is 
> checked.
>  # Clean and Build project.
>  # Observe contents of dist\ directory.
> When Project -> Properties -> Source/Binary Format is JDK 8, there exists 
> dist\lib\ directory, and the jar added in step 1) is copied into that 
> directory, as expected, when Copy Dependent Libraries is checked.
> But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does 
> not exist.
> The reason seems to be these parts in build-impl.xml:
> {code:java}
> 
> 
> 
> 
> 
> 
> 
> ...
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> {code}
> I've observed that mkdist.disabled setting is "Copy Dependent Libraries" 
> checbox state negated. And do.mkdist controls the library copying.
> But why is this library copying connected to javac.source version in this 
> way? If by design, what should I do in order to get jars copied to dist\lib\ 
> as they used to?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 or JDK 10

2018-08-02 Thread Joonas Pulakka (JIRA)
Joonas Pulakka created NETBEANS-1097:


 Summary: "Copy Dependent Libraries" does not work if 
"Source/Binary Format" is JDK 9 or JDK 10
 Key: NETBEANS-1097
 URL: https://issues.apache.org/jira/browse/NETBEANS-1097
 Project: NetBeans
  Issue Type: Bug
Reporter: Joonas Pulakka


Steps to reproduce:
 # File -> New Project -> Java Application -> Next -> Finish
 # Right-click Libraries, Add JAR/Folder. Add whatever jar file.
 # Check that project Properties -> Packaging -> Copy Dependent Libraries is 
checked.
 # Clean and Build project.
 # Observe contents of dist\ directory.

When Project -> Properties -> Source/Binary Format is JDK 8, there exists 
dist\lib\ directory, and the jar added in step 1) is copied into that 
directory, as expected, when Copy Dependent Libraries is checked.

But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does not 
exist.

The reason seems to be these parts in build-impl.xml:
{code:java}








...












{code}
I've observed that mkdist.disabled setting is "Copy Dependent Libraries" 
checbox state negated. And do.mkdist controls the library copying.

But why is this library copying connected to javac.source version in this way? 
If by design, what should I do in order to get jars copied to dist\lib\ as they 
used to?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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