You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by jt...@apache.org on 2020/10/14 12:43:15 UTC
[netbeans] branch master updated (115b905 -> 608f77e)
This is an automated email from the ASF dual-hosted git repository.
jtulach pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.
from 115b905 Merge pull request #2334 from singh-akhilesh/create-java-file-from-copied-code
add 3929d41 Mention the possibility to use -D3rdparty.modules= property
add c4d634e Don't print empty lines as the EOL character is implicit in the logMessage
new 1febd64 Merge remote-tracking branch 'origin/master' into jtulach/BugfixingVSCode
new ee1746c Avoiding NPE when debugger queries local variables
new 608f77e Let npm run nbcode share the user directory with extension launcher
The 3 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:
.../lsp/server/protocol/WorkspaceIOContext.java | 57 ++++++++++++
.../lsp/server/protocol/WorkspaceServiceImpl.java | 26 +-----
.../lsp/server/protocol/WorkspaceContextTest.java | 101 +++++++++++++++++++++
java/java.lsp.server/vscode/README.md | 8 +-
java/java.lsp.server/vscode/package.json | 2 +-
.../modules/java/source/parsing/JavacParser.java | 7 +-
6 files changed, 172 insertions(+), 29 deletions(-)
create mode 100644 java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/WorkspaceIOContext.java
create mode 100644 java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/WorkspaceContextTest.java
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] 02/03: Avoiding NPE when debugger queries local variables
Posted by jt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit ee1746cbd8292c9fc440d02fc1e1ce1e3deb43c6
Author: Jan Lahoda <ja...@oracle.com>
AuthorDate: Wed Oct 14 10:11:08 2020 +0200
Avoiding NPE when debugger queries local variables
---
.../src/org/netbeans/modules/java/source/parsing/JavacParser.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java b/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java
index 9d1d6d5..dbdd638 100644
--- a/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java
+++ b/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java
@@ -46,8 +46,6 @@ import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.lang.ref.Reference;
import java.lang.ref.WeakReference;
-import java.lang.reflect.Field;
-import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.URL;
import java.util.ArrayList;
@@ -549,8 +547,9 @@ public class JavacParser extends Parser {
final NewComilerTask nct = (NewComilerTask)task;
if (nct.getCompilationController() == null || nct.getTimeStamp() != parseId) {
try {
- nct.setCompilationController(
- JavaSourceAccessor.getINSTANCE().createCompilationController(new CompilationInfoImpl(this, file, root, null, null, cachedSnapShot, true)),
+ CompilationInfoImpl cii = new CompilationInfoImpl(this, file, root, null, null, cachedSnapShot, true);
+ cii.setParsedTrees(new HashMap<>());
+ nct.setCompilationController(JavaSourceAccessor.getINSTANCE().createCompilationController(cii),
parseId);
} catch (IOException ioe) {
throw new ParseException ("Javac Failure", ioe);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] 03/03: Let npm run nbcode share the user directory with
extension launcher
Posted by jt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit 608f77e3906d693598ac398d7fc43e083afd5267
Author: Jaroslav Tulach <ja...@oracle.com>
AuthorDate: Wed Oct 14 12:33:24 2020 +0200
Let npm run nbcode share the user directory with extension launcher
---
java/java.lsp.server/vscode/package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/java.lsp.server/vscode/package.json b/java/java.lsp.server/vscode/package.json
index fe9c905..221b262 100644
--- a/java/java.lsp.server/vscode/package.json
+++ b/java/java.lsp.server/vscode/package.json
@@ -130,7 +130,7 @@
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
- "nbcode": "./nbcode/bin/nbcode"
+ "nbcode": "node ./out/nbcode.js"
},
"devDependencies": {
"@types/vscode": "^1.47.0",
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] 01/03: Merge remote-tracking branch 'origin/master' into
jtulach/BugfixingVSCode
Posted by jt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit 1febd64dd64308031b7343c3ccdebe43a9d4597e
Merge: c4d634e 115b905
Author: Jaroslav Tulach <ja...@oracle.com>
AuthorDate: Wed Oct 14 10:06:50 2020 +0200
Merge remote-tracking branch 'origin/master' into jtulach/BugfixingVSCode
cpplite/cpplite.project/nbproject/project.xml | 25 +++
.../cpplite/project/ActionProviderImpl.java | 53 ++++-
enterprise/maven.j2ee/nbproject/project.xml | 2 +
.../payara/micro/project/MicroActionsProvider.java | 60 ++----
...tionChecker.java => MicroExecutionChecker.java} | 22 +-
.../payara/micro/project/MicroProjectHook.java | 8 +-
.../fish/payara/micro/project/ReloadAction.java | 2 -
.../micro/project/resources/action-mapping.xml | 63 +++++-
enterprise/web.bootsfaces/build.xml | 25 +++
enterprise/web.bootsfaces/manifest.mf | 6 +
.../web.bootsfaces/nbproject/project.properties | 4 +-
.../web.bootsfaces}/nbproject/project.xml | 74 +++----
.../bootsfaces/BootsFacesTagFeatureProvider.java | 108 ++++++++++
.../modules/web/bootsfaces/Bundle.properties | 3 +-
.../web/bootsfaces/resources/Bundle.properties | 6 +-
enterprise/web.jsfapi/nbproject/project.xml | 1 +
ergonomics/ide.ergonomics/cpplite.properties | 1 +
.../modules/ide/ergonomics/fod/FeatureInfo.java | 4 +
.../modules/ide/ergonomics/fod/FeatureManager.java | 12 +-
.../impl/TruffleBreakpointsHandler.java | 72 ++++++-
.../jpda/backend/truffle/JPDATruffleAccessor.java | 13 ++
java/gradle.java/nbproject/project.xml | 5 +-
.../java/classpath/ClassPathProviderImpl.java | 2 +-
.../java/classpath/CompileClassPathImpl.java | 1 +
.../gradle/java/classpath/GradleSourcesImpl.java | 4 +-
.../gradle/java/classpath/SourceClassPathImpl.java | 4 -
.../gradle/java/queries/GradleSourceForBinary.java | 10 +-
.../server/debugging/breakpoints/NbBreakpoint.java | 60 ++++--
.../breakpoints/NbBreakpointsRequestHandler.java | 35 +---
.../ui/CreateJavaClassFileFromClipboard.java | 229 +++++++++++++++++++++
.../project/support/ui/PackageViewChildren.java | 2 +
.../java/project/support/ui/PackageViewTest.java | 200 ++++++++++++++++++
.../java/source/parsing/CompilationInfoImpl.java | 18 +-
.../modules/java/source/parsing/JavacParser.java | 118 +++++++----
.../java/source/parsing/ModuleOraculumTest.java | 5 +-
.../org/netbeans/swing/etable/ETableHeader.java | 3 +-
36 files changed, 1046 insertions(+), 214 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists