[jira] [Updated] (NETBEANS-238) Invoking code-complete in Maven projects is extremely slow

2018-01-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot updated NETBEANS-238:

Labels: pull-request-available  (was: )

> Invoking code-complete in Maven projects is extremely slow
> --
>
> Key: NETBEANS-238
> URL: https://issues.apache.org/jira/browse/NETBEANS-238
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0
> Environment: build 152
>Reporter: Gili
>Priority: Critical
>  Labels: pull-request-available
> Attachments: NETBEANS-238-experiment.diff, 
> SlowCodeCompleteAntAndMaven.zip, code-complete-profiler.npss, 
> code-complete2.npss, messages.log
>
>
> Say I'm in a class that has a field {{singletonScope}} where this class is 
> defined within the same Maven module.
> I type {{singletonScope.}} then wait for auto-complete to suggest possible 
> methods. Code-complete takes roughly 10 seconds to come back.
> This is reproducible 100% of the time.
> Expected behavior: Code-complete should complete within 300ms or less.



--
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-277) NPE at org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)

2018-01-16 Thread Gili (JIRA)

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

Gili commented on NETBEANS-277:
---

> (I am using macOS, whereas I guess you are using Windows).

Correct. I am using Windows 10 64-bit.

> When I press ⇧⌘I on macOS, the "Fix All Imports" dialog suggests resolving 
>{{undefined}} to {{jdk.nashorn.internal.objects.Global.undefined}}. Is the 
>same true for you?

It sounds to me like your caret is on the wrong position, and you're invoking 
the wrong action. To clarify, given:
{code:java}
BigDecimal amount = new BigDecimal(undefined);{code}
I expect you to position the caret over the first "BigDecimal", and invoke 
"Fast Import" as opposed to "Fix All Imports". I hope this helps.

> NPE at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)
> -
>
> Key: NETBEANS-277
> URL: https://issues.apache.org/jira/browse/NETBEANS-277
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20180106-unknown-revn)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
> Attachments: TradeStream.java
>
>
> 1. Open attached file.
> 2. Position caret on the first word of line 79 ("BigDecimal")
> 3. Hit ALT+SHIFT+I
> 4. Exception thrown:
> {code}
> java.lang.NullPointerException
>   at 
> javax.lang.model.util.ElementFilter.listFilter(ElementFilter.java:216)
>   at javax.lang.model.util.ElementFilter.typesIn(ElementFilter.java:154)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:90)
>   at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
>   at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$2.run(FastImportAction.java:126)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>   at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThreadImpl(RunOffEDTImpl.java:140)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:83)
>   at 
> org.netbeans.api.progress.BaseProgressUtils.runOffEventDispatchThread(BaseProgressUtils.java:90)
>   at 
> org.netbeans.api.progress.ProgressUtils.runOffEventDispatchThread(ProgressUtils.java:67)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction.actionPerformed(FastImportAction.java:122)
>   at 

[jira] [Created] (NETBEANS-285) java.lang.ClassNotFoundException: javax.help.search.SearchEngine

2018-01-16 Thread Gili (JIRA)
Gili created NETBEANS-285:
-

 Summary: java.lang.ClassNotFoundException: 
javax.help.search.SearchEngine
 Key: NETBEANS-285
 URL: https://issues.apache.org/jira/browse/NETBEANS-285
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Help System
 Environment: Product Version: Apache NetBeans IDE Dev (Build 
20180106-unknown-revn)
Updates: Updates available
Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
Runtime: Java(TM) SE Runtime Environment 9.0.1+11
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
Reporter: Gili


1. Type CTRL+I, followed by any character.
2. The following exception is thrown:
 
{code:java}
java.lang.ClassNotFoundException: javax.help.search.SearchEngine
 at 
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
 at 
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
 at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:197)
Caused: java.lang.ClassNotFoundException: javax.help.search.SearchEngine 
starting from ModuleCL@2a46e1c1[org.netbeans.modules.javahelp] with possible 
defining loaders null and declared parents [ModuleCL@74e1ab6[org.openide.awt], 
ModuleCL@4cd0c29f[org.openide.loaders], ModuleCL@7cf6fd28[org.openide.windows], 
org.netbeans.MainImpl$BootClassLoader@71318ec4, 
ModuleCL@7690c4c8[org.netbeans.api.progress.nb], 
ModuleCL@666b380c[org.netbeans.api.progress], 
ModuleCL@5a5e3a9f[org.netbeans.spi.quicksearch], 
ModuleCL@7752d7d[org.openide.nodes]]
 at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:199)
 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
Caused: java.lang.NoClassDefFoundError: javax/help/search/SearchEngine
 at 
org.netbeans.modules.javahelp.JavaHelpQuickSearchProviderImpl.evaluate(JavaHelpQuickSearchProviderImpl.java:44)
 at 
org.netbeans.modules.quicksearch.CommandEvaluator$3.run(CommandEvaluator.java:242)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
 at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
 at 
org.netbeans.modules.quicksearch.CommandEvaluator.runEvaluation(CommandEvaluator.java:239)
 at 
org.netbeans.modules.quicksearch.CommandEvaluator.evaluate(CommandEvaluator.java:88)
 at 
org.netbeans.modules.quicksearch.QuickSearchPopup$1.run(QuickSearchPopup.java:183)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
 at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){code}
 
This is a regression relative to version 8.2



--
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-279) Code Formatting, UI and Overall Systems

2018-01-16 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O updated NETBEANS-279:

Description: 
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when typing text quickly. Additional option 
like 'Auto activation delay' in Eclipse is required.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always started with closed directory tree.
 *2.* It would be better if auto-formatting for +edited lines+ is supported 
when typing semicolon or pressing enter key.(like Visual Studio) Also adding an 
option for auto-formatting triggers would be good.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.

  was:
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when typing text quickly. Additional option 
like 'Auto activation delay' in Eclipse is required.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always started with closed directory tree.
 *2.* It would be better if auto-formatting for +edited lines+ is supported 
when typing semicolon or pressing enter key.(like 'Format source code' option 
in Eclipse) Also adding an option for auto-formatting triggers would be good.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.


> Code Formatting, UI and Overall Systems
> ---
>
> Key: NETBEANS-279
> URL: https://issues.apache.org/jira/browse/NETBEANS-279
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Formatting  Indentation, ide - UI
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
> Fix For: 9.0
>
> Attachments: highlighting.png
>
>
> Following are what I felt need improvements using NetBeans.
> *[C/C++]*
>  *1.* Auto-completion doesn't work when typing text quickly. Additional 
> option like 'Auto activation delay' in Eclipse is required.
>  *2.* Auto-completion for standard header files(<...>) doesn't work when I 
> remove and write it again.
>  *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ 
> groups, 'Run Project' button is disabled.
> *[Java]*
>  *1.* I hope an option to active external command prompt.(not floating 
> 'Output' window)
>  *2.* Auto-completion for global variables and methods doesn't work.
> *[General]*
>  *1.* Directory tree status isn't saved when restart NetBeans. Even I open 
> some folders, IDE is always started with closed directory tree.
>  *2.* It would be better if auto-formatting for +edited lines+ is supported 
> when typing semicolon or pressing enter key.(like Visual Studio) Also adding 
> an option for auto-formatting triggers would be good.
>  *3.* It would be better if there is a Project Groups browser dockable like 
> Projects browser.
>  *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
> There are same methods but some were not chosen.
>  *5.* Please make Welcome Page to be opened separately without other 
> projects. And add an option to turn on/off Welcome Page. At first time I 
> turned it off and I couldn't restore it anywhere.



--
This message was sent by Atlassian 

[jira] [Commented] (NETBEANS-277) NPE at org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)

2018-01-16 Thread Daniel Trebbien (JIRA)

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

Daniel Trebbien commented on NETBEANS-277:
--

Thank you for reducing the test case. Unfortunately, I am still not able to 
reproduce the NPE.

Maybe the difference is somehow from the different running operating systems (I 
am using macOS, whereas I guess you are using Windows).

When I press ⇧⌘I on macOS, the "Fix All Imports" dialog suggests resolving 
{{undefined}} to {{jdk.nashorn.internal.objects.Global.undefined}}. Is the same 
true for you?

> NPE at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)
> -
>
> Key: NETBEANS-277
> URL: https://issues.apache.org/jira/browse/NETBEANS-277
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20180106-unknown-revn)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
> Attachments: TradeStream.java
>
>
> 1. Open attached file.
> 2. Position caret on the first word of line 79 ("BigDecimal")
> 3. Hit ALT+SHIFT+I
> 4. Exception thrown:
> {code}
> java.lang.NullPointerException
>   at 
> javax.lang.model.util.ElementFilter.listFilter(ElementFilter.java:216)
>   at javax.lang.model.util.ElementFilter.typesIn(ElementFilter.java:154)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:90)
>   at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
>   at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$2.run(FastImportAction.java:126)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>   at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThreadImpl(RunOffEDTImpl.java:140)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:83)
>   at 
> org.netbeans.api.progress.BaseProgressUtils.runOffEventDispatchThread(BaseProgressUtils.java:90)
>   at 
> org.netbeans.api.progress.ProgressUtils.runOffEventDispatchThread(ProgressUtils.java:67)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction.actionPerformed(FastImportAction.java:122)
>   at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322)
>   at 
> java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1805)
>   at 
> 

[incubator-netbeans] 01/04: Move to Files.new* creation of I/O streams during IDE boot

2018-01-16 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

commit 4b82e6adb31e294c74fd2fa99779ce9e27ae6184
Author: Martin Dindoffer 
AuthorDate: Sat Dec 2 21:03:14 2017 +0100

Move to Files.new* creation of I/O streams during IDE boot

FileOutputStream and FileInputStream complicate GC because they both
override `#finalize()`. Switching to NIO API creates Stream without
finalizers and thus relieving GC.
---
 core.netigso/nbproject/project.properties  |  2 +-
 .../src/org/netbeans/core/netigso/Netigso.java | 12 ++--
 .../core/network/proxy/NbProxySelector.java| 10 ++--
 .../core/network/proxy/kde/KdeNetworkProxy.java| 17 ++
 core.osgi/nbproject/project.properties |  2 +-
 .../core/osgi/OSGiInstalledFileLocator.java| 24 +++-
 core.output2/nbproject/project.properties  |  2 +-
 .../org/netbeans/core/output2/AbstractLines.java   | 45 +++---
 .../src/org/netbeans/core/output2/Controller.java  |  4 +-
 core.startup.base/nbproject/project.properties |  2 +-
 .../core/startup/layers/ArchiveURLMapper.java  | 17 ++
 .../startup/layers/NbinstURLStreamHandler.java |  9 ++-
 .../core/startup/layers/SystemFileSystemTest.java  | 16 ++---
 .../core/startup/logging/MessagesHandler.java  |  9 +--
 .../netbeans/core/startup/logging/NbLogging.java   | 12 ++--
 o.n.bootstrap/src/org/netbeans/JarClassLoader.java | 38 +---
 o.n.bootstrap/src/org/netbeans/Stamps.java | 68 --
 o.n.bootstrap/src/org/netbeans/Util.java   | 25 
 .../src/org/openide/filesystems/JarFileSystem.java | 22 +++
 .../org/openide/filesystems/LocalFileSystem.java   | 27 +
 20 files changed, 165 insertions(+), 198 deletions(-)

diff --git a/core.netigso/nbproject/project.properties 
b/core.netigso/nbproject/project.properties
index f00a000..d593729 100644
--- a/core.netigso/nbproject/project.properties
+++ b/core.netigso/nbproject/project.properties
@@ -16,7 +16,7 @@
 # under the License.
 
 is.autoload=true
-javac.source=1.6
+javac.source=1.7
 javac.compilerargs=-Xlint -Xlint:-serial
 javadoc.arch=${basedir}/arch.xml
 javadoc.apichanges=${basedir}/apichanges.xml
diff --git a/core.netigso/src/org/netbeans/core/netigso/Netigso.java 
b/core.netigso/src/org/netbeans/core/netigso/Netigso.java
index 3d3ae68..bad7d6b 100644
--- a/core.netigso/src/org/netbeans/core/netigso/Netigso.java
+++ b/core.netigso/src/org/netbeans/core/netigso/Netigso.java
@@ -22,10 +22,11 @@ import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
 import java.io.DataOutputStream;
 import java.io.File;
-import java.io.FileInputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.net.URL;
+import java.nio.file.Files;
+import java.nio.file.InvalidPathException;
 import java.security.ProtectionDomain;
 import java.util.Arrays;
 import java.util.Collection;
@@ -36,7 +37,6 @@ import java.util.HashSet;
 import java.util.Map;
 import java.util.Properties;
 import java.util.Set;
-import java.util.StringTokenizer;
 import java.util.concurrent.atomic.AtomicBoolean;
 import java.util.jar.JarEntry;
 import java.util.jar.JarFile;
@@ -453,9 +453,11 @@ implements Cloneable, Stamps.Updater {
 } else if (symbolicName != null) { // NOI18N
 if (original != null) {
 LOG.log(Level.FINE, "Updating bundle {0}", 
original.getLocation());
-FileInputStream is = new FileInputStream(m.getJarFile());
-original.update(is);
-is.close();
+try (InputStream is = 
Files.newInputStream(m.getJarFile().toPath())) {
+original.update(is);
+} catch (InvalidPathException ex) {
+throw new IOException(ex);
+}
 b = original;
 } else {
 BundleContext bc = framework.getBundleContext();
diff --git 
a/core.network/src/org/netbeans/core/network/proxy/NbProxySelector.java 
b/core.network/src/org/netbeans/core/network/proxy/NbProxySelector.java
index 394c39a..440ff50 100644
--- a/core.network/src/org/netbeans/core/network/proxy/NbProxySelector.java
+++ b/core.network/src/org/netbeans/core/network/proxy/NbProxySelector.java
@@ -21,10 +21,11 @@ package org.netbeans.core.network.proxy;
 
 import java.io.BufferedInputStream;
 import java.io.File;
-import java.io.FileInputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.net.*;
+import java.nio.file.Files;
+import java.nio.file.Paths;
 import java.util.*;
 import java.util.logging.Level;
 import java.util.logging.Logger;
@@ -421,10 +422,9 @@ public final class NbProxySelector extends ProxySelector {
 }
 
 

[incubator-netbeans] 04/04: Merge of PR Migrate to Files.new* creation of I/O streams during IDE boot

2018-01-16 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

commit 202f2cb02af9352f2824b2f6fc1c18dff562f2cb
Merge: 2ac5e7c b5d5ee4
Author: Matthias Bläsing 
AuthorDate: Tue Jan 16 21:03:48 2018 +0100

Merge of PR Migrate to Files.new* creation of I/O streams during IDE boot

Added unittest fixes.

This closes: #322

 core.netigso/nbproject/project.properties  |  2 +-
 .../src/org/netbeans/core/netigso/Netigso.java | 12 ++--
 .../core/network/proxy/NbProxySelector.java| 10 ++--
 .../core/network/proxy/kde/KdeNetworkProxy.java| 17 ++
 core.osgi/nbproject/project.properties |  2 +-
 .../core/osgi/OSGiInstalledFileLocator.java| 24 +++-
 .../src/org/netbeans/core/osgi/ActivatorTest.java  | 33 ++-
 core.output2/nbproject/project.properties  |  2 +-
 .../org/netbeans/core/output2/AbstractLines.java   | 45 +++---
 .../src/org/netbeans/core/output2/Controller.java  |  4 +-
 core.startup.base/nbproject/project.properties |  2 +-
 .../core/startup/layers/ArchiveURLMapper.java  | 17 ++
 .../startup/layers/NbinstURLStreamHandler.java |  9 ++-
 .../core/startup/layers/SystemFileSystemTest.java  | 16 ++---
 .../core/startup/logging/MessagesHandler.java  |  9 +--
 .../netbeans/core/startup/logging/NbLogging.java   | 12 ++--
 o.n.bootstrap/src/org/netbeans/JarClassLoader.java | 38 +---
 o.n.bootstrap/src/org/netbeans/Stamps.java | 68 --
 o.n.bootstrap/src/org/netbeans/Util.java   | 25 
 .../src/org/openide/filesystems/JarFileSystem.java | 22 +++
 .../org/openide/filesystems/LocalFileSystem.java   | 27 +
 .../openide/filesystems/ContentProviderTest.java   | 13 -
 22 files changed, 195 insertions(+), 214 deletions(-)


-- 
To stop receiving notification emails like this one, please contact
"commits@netbeans.apache.org" .

-
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 (2ac5e7c -> 202f2cb)

2018-01-16 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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


from 2ac5e7c  Merge pull request #370 from dukescript/MultiOSEngine
 new 4b82e6a  Move to Files.new* creation of I/O streams during IDE boot
 new a05a004  Replace JavaHelp dependency in unittest with JNA
 new b5d5ee4  ContentProviderTests depended on method execution order
 new 202f2cb  Merge of PR Migrate to Files.new* creation of I/O streams 
during IDE boot

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 core.netigso/nbproject/project.properties  |  2 +-
 .../src/org/netbeans/core/netigso/Netigso.java | 12 ++--
 .../core/network/proxy/NbProxySelector.java| 10 ++--
 .../core/network/proxy/kde/KdeNetworkProxy.java| 17 ++
 core.osgi/nbproject/project.properties |  2 +-
 .../core/osgi/OSGiInstalledFileLocator.java| 24 +++-
 .../src/org/netbeans/core/osgi/ActivatorTest.java  | 33 ++-
 core.output2/nbproject/project.properties  |  2 +-
 .../org/netbeans/core/output2/AbstractLines.java   | 45 +++---
 .../src/org/netbeans/core/output2/Controller.java  |  4 +-
 core.startup.base/nbproject/project.properties |  2 +-
 .../core/startup/layers/ArchiveURLMapper.java  | 17 ++
 .../startup/layers/NbinstURLStreamHandler.java |  9 ++-
 .../core/startup/layers/SystemFileSystemTest.java  | 16 ++---
 .../core/startup/logging/MessagesHandler.java  |  9 +--
 .../netbeans/core/startup/logging/NbLogging.java   | 12 ++--
 o.n.bootstrap/src/org/netbeans/JarClassLoader.java | 38 +---
 o.n.bootstrap/src/org/netbeans/Stamps.java | 68 --
 o.n.bootstrap/src/org/netbeans/Util.java   | 25 
 .../src/org/openide/filesystems/JarFileSystem.java | 22 +++
 .../org/openide/filesystems/LocalFileSystem.java   | 27 +
 .../openide/filesystems/ContentProviderTest.java   | 13 -
 22 files changed, 195 insertions(+), 214 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@netbeans.apache.org" '].

-
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] 02/04: Replace JavaHelp dependency in unittest with JNA

2018-01-16 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

commit a05a004178bb25c99f621e02eb8658568077
Author: Matthias Bläsing 
AuthorDate: Sun Jan 14 21:11:51 2018 +0100

Replace JavaHelp dependency in unittest with JNA

The JavaHelp dependency is not available (licensing) and so can't be
referenced in the unittests. The JNA library is part of the netbeans
platform and so an equivalent replacement.
---
 .../src/org/netbeans/core/osgi/ActivatorTest.java  | 35 --
 1 file changed, 20 insertions(+), 15 deletions(-)

diff --git a/core.osgi/test/unit/src/org/netbeans/core/osgi/ActivatorTest.java 
b/core.osgi/test/unit/src/org/netbeans/core/osgi/ActivatorTest.java
index bba5c15..dbc3d21 100644
--- a/core.osgi/test/unit/src/org/netbeans/core/osgi/ActivatorTest.java
+++ b/core.osgi/test/unit/src/org/netbeans/core/osgi/ActivatorTest.java
@@ -223,20 +223,25 @@ public class ActivatorTest extends NbTestCase {
 }
 
 public void testClassPathExtensions() throws Exception {
-new 
OSGiProcess(getWorkDir()).newModule().sourceFile("custom/Install.java", 
"package custom;",
-"public class Install extends 
org.openide.modules.ModuleInstall {",
-"public @Override void restored() {",
-"org.netbeans.api.javahelp.Help.class.hashCode();",
-"javax.help.HelpSet.class.hashCode();",
-"javax.help.event.HelpSetEvent.class.hashCode();",
-"System.setProperty(\"used.javahelp\", \"true\");}",
-"}").manifest(
-"OpenIDE-Module: custom",
-"OpenIDE-Module-Install: custom.Install",
-"OpenIDE-Module-Module-Dependencies: org.openide.modules, 
org.netbeans.modules.javahelp/1").done().
-module("org.netbeans.modules.javahelp").
-run(false);
-assertTrue(Boolean.getBoolean("used.javahelp"));
+new OSGiProcess(getWorkDir())
+.newModule()
+.sourceFile(
+"custom/Install.java", 
+"package custom;",
+"public class Install extends 
org.openide.modules.ModuleInstall {",
+"  public @Override void restored() {",
+"boolean jnaVersionRead = com.sun.jna.Native.VERSION 
!= null;",
+"System.setProperty(\"used.jna\", 
Boolean.toString(jnaVersionRead));",
+"  }",
+"}")
+.manifest(
+"OpenIDE-Module: custom",
+"OpenIDE-Module-Install: custom.Install",
+"OpenIDE-Module-Module-Dependencies: org.openide.modules, 
org.netbeans.libs.jna/1")
+.done()
+.module("org.netbeans.libs.jna")
+.run(false);
+assertTrue(Boolean.getBoolean("used.jna"));
 }
 
 public void testComSunPackages() throws Exception {
@@ -255,4 +260,4 @@ public class ActivatorTest extends NbTestCase {
 assertTrue(Boolean.getBoolean("com.sun.available"));
 }
 
-}
+}
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
"commits@netbeans.apache.org" .

-
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] 03/04: ContentProviderTests depended on method execution order

2018-01-16 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

commit b5d5ee4ccce78703d26030c67d3b79a74f4d6a2c
Author: Matthias Bläsing 
AuthorDate: Sun Jan 14 21:16:44 2018 +0100

ContentProviderTests depended on method execution order

The ContentProviderTest was marked as RandomlyFails. The problem depends
of method invocation order. The embedded LayerProvider is "cleared" in
"testRefreshTheProvider" and then "testCheckAFileFromOurLayer" fails
because it expectes the contents to be still present.

The fix introduces a "reset" method for the MyProvider, which restores
the state after initialization.
---
 .../src/org/openide/filesystems/ContentProviderTest.java| 13 +++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git 
a/openide.filesystems/test/unit/src/org/openide/filesystems/ContentProviderTest.java
 
b/openide.filesystems/test/unit/src/org/openide/filesystems/ContentProviderTest.java
index ef5425f..6a2e0e5 100644
--- 
a/openide.filesystems/test/unit/src/org/openide/filesystems/ContentProviderTest.java
+++ 
b/openide.filesystems/test/unit/src/org/openide/filesystems/ContentProviderTest.java
@@ -22,7 +22,6 @@ import java.net.URL;
 import java.util.Collection;
 import org.netbeans.junit.MockServices;
 import org.netbeans.junit.NbTestCase;
-import org.netbeans.junit.RandomlyFails;
 import org.openide.filesystems.Repository.LayerProvider;
 import org.openide.util.Lookup;
 
@@ -35,7 +34,12 @@ public class ContentProviderTest extends NbTestCase {
 super(name);
 }
 
-@RandomlyFails // 
http://deadlock.netbeans.org/job/NB-Core-Build/9882/testReport/
+@Override
+protected void setUp() throws Exception {
+super.setUp();
+Lookup.getDefault().lookup(MyProvider.class).reset();
+}
+
 public void testCheckAFileFromOurLayer() {
 FileObject fo = FileUtil.getConfigFile("foo/bar");
 assertNotNull("foo/bar is provided", fo);
@@ -69,5 +73,10 @@ public class ContentProviderTest extends NbTestCase {
 empty = true;
 refresh();
 }
+
+final void reset() {
+empty = false;
+refresh();
+}
 }
 }

-- 
To stop receiving notification emails like this one, please contact
"commits@netbeans.apache.org" .

-
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-277) NPE at org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)

2018-01-16 Thread Gili (JIRA)

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

Gili edited comment on NETBEANS-277 at 1/16/18 7:35 PM:


I am able to reproduce the bug using the following file inside a Maven project:

  
{code:java}
package testcase.fastimportnpe;
import java.math.BigDecimal;
final class TradeStream {
  private final Object websocketListener = new Object() {
public void onWebSocketText(String data) {
  BigDecimal amount = new BigDecimal(undefined);
}
  };
}
{code}
The bug seems to be intermittent, having something to do with the parser state. 
Sometimes when I invoke ALT+SHIFT+I on "BigDecimal" (the left one) I get the 
exception. Other times I don't. If you are unable to reproduce the problem, try 
closing the file in the editor, reopen it and try again. This seems to help in 
my case.

 


was (Author: cowwoc):
I am able to reproduce the bug using the following file inside a Maven project:

 

 
{code:java}
package testcase.fastimportnpe;
import java.math.BigDecimal;
final class TradeStream {
  private final Object websocketListener = new Object() {
public void onWebSocketText(String data) {
  BigDecimal amount = new BigDecimal(undefined);
}
  };
}
{code}
The bug seems to be intermittent, having something to do with the parser state. 
Sometimes when I invoke ALT+SHIFT+I on "BigDecimal" (the left one) I get the 
exception. Other times I don't. If you are unable to reproduce the problem, try 
closing the file in the editor, reopen it and try again. This seems to help in 
my case.

 

> NPE at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)
> -
>
> Key: NETBEANS-277
> URL: https://issues.apache.org/jira/browse/NETBEANS-277
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20180106-unknown-revn)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
> Attachments: TradeStream.java
>
>
> 1. Open attached file.
> 2. Position caret on the first word of line 79 ("BigDecimal")
> 3. Hit ALT+SHIFT+I
> 4. Exception thrown:
> {code}
> java.lang.NullPointerException
>   at 
> javax.lang.model.util.ElementFilter.listFilter(ElementFilter.java:216)
>   at javax.lang.model.util.ElementFilter.typesIn(ElementFilter.java:154)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:90)
>   at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
>   at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$2.run(FastImportAction.java:126)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at 

[jira] [Commented] (NETBEANS-277) NPE at org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)

2018-01-16 Thread Gili (JIRA)

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

Gili commented on NETBEANS-277:
---

I am able to reproduce the bug using the following file inside a Maven project:

 

 
{code:java}
package testcase.fastimportnpe;
import java.math.BigDecimal;
final class TradeStream {
  private final Object websocketListener = new Object() {
public void onWebSocketText(String data) {
  BigDecimal amount = new BigDecimal(undefined);
}
  };
}
{code}
The bug seems to be intermittent, having something to do with the parser state. 
Sometimes when I invoke ALT+SHIFT+I on "BigDecimal" (the left one) I get the 
exception. Other times I don't. If you are unable to reproduce the problem, try 
closing the file in the editor, reopen it and try again. This seems to help in 
my case.

 

> NPE at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)
> -
>
> Key: NETBEANS-277
> URL: https://issues.apache.org/jira/browse/NETBEANS-277
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20180106-unknown-revn)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
> Attachments: TradeStream.java
>
>
> 1. Open attached file.
> 2. Position caret on the first word of line 79 ("BigDecimal")
> 3. Hit ALT+SHIFT+I
> 4. Exception thrown:
> {code}
> java.lang.NullPointerException
>   at 
> javax.lang.model.util.ElementFilter.listFilter(ElementFilter.java:216)
>   at javax.lang.model.util.ElementFilter.typesIn(ElementFilter.java:154)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:90)
>   at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
>   at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$2.run(FastImportAction.java:126)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>   at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThreadImpl(RunOffEDTImpl.java:140)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:83)
>   at 
> org.netbeans.api.progress.BaseProgressUtils.runOffEventDispatchThread(BaseProgressUtils.java:90)
>   at 
> org.netbeans.api.progress.ProgressUtils.runOffEventDispatchThread(ProgressUtils.java:67)
>   at 
> 

[jira] [Commented] (NETBEANS-283) private_key in libs.git module should be renamed

2018-01-16 Thread JIRA

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

Matthias Bläsing commented on NETBEANS-283:
---

I disagree - the private key is located in a directory: *test/unit/data*. Of 
course the filename can also be adjusted, but IMHO that is over the top. >From 
the directory it is quite clear, that the private key has a purpose there.

> private_key in libs.git module should be renamed
> 
>
> Key: NETBEANS-283
> URL: https://issues.apache.org/jira/browse/NETBEANS-283
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Priority: Major
>
> In  /libs.git/test/unit/src/org/netbeans/libs/git/jgit/ConnectionTest.java, a 
> private_key is referenced. That reference and the name of the private_key 
> should be changed to private_key_for_testing_only, so that it is clear what 
> it is for, i.e., it is not actually a private_key, which would be a problem 
> to include in a release, but a file used for test purposes only and, to avoid 
> confusion, should be named and referenced as such. 



--
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-277) NPE at org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)

2018-01-16 Thread Daniel Trebbien (JIRA)

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

Daniel Trebbien commented on NETBEANS-277:
--

I am not able to reproduce the NPE, but this could be because I am not able to 
compile this test case without the {{com.fasterxml.jackson.databind.\*}}, 
{{org.bitbucket.cowwoc.requirements.\*}}, and {{org.eclipse.jetty.\*}} classes.

Can you reduce {{TradeStream.java}} to a smaller test case without external 
dependencies?

Looking at line 100 of {{FastImportAction.java}}, I am speculating that 
{{result.a.get(ident)}} is {{null}}; however, I don't know for sure without a 
way to reproduce the error.

> NPE at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)
> -
>
> Key: NETBEANS-277
> URL: https://issues.apache.org/jira/browse/NETBEANS-277
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20180106-unknown-revn)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>Reporter: Gili
>Priority: Major
> Attachments: TradeStream.java
>
>
> 1. Open attached file.
> 2. Position caret on the first word of line 79 ("BigDecimal")
> 3. Hit ALT+SHIFT+I
> 4. Exception thrown:
> {code}
> java.lang.NullPointerException
>   at 
> javax.lang.model.util.ElementFilter.listFilter(ElementFilter.java:216)
>   at javax.lang.model.util.ElementFilter.typesIn(ElementFilter.java:154)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:100)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:90)
>   at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
>   at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction$2.run(FastImportAction.java:126)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>   at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThreadImpl(RunOffEDTImpl.java:140)
>   at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:83)
>   at 
> org.netbeans.api.progress.BaseProgressUtils.runOffEventDispatchThread(BaseProgressUtils.java:90)
>   at 
> org.netbeans.api.progress.ProgressUtils.runOffEventDispatchThread(ProgressUtils.java:67)
>   at 
> org.netbeans.modules.java.editor.imports.FastImportAction.actionPerformed(FastImportAction.java:122)
>   at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322)
>   at 
> 

[jira] [Created] (NETBEANS-284) Need a 32×32 icon for Java options

2018-01-16 Thread Daniel Trebbien (JIRA)
Daniel Trebbien created NETBEANS-284:


 Summary: Need a 32×32 icon for Java options
 Key: NETBEANS-284
 URL: https://issues.apache.org/jira/browse/NETBEANS-284
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Options
Reporter: Daniel Trebbien
 Attachments: Screen Shot 2018-01-16 at 9.55.54 AM.png

The {{ContainerRegistration}} for Java options, defined in 
{{options.java/src/org/netbeans/modules/options/java/resources/package-info.java}},
 is currently using a 20×20 iconBase, whereas other options icons are 32×32. 
This makes the icon look smaller than the others in *NetBeans > Preferences…*. 
See the attached screenshot.



--
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-279) Code Formatting, UI and Overall Systems

2018-01-16 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O updated NETBEANS-279:

Description: 
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when typing text quickly. Additional option 
like 'Auto activation delay' in Eclipse is required.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always started with closed directory tree.
 *2.* It would be better if auto-formatting for +edited lines+ is supported 
when typing semicolon or pressing enter key.(like 'Format source code' option 
in Eclipse) It is a little hard to set my coding style correctly with 
Options->Editor->Formatting option.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.

  was:
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when typing text quickly. Additional option 
like 'Auto activation delay' in Eclipse is required.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always started with closed directory tree.
 *2.* It would be better if auto-formatting for +spaces and braces+ is 
supported when typing semicolon or pressing enter key.(like 'Format source 
code' option in Eclipse) It is a little hard to set my coding style correctly 
with Options->Editor->Formatting option.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.


> Code Formatting, UI and Overall Systems
> ---
>
> Key: NETBEANS-279
> URL: https://issues.apache.org/jira/browse/NETBEANS-279
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Formatting  Indentation, ide - UI
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
> Fix For: 9.0
>
> Attachments: highlighting.png
>
>
> Following are what I felt need improvements using NetBeans.
> *[C/C++]*
>  *1.* Auto-completion doesn't work when typing text quickly. Additional 
> option like 'Auto activation delay' in Eclipse is required.
>  *2.* Auto-completion for standard header files(<...>) doesn't work when I 
> remove and write it again.
>  *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ 
> groups, 'Run Project' button is disabled.
> *[Java]*
>  *1.* I hope an option to active external command prompt.(not floating 
> 'Output' window)
>  *2.* Auto-completion for global variables and methods doesn't work.
> *[General]*
>  *1.* Directory tree status isn't saved when restart NetBeans. Even I open 
> some folders, IDE is always started with closed directory tree.
>  *2.* It would be better if auto-formatting for +edited lines+ is supported 
> when typing semicolon or pressing enter key.(like 'Format source code' option 
> in Eclipse) It is a little hard to set my coding style correctly with 
> Options->Editor->Formatting option.
>  *3.* It would be better if there is a Project Groups browser dockable like 
> Projects browser.
>  *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
> There are same methods but some were not chosen.
>  *5.* Please make Welcome Page to be opened separately without other 
> projects. And add an 

[jira] [Updated] (NETBEANS-279) Code Formatting, UI and Overall Systems

2018-01-16 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O updated NETBEANS-279:

Description: 
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when typing text quickly. Additional option 
like 'Auto activation delay' in Eclipse is required.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always started with closed directory tree.
 *2.* It would be better if auto-formatting for +spaces and braces+ is 
supported when typing semicolon or pressing enter key.(like 'Format source 
code' option in Eclipse) It is a little hard to set my coding style correctly 
with Options->Editor->Formatting option.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.

  was:
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when typing text quickly. Additional options 
like 'Auto activation delay' in Eclipse is required.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always started with closed directory tree.
 *2.* It would be better if auto-formatting for +spaces and braces+ is 
supported when typing semicolon or pressing enter key.(like 'Format source 
code' option in Eclipse) It is a little hard to set my coding style correctly 
with Options->Editor->Formatting option.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.


> Code Formatting, UI and Overall Systems
> ---
>
> Key: NETBEANS-279
> URL: https://issues.apache.org/jira/browse/NETBEANS-279
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Formatting  Indentation, ide - UI
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
> Fix For: 9.0
>
> Attachments: highlighting.png
>
>
> Following are what I felt need improvements using NetBeans.
> *[C/C++]*
>  *1.* Auto-completion doesn't work when typing text quickly. Additional 
> option like 'Auto activation delay' in Eclipse is required.
>  *2.* Auto-completion for standard header files(<...>) doesn't work when I 
> remove and write it again.
>  *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ 
> groups, 'Run Project' button is disabled.
> *[Java]*
>  *1.* I hope an option to active external command prompt.(not floating 
> 'Output' window)
>  *2.* Auto-completion for global variables and methods doesn't work.
> *[General]*
>  *1.* Directory tree status isn't saved when restart NetBeans. Even I open 
> some folders, IDE is always started with closed directory tree.
>  *2.* It would be better if auto-formatting for +spaces and braces+ is 
> supported when typing semicolon or pressing enter key.(like 'Format source 
> code' option in Eclipse) It is a little hard to set my coding style correctly 
> with Options->Editor->Formatting option.
>  *3.* It would be better if there is a Project Groups browser dockable like 
> Projects browser.
>  *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
> There are same methods but some were not chosen.
>  *5.* Please make Welcome Page to be opened separately without other 
> projects. 

[jira] [Updated] (NETBEANS-279) Code Formatting, UI and Overall Systems

2018-01-16 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O updated NETBEANS-279:

Description: 
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when typing text quickly. 'Auto-completion 
delay' options like Eclipse is required.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always started with closed directory tree.
 *2.* It would be better if auto-formatting for +spaces and braces+ is 
supported when typing semicolon or pressing enter key.(like Visual Studio) It 
is a little hard to set my coding style correctly with 
Options->Editor->Formatting option.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.

  was:
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when typing text quickly. 'Auto-completion 
Delay' options like Eclipse is required.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always started with closed directory tree.
 *2.* It would be better if auto-formatting for +spaces and braces+ is 
supported when typing semicolon or pressing enter key.(like Visual Studio) It 
is a little hard to set my coding style correctly with 
Options->Editor->Formatting option.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.


> Code Formatting, UI and Overall Systems
> ---
>
> Key: NETBEANS-279
> URL: https://issues.apache.org/jira/browse/NETBEANS-279
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Formatting  Indentation, ide - UI
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
> Fix For: 9.0
>
> Attachments: highlighting.png
>
>
> Following are what I felt need improvements using NetBeans.
> *[C/C++]*
>  *1.* Auto-completion doesn't work when typing text quickly. 'Auto-completion 
> delay' options like Eclipse is required.
>  *2.* Auto-completion for standard header files(<...>) doesn't work when I 
> remove and write it again.
>  *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ 
> groups, 'Run Project' button is disabled.
> *[Java]*
>  *1.* I hope an option to active external command prompt.(not floating 
> 'Output' window)
>  *2.* Auto-completion for global variables and methods doesn't work.
> *[General]*
>  *1.* Directory tree status isn't saved when restart NetBeans. Even I open 
> some folders, IDE is always started with closed directory tree.
>  *2.* It would be better if auto-formatting for +spaces and braces+ is 
> supported when typing semicolon or pressing enter key.(like Visual Studio) It 
> is a little hard to set my coding style correctly with 
> Options->Editor->Formatting option.
>  *3.* It would be better if there is a Project Groups browser dockable like 
> Projects browser.
>  *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
> There are same methods but some were not chosen.
>  *5.* Please make Welcome Page to be opened separately without other 
> projects. And add an option to turn on/off Welcome Page. At first time I 
> turned it off and I couldn't restore it anywhere.


[jira] [Updated] (NETBEANS-279) Code Formatting, UI and Overall Systems

2018-01-16 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O updated NETBEANS-279:

Description: 
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when typing text quickly. 'Auto-completion 
Delay' options like Eclipse is required.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always started with closed directory tree.
 *2.* It would be better if auto-formatting for +spaces and braces+ is 
supported when typing semicolon or pressing enter key.(like Visual Studio) It 
is a little hard to set my coding style correctly with 
Options->Editor->Formatting option.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.

  was:
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when I put text quickly.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always started with closed directory tree.
 *2.* It would be better if auto-formatting for +spaces and braces+ is 
supported when typing semicolon or pressing enter key.(like Visual Studio) It 
is a little hard to set my coding style correctly with 
Options->Editor->Formatting option.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.


> Code Formatting, UI and Overall Systems
> ---
>
> Key: NETBEANS-279
> URL: https://issues.apache.org/jira/browse/NETBEANS-279
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Formatting  Indentation, ide - UI
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
> Fix For: 9.0
>
> Attachments: highlighting.png
>
>
> Following are what I felt need improvements using NetBeans.
> *[C/C++]*
>  *1.* Auto-completion doesn't work when typing text quickly. 'Auto-completion 
> Delay' options like Eclipse is required.
>  *2.* Auto-completion for standard header files(<...>) doesn't work when I 
> remove and write it again.
>  *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ 
> groups, 'Run Project' button is disabled.
> *[Java]*
>  *1.* I hope an option to active external command prompt.(not floating 
> 'Output' window)
>  *2.* Auto-completion for global variables and methods doesn't work.
> *[General]*
>  *1.* Directory tree status isn't saved when restart NetBeans. Even I open 
> some folders, IDE is always started with closed directory tree.
>  *2.* It would be better if auto-formatting for +spaces and braces+ is 
> supported when typing semicolon or pressing enter key.(like Visual Studio) It 
> is a little hard to set my coding style correctly with 
> Options->Editor->Formatting option.
>  *3.* It would be better if there is a Project Groups browser dockable like 
> Projects browser.
>  *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
> There are same methods but some were not chosen.
>  *5.* Please make Welcome Page to be opened separately without other 
> projects. And add an option to turn on/off Welcome Page. At first time I 
> turned it off and I couldn't restore it anywhere.



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

[jira] [Updated] (NETBEANS-279) Code Formatting, UI and Overall Systems

2018-01-16 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O updated NETBEANS-279:

Description: 
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when I put text quickly.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always started with closed directory tree.
 *2.* It would be better if auto-formatting for +spaces and braces+ is 
supported when typing semicolon or pressing enter key.(like Visual Studio) It 
is a little hard to set my coding style correctly with 
Options->Editor->Formatting option.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.

  was:
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when I put text quickly.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always start with closed directory tree.
 *2.* It would be better if auto-formatting for +spaces and braces+ is 
supported when typing semicolon or pressing enter key.(like Visual Studio) It 
is a little hard to set my coding style correctly with 
Options->Editor->Formatting option.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.


> Code Formatting, UI and Overall Systems
> ---
>
> Key: NETBEANS-279
> URL: https://issues.apache.org/jira/browse/NETBEANS-279
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Formatting  Indentation, ide - UI
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
> Fix For: 9.0
>
> Attachments: highlighting.png
>
>
> Following are what I felt need improvements using NetBeans.
> *[C/C++]*
>  *1.* Auto-completion doesn't work when I put text quickly.
>  *2.* Auto-completion for standard header files(<...>) doesn't work when I 
> remove and write it again.
>  *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ 
> groups, 'Run Project' button is disabled.
> *[Java]*
>  *1.* I hope an option to active external command prompt.(not floating 
> 'Output' window)
>  *2.* Auto-completion for global variables and methods doesn't work.
> *[General]*
>  *1.* Directory tree status isn't saved when restart NetBeans. Even I open 
> some folders, IDE is always started with closed directory tree.
>  *2.* It would be better if auto-formatting for +spaces and braces+ is 
> supported when typing semicolon or pressing enter key.(like Visual Studio) It 
> is a little hard to set my coding style correctly with 
> Options->Editor->Formatting option.
>  *3.* It would be better if there is a Project Groups browser dockable like 
> Projects browser.
>  *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
> There are same methods but some were not chosen.
>  *5.* Please make Welcome Page to be opened separately without other 
> projects. And add an option to turn on/off Welcome Page. At first time I 
> turned it off and I couldn't restore it anywhere.



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

-
To unsubscribe, e-mail: 

[jira] [Updated] (NETBEANS-279) Code Formatting, UI and Overall Systems

2018-01-16 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O updated NETBEANS-279:

Description: 
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when I put text quickly.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always start with closed directory tree.
 *2.* It would be better if auto-formatting for +spaces and braces+ is 
supported when typing semicolon or pressing enter key.(like Visual Studio) It 
is a little hard to set my coding style correctly with 
Options->Editor->Formatting option.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.

  was:
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 *1.* Auto-completion doesn't work when I put text quickly.
 *2.* Auto-completion for standard header files(<...>) doesn't work when I 
remove and write it again.
 *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ groups, 
'Run Project' button is disabled.

*[Java]*
 *1.* I hope an option to active external command prompt.(not floating 'Output' 
window)
 *2.* Auto-completion for global variables and methods doesn't work.

*[General]*
 *1.* Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always start with closed directory tree.
 *2.* It would be better if auto-formatting for +spaces and braces+ is 
supported when typing semicolon or press enter key.(like Visual Studio) It is a 
little hard to set my coding style correctly with Options->Editor->Formatting 
option.
 *3.* It would be better if there is a Project Groups browser dockable like 
Projects browser.
 *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
There are same methods but some were not chosen.
 *5.* Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.


> Code Formatting, UI and Overall Systems
> ---
>
> Key: NETBEANS-279
> URL: https://issues.apache.org/jira/browse/NETBEANS-279
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Formatting  Indentation, ide - UI
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
> Fix For: 9.0
>
> Attachments: highlighting.png
>
>
> Following are what I felt need improvements using NetBeans.
> *[C/C++]*
>  *1.* Auto-completion doesn't work when I put text quickly.
>  *2.* Auto-completion for standard header files(<...>) doesn't work when I 
> remove and write it again.
>  *3.* When NetBeans is opened with C/C++ projects or changing to C/C++ 
> groups, 'Run Project' button is disabled.
> *[Java]*
>  *1.* I hope an option to active external command prompt.(not floating 
> 'Output' window)
>  *2.* Auto-completion for global variables and methods doesn't work.
> *[General]*
>  *1.* Directory tree status isn't saved when restart NetBeans. Even I open 
> some folders, IDE is always start with closed directory tree.
>  *2.* It would be better if auto-formatting for +spaces and braces+ is 
> supported when typing semicolon or pressing enter key.(like Visual Studio) It 
> is a little hard to set my coding style correctly with 
> Options->Editor->Formatting option.
>  *3.* It would be better if there is a Project Groups browser dockable like 
> Projects browser.
>  *4.* Sometimes mark occurrence doesn't work correctly like +attached image+: 
> There are same methods but some were not chosen.
>  *5.* Please make Welcome Page to be opened separately without other 
> projects. And add an option to turn on/off Welcome Page. At first time I 
> turned it off and I couldn't restore it anywhere.



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

-
To unsubscribe, e-mail: 

[jira] [Created] (NETBEANS-283) private_key in libs.git module should be renamed

2018-01-16 Thread Geertjan Wielenga (JIRA)
Geertjan Wielenga created NETBEANS-283:
--

 Summary: private_key in libs.git module should be renamed
 Key: NETBEANS-283
 URL: https://issues.apache.org/jira/browse/NETBEANS-283
 Project: NetBeans
  Issue Type: Bug
Reporter: Geertjan Wielenga


In  /libs.git/test/unit/src/org/netbeans/libs/git/jgit/ConnectionTest.java, a 
private_key is referenced. That reference and the name of the private_key 
should be changed to private_key_for_testing_only, so that it is clear what it 
is for, i.e., it is not actually a private_key, which would be a problem to 
include in a release, but a file used for test purposes only and, to avoid 
confusion, should be named and referenced as such. 



--
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-279) Code Formatting, UI and Overall Systems

2018-01-16 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O updated NETBEANS-279:

Description: 
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 1. Auto-completion doesn't work when I put text quickly.
 2. Auto-completion for standard header files(<...>) doesn't work when I remove 
and write it again.
 3. When NetBeans is opened with C/C++ project or changing to C/C++ group, 'Run 
Project' button is disabled.

*[Java]*
 1. I hope an option to active external command prompt.(not floating 'Output' 
window)
 2. Auto-completion for global variables and methods doesn't work.

*[General]*
 1. Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always start with closed directory tree.
 2. It would be better if auto-formatting for +spaces and braces+ is supported 
when I put a semicolon or press enter key.(like Visual Studio) It is a little 
hard to set my coding style correctly with Options->Editor->Formatting option.
 3. It would be better if there is a Project Group window dockable with Project 
browser.
 4. Sometimes mark occurrence doesn't work correctly like attached image: There 
are same methods but some were not chosen.
 5. Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turned it off 
and I couldn't restore it anywhere.

  was:
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 1. Auto-completion doesn't work when I put text quickly.
 2. Auto-completion for standard header files(<...>) doesn't work when I remove 
and write it again.
 3. When NetBeans is opened with C/C++ project or changing to C/C++ group, 'Run 
Project' button is disabled.

*[Java]*
 1. I hope an option to active external command prompt.(not floating 'Output' 
window)
 2. Auto-completion for global variables and methods doesn't work.

*[General]*
 1. Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always start with closed directory tree.
 2. It would be better if auto-formatting for +spaces and braces+ is supported 
when I put a semicolon or press enter key.(like Visual Studio) It is a little 
hard to set my coding style correctly with Options->Editor->Formatting option.
 3. It would be better if there is a Project Group window dockable with Project 
browser.
 4. Sometimes mark occurrence doesn't work correctly like attached image: There 
are same methods but some were not chosen.
 5. Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turn it off and 
I couldn't restore it anywhere.


> Code Formatting, UI and Overall Systems
> ---
>
> Key: NETBEANS-279
> URL: https://issues.apache.org/jira/browse/NETBEANS-279
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Formatting  Indentation, ide - UI
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
> Fix For: 9.0
>
> Attachments: highlighting.png
>
>
> Following are what I felt need improvements using NetBeans.
> *[C/C++]*
>  1. Auto-completion doesn't work when I put text quickly.
>  2. Auto-completion for standard header files(<...>) doesn't work when I 
> remove and write it again.
>  3. When NetBeans is opened with C/C++ project or changing to C/C++ group, 
> 'Run Project' button is disabled.
> *[Java]*
>  1. I hope an option to active external command prompt.(not floating 'Output' 
> window)
>  2. Auto-completion for global variables and methods doesn't work.
> *[General]*
>  1. Directory tree status isn't saved when restart NetBeans. Even I open some 
> folders, IDE is always start with closed directory tree.
>  2. It would be better if auto-formatting for +spaces and braces+ is 
> supported when I put a semicolon or press enter key.(like Visual Studio) It 
> is a little hard to set my coding style correctly with 
> Options->Editor->Formatting option.
>  3. It would be better if there is a Project Group window dockable with 
> Project browser.
>  4. Sometimes mark occurrence doesn't work correctly like attached image: 
> There are same methods but some were not chosen.
>  5. Please make Welcome Page to be opened separately without other projects. 
> And add an option to turn on/off Welcome Page. At first time I turned it off 
> and I couldn't restore it anywhere.



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

[jira] [Updated] (NETBEANS-279) Code Formatting, UI and Overall Systems

2018-01-16 Thread Hyeonwoo O (JIRA)

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

Hyeonwoo O updated NETBEANS-279:

Description: 
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 1. Auto-completion doesn't work when I put text quickly.
 2. Auto-completion for standard header files(<...>) doesn't work when I remove 
and write it again.
 3. When NetBeans is opened with C/C++ project or changing to C/C++ group, 'Run 
Project' button is disabled.

*[Java]*
 1. I hope an option to active external command prompt.(not floating 'Output' 
window)
 2. Auto-completion for global variables and methods doesn't work.

*[General]*
 1. Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always start with closed directory tree.
 2. It would be better if auto-formatting for +spaces and braces+ is supported 
when I put a semicolon or press enter key.(like Visual Studio) It is a little 
hard to set my coding style correctly with Options->Editor->Formatting option.
 3. It would be better if there is a Project Group window dockable with Project 
browser.
 4. Sometimes mark occurrence doesn't work correctly like attached image: There 
are same methods but some were not chosen.
 5. Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turn it off and 
I couldn't restore it anywhere.

  was:
Following are what I felt need improvements using NetBeans.

*[C/C++]*
 1. Auto-completion doesn't work when I put text quickly.
 2. Auto-completion for standard header files(<...>) doesn't work when I remove 
and write it again.
 3. When NetBeans is opened with C/C++ project or changing to C/C++ group, 'Run 
Project' button is disabled.

*[Java]*
 1. I hope an option to active command prompt.(not floating 'Output' window)
 2. Auto-completion for global variables and methods doesn't work.

*[General]*
 1. Directory tree status isn't saved when restart NetBeans. Even I open some 
folders, IDE is always start with closed directory tree.
 2. It would be better if auto-formatting for +spaces and braces+ is supported 
when I put a semicolon or press enter key.(like Visual Studio) It is a little 
hard to set my coding style correctly with Options->Editor->Formatting option.
 3. It would be better if there is a Project Group window dockable with Project 
browser.
 4. Sometimes mark occurrence doesn't work correctly like attached image: There 
are same methods but some were not chosen.
 5. Please make Welcome Page to be opened separately without other projects. 
And add an option to turn on/off Welcome Page. At first time I turn it off and 
I couldn't restore it anywhere.


> Code Formatting, UI and Overall Systems
> ---
>
> Key: NETBEANS-279
> URL: https://issues.apache.org/jira/browse/NETBEANS-279
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Formatting  Indentation, ide - UI
>Affects Versions: 9.0
> Environment: Windows 10
>Reporter: Hyeonwoo O
>Priority: Major
>  Labels: features
> Fix For: 9.0
>
> Attachments: highlighting.png
>
>
> Following are what I felt need improvements using NetBeans.
> *[C/C++]*
>  1. Auto-completion doesn't work when I put text quickly.
>  2. Auto-completion for standard header files(<...>) doesn't work when I 
> remove and write it again.
>  3. When NetBeans is opened with C/C++ project or changing to C/C++ group, 
> 'Run Project' button is disabled.
> *[Java]*
>  1. I hope an option to active external command prompt.(not floating 'Output' 
> window)
>  2. Auto-completion for global variables and methods doesn't work.
> *[General]*
>  1. Directory tree status isn't saved when restart NetBeans. Even I open some 
> folders, IDE is always start with closed directory tree.
>  2. It would be better if auto-formatting for +spaces and braces+ is 
> supported when I put a semicolon or press enter key.(like Visual Studio) It 
> is a little hard to set my coding style correctly with 
> Options->Editor->Formatting option.
>  3. It would be better if there is a Project Group window dockable with 
> Project browser.
>  4. Sometimes mark occurrence doesn't work correctly like attached image: 
> There are same methods but some were not chosen.
>  5. Please make Welcome Page to be opened separately without other projects. 
> And add an option to turn on/off Welcome Page. At first time I turn it off 
> and I couldn't restore it anywhere.



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