[jira] [Created] (NETBEANS-3423) infrastructure.SuggestionsTask
Malcolm created NETBEANS-3423: - Summary: infrastructure.SuggestionsTask Key: NETBEANS-3423 URL: https://issues.apache.org/jira/browse/NETBEANS-3423 Project: NetBeans Issue Type: Bug Components: editor - CSL (API infrastructure) Affects Versions: 11.1 Reporter: Malcolm When starting to debug a PHP WordPress project this error occurred. 2019-11-22T19:11:23 1574403083780 1386 700 182 UI_USER_CONFIGURATION UI_USER_CONFIGURATION org.netbeans.modules.uihandler.Bundle Mac OS X, 10.13.6, x86_64 OpenJDK 64-Bit Server VM, 10.0.2+13, OpenJDK Runtime Environment, 10.0.2+13 Apache NetBeans IDE 11.1 NullPointerException at org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask$1.run Please provide a description of the problem or the steps to reproduce * WARNING [org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask]WARNING [org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask]java.lang.NullPointerException at org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask$1.run(SuggestionsTask.java:143) 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)Caused: org.netbeans.modules.parsing.spi.ParseException at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:186) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)[catch] at org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask.run(SuggestionsTask.java:97) at org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask.run(SuggestionsTask.java:54) at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 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) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2421) Organize Imports does not import new Classes
[ https://issues.apache.org/jira/browse/NETBEANS-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16979897#comment-16979897 ] deratzmann commented on NETBEANS-2421: -- This is still not working in 11.2 > Organize Imports does not import new Classes > > > Key: NETBEANS-2421 > URL: https://issues.apache.org/jira/browse/NETBEANS-2421 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.0 > Environment: Windows 10 >Reporter: deratzmann >Priority: Minor > > Hey, guys. > First of all: Thank you for your great work on netbeans. It is a great tool > (and always was). > Here is my found bug: > With the release of netbeans 11 it seems, that the source code function > "organize imports" is not working as expected. > My expectation (from the previous version): > delete unused classes > import currently unknown but used classes (by best guess) > currently it is only deleting unused classes. > So I guess, this might be a bug? > Best regards > Bastian -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-3115) Netbeans (gradle) opens sources from source-jar files instead of (opened) projects
[ https://issues.apache.org/jira/browse/NETBEANS-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16979895#comment-16979895 ] Laszlo Kishalmi commented on NETBEANS-3115: --- Thanks for reporting this issue! I have some suspections what is going on... > Netbeans (gradle) opens sources from source-jar files instead of (opened) > projects > -- > > Key: NETBEANS-3115 > URL: https://issues.apache.org/jira/browse/NETBEANS-3115 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.1 >Reporter: Björn Schmidt >Assignee: Laszlo Kishalmi >Priority: Major > Labels: usability > Attachments: nbtest.tbz2 > > > I'm using many independent gradle (java-library style) projects opened in NB. > They are not part of a big multi module project! > Whenever I want to navigate to a source file from another project relative to > the current one, Netbeans opens the source from > ~/.m2/repository.../project.jar and not from the local file of the referenced > project which is of course also opened in NB. > I already tried to disable all ~/.m2 Sources under Window->Debugging->Sources > but that doesn't change the behaviour (also not after restarting). > Even if it would change the behavior I then would have to disable all those > automatically added ~/.m2 (which are somehow preferred) references for every > project. > Maybe I'm just to stupid to find the right (global) option but ATM I think > this behavior is a bug. > — > Attached Test Case: > - open both projects in Netbeans > - deploy both project to local maven repo via custom rungradle action (clean > build publishToMavenLocal) > - go to NewClass in providedlib > - ctrl click on the new Lib2Class statement > Expectation: Lib2Class gets opened from local filesystem, one can directly > edit the referenced file. > Actual: Lib2Class gets opened from local maven repo, read only. > > > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-2439) Java Frontend Application cannot be activated/created
[ https://issues.apache.org/jira/browse/NETBEANS-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-2439. --- Fix Version/s: 11.3 Resolution: Fixed Marked resolved as the corresponding PR got merged. > Java Frontend Application cannot be activated/created > - > > Key: NETBEANS-2439 > URL: https://issues.apache.org/jira/browse/NETBEANS-2439 > Project: NetBeans > Issue Type: Bug > Components: java - Project >Affects Versions: 10.0, 11.0 > Environment: System: > Kernel: 4.15.0-47-generic x86_64 bits: 64 > Desktop: Cinnamon 4.0.10 Distro: Linux Mint 19.1 Tessa > Machine: > Type: Laptop System: ASUSTeK product: X45C v: 1.0 > Mobo: ASUSTeK model: X45C v: 1.0 > CPU: > Dual Core: Intel Core i3-3110M type: MT MCP speed: 1197 MHz > min/max: 1200/2400 MHz > Graphics: > Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel > Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa > resolution: 1366x768~60Hz > OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.2.8 >Reporter: Gergely Turi >Assignee: Anton Epple >Priority: Major > Labels: beginner, pull-request-available, usability > Fix For: 11.3, 11.1 > > Attachments: Java Frontend Application.png, java Frontend App with > gradle.gif, java Frontend App with maven.gif > > Time Spent: 0.5h > Remaining Estimate: 0h > > Java Frontend Application cannot be activated/created. > New Project -> Java with Maven -> Java Frontend Application -> nothing > appears, no buttons for activation or any fields for the creation of a project -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-3418) Generic Language Framework Template
[ https://issues.apache.org/jira/browse/NETBEANS-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16979667#comment-16979667 ] Roberto Marquez commented on NETBEANS-3418: --- Thanks for the links, Christian. I was able to get the basic grammar 'OpenSCAD.tmLanguage' working as a Netbeans module (using the TextMate Lexer dependency) but not the snippets. Thanks for the help, anyway. Feel free to close this issue or let me know if I should. > Generic Language Framework Template > --- > > Key: NETBEANS-3418 > URL: https://issues.apache.org/jira/browse/NETBEANS-3418 > Project: NetBeans > Issue Type: Wish > Components: platform - Other >Affects Versions: 11.0 > Environment: Ubuntu 18.04 >Reporter: Roberto Marquez >Priority: Minor > Labels: question > > Using Netbeans 11, the Generic Languages Framework Template is not available > in the 'New File' dialog under the 'Module Development' category. > I am trying to create support for another language (OpenSCAD) files in > Netbeans, as outlined here: > [https://netbeans.org/community/magazine/html/03/schliemann/] > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated: Fix missing type information from commit 731f8d9 causing compiler error
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 065509b Fix missing type information from commit 731f8d9 causing compiler error 065509b is described below commit 065509bdb281303cc963ffd4df0008c4c43ffe5c Author: Matthias Bläsing AuthorDate: Thu Nov 21 22:44:46 2019 +0100 Fix missing type information from commit 731f8d9 causing compiler error --- .../src/org/netbeans/modules/profiler/oql/engine/api/impl/Snapshot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/profiler.oql/src/org/netbeans/modules/profiler/oql/engine/api/impl/Snapshot.java b/profiler/profiler.oql/src/org/netbeans/modules/profiler/oql/engine/api/impl/Snapshot.java index 6e28144..8b38532 100644 --- a/profiler/profiler.oql/src/org/netbeans/modules/profiler/oql/engine/api/impl/Snapshot.java +++ b/profiler/profiler.oql/src/org/netbeans/modules/profiler/oql/engine/api/impl/Snapshot.java @@ -199,7 +199,7 @@ public class Snapshot { @Override protected Iterator getTraversingIterator(JavaClass popped) { -return includeSubclasses ? popped.getSubClasses().iterator() : Collections.emptyList().iterator(); +return includeSubclasses ? popped.getSubClasses().iterator() : Collections.emptyList().iterator(); } }; } - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated (3c16c96 -> 4e797ff)
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 3c16c96 Merge pull request #1631 from pepness/felix603 new 731f8d9 [NETBEANS-3416] - cleanup non-generic EMPTY_LIST usage new 4e797ff Merge pull request #1644 from BradWalker/cleanup_emptylist_warnings The 3130 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: .../jaxws/saas/RestWrapperForSoapGenerator.java| 2 +- .../websvc/rest/ApplicationSubclassGenerator.java | 2 +- .../editor/api/completion/CompletionHandler.java | 2 +- .../editor/api/completion/util/ContextHelper.java | 4 +- .../groovy/editor/completion/MethodCompletion.java | 2 +- .../modules/localhistory/store/StoreEntry.java | 2 +- .../debugger/ui/DebuggerManagerListener.java | 2 +- .../netbeans/modules/viewmodel/OutlineTable.java | 2 +- .../modules/team/spi/TeamAccessorUtils.java| 2 +- .../modules/web/common/remote/RemoteFS.java| 2 +- .../modules/web/webkit/debugging/api/css/CSS.java | 2 +- .../modules/web/webkit/debugging/api/dom/DOM.java | 2 +- .../modules/web/webkit/debugging/api/dom/Node.java | 4 +- .../debugger/jpda/projects/IntroduceClass.java | 2 +- .../debugger/jpda/visual/JavaComponentInfo.java| 6 +- .../debugger/jpda/visual/RemoteAWTScreenshot.java | 30 +- .../debugger/jpda/visual/RemoteFXScreenshot.java | 64 +++--- .../debugger/jpda/visual/RemoteServices.java | 18 +++--- .../jpda/visual/VisualDebuggerListener.java| 4 +- .../jpda/breakpoints/LineBreakpointImpl.java | 2 +- .../debugger/jpda/models/JPDAClassTypeImpl.java| 8 +-- .../modules/debugger/jpda/models/ThreadsCache.java | 2 +- .../refactoring/InspectAndRefactorPanel.java | 10 ++-- .../netbeans/modules/javadoc/hints/AddTagFix.java | 8 +-- .../modules/javadoc/hints/JavadocGenerator.java| 12 ++-- .../java/CustomClientPojoCodeGenerator.java| 2 +- .../codegen/java/RestClientPojoCodeGenerator.java | 2 +- .../codegen/java/SoapClientPojoCodeGenerator.java | 2 +- .../netbeans/installer/utils/UninstallUtils.java | 2 +- .../annotations/Nette2AnnotationsProvider.java | 6 +- .../editor/completion/TwigCompletionHandler.java | 8 +-- .../selenium2/php/Selenium2PhpSupportImpl.java | 6 +- .../src/org/netbeans/swing/etable/ETable.java | 3 +- .../modules/options/keymap/KeymapModel.java| 4 +- .../profiler/oql/engine/api/impl/Snapshot.java | 2 +- .../AbstractProjectLookupProvider.java | 2 +- .../modules/html/angular/index/AngularJsIndex.java | 2 +- .../javascript2/extjs/ExtJsCodeCompletion.java | 12 ++-- .../modules/javascript2/model/JsFunctionImpl.java | 4 +- .../modules/javascript2/model/JsObjectImpl.java| 2 +- .../javascript2/model/JsWithObjectImpl.java| 2 +- .../javascript2/model/OccurrenceBuilder.java | 2 +- .../modules/javascript2/model/api/Index.java | 4 +- .../nodejs/editor/NodeJsCodeCompletion.java| 8 +-- .../selenium2/webclient/mocha/MochaRunner.java | 6 +- .../webclient/protractor/ProtractorRunner.java | 6 +- .../web/javascript/debugger/MiscEditorUtil.java| 2 +- .../callstack/DebuggingViewSupportImpl.java| 2 +- .../javascript/debugger/callstack/JSThread.java| 2 +- 49 files changed, 145 insertions(+), 144 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated: Updating to Apache Felix 6.0.3
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 12b4d69 Updating to Apache Felix 6.0.3 new 3c16c96 Merge pull request #1631 from pepness/felix603 12b4d69 is described below commit 12b4d694b1b14d269992391b655e35a4cfc3fd06 Author: Jose Contreras AuthorDate: Mon Nov 11 16:47:42 2019 -0600 Updating to Apache Felix 6.0.3 --- platform/libs.felix/external/binaries-list| 2 +- ...main-6.0.2-license.txt => org.apache.felix.main-6.0.3-license.txt} | 4 ++-- ...x.main-6.0.2-notice.txt => org.apache.felix.main-6.0.3-notice.txt} | 0 platform/libs.felix/nbproject/project.properties | 4 ++-- platform/libs.felix/nbproject/project.xml | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/platform/libs.felix/external/binaries-list b/platform/libs.felix/external/binaries-list index 24bd362..0fd0c8b 100644 --- a/platform/libs.felix/external/binaries-list +++ b/platform/libs.felix/external/binaries-list @@ -15,4 +15,4 @@ # specific language governing permissions and limitations # under the License. -1EA2666BB8C3F72A4A30843490F19431ABAD73CC org.apache.felix:org.apache.felix.main:6.0.2 +9A6CBBA44A72BB04411EDF8B154C862E27209E8A org.apache.felix:org.apache.felix.main:6.0.3 diff --git a/platform/libs.felix/external/org.apache.felix.main-6.0.2-license.txt b/platform/libs.felix/external/org.apache.felix.main-6.0.3-license.txt similarity index 99% rename from platform/libs.felix/external/org.apache.felix.main-6.0.2-license.txt rename to platform/libs.felix/external/org.apache.felix.main-6.0.3-license.txt index f6f9e45..68a6f84 100644 --- a/platform/libs.felix/external/org.apache.felix.main-6.0.2-license.txt +++ b/platform/libs.felix/external/org.apache.felix.main-6.0.3-license.txt @@ -1,8 +1,8 @@ Name: Felix -Version: 6.0.2 +Version: 6.0.3 Description: Apache Felix OSGi container. License: Apache-2.0 -Files: org.apache.felix.main-6.0.2.jar +Files: org.apache.felix.main-6.0.3.jar Origin: Apache Software Foundation URL: http://archive.apache.org/dist/felix/ diff --git a/platform/libs.felix/external/org.apache.felix.main-6.0.2-notice.txt b/platform/libs.felix/external/org.apache.felix.main-6.0.3-notice.txt similarity index 100% rename from platform/libs.felix/external/org.apache.felix.main-6.0.2-notice.txt rename to platform/libs.felix/external/org.apache.felix.main-6.0.3-notice.txt diff --git a/platform/libs.felix/nbproject/project.properties b/platform/libs.felix/nbproject/project.properties index 97197d7..48a6700 100644 --- a/platform/libs.felix/nbproject/project.properties +++ b/platform/libs.felix/nbproject/project.properties @@ -15,6 +15,6 @@ # specific language governing permissions and limitations # under the License. -release.external/org.apache.felix.main-6.0.2.jar=modules/ext/org.apache.felix.main-6.0.2.jar -javac.source=1.6 +release.external/org.apache.felix.main-6.0.3.jar=modules/ext/org.apache.felix.main-6.0.3.jar +javac.source=1.8 javac.compilerargs=-Xlint -Xlint:-serial diff --git a/platform/libs.felix/nbproject/project.xml b/platform/libs.felix/nbproject/project.xml index 8015d33..1078aaf 100644 --- a/platform/libs.felix/nbproject/project.xml +++ b/platform/libs.felix/nbproject/project.xml @@ -36,8 +36,8 @@ - ext/org.apache.felix.main-6.0.2.jar - external/org.apache.felix.main-6.0.2.jar + ext/org.apache.felix.main-6.0.3.jar + external/org.apache.felix.main-6.0.3.jar - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated (7929725 -> c0dbcc4)
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 7929725 Merge pull request #1595 from blackleg/fix_platform_tests new a6a654d Use one license file for junit5 new 58aff2f Updating to junit 5.5.2 new 89052a4 Update maven-surefire-plugin to 2.22.2 new c0dbcc4 Merge pull request #1632 from pepness/junit552 The 3126 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: .../modules/maven/ActionProviderImplTest.java | 4 +- platform/junitlib/external/binaries-list | 12 +-- ...nse.txt => junit-jupiter-api-5.5.2-license.txt} | 4 +- txt => junit-jupiter-engine-5.5.2-license.txt} | 4 +- txt => junit-jupiter-params-5.5.2-license.txt} | 4 +- platform/junitlib/nbproject/project.properties | 26 +++--- .../netbeans/modules/junitlib/Bundle.properties| 2 +- .../src/org/netbeans/modules/junitlib/junit_5.xml | 24 +++--- platform/libs.junit5/external/binaries-list| 6 +- ...license.txt => junit-jupiter-5.5.2-license.txt} | 9 ++- .../junit-jupiter-engine-5.3.1-license.txt | 93 -- .../junit-jupiter-params-5.3.1-license.txt | 93 -- platform/libs.junit5/nbproject/project.properties | 6 +- platform/libs.junit5/nbproject/project.xml | 12 +-- 14 files changed, 57 insertions(+), 242 deletions(-) rename platform/junitlib/external/{junit-jupiter-api-5.3.1-license.txt => junit-jupiter-api-5.5.2-license.txt} (99%) rename platform/junitlib/external/{junit-jupiter-engine-5.3.1-license.txt => junit-jupiter-engine-5.5.2-license.txt} (99%) rename platform/junitlib/external/{junit-jupiter-params-5.3.1-license.txt => junit-jupiter-params-5.5.2-license.txt} (99%) rename platform/libs.junit5/external/{junit-jupiter-api-5.3.1-license.txt => junit-jupiter-5.5.2-license.txt} (98%) delete mode 100644 platform/libs.junit5/external/junit-jupiter-engine-5.3.1-license.txt delete mode 100644 platform/libs.junit5/external/junit-jupiter-params-5.3.1-license.txt - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated (4fbed3d -> 7929725)
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 4fbed3d [TRAVIS] Wait for platform/openide.loaders test new 5b48f4e Fix Travis config when run tests for ide modules new 6d961c1 Disable libs.git module tests new 7b6c8c0 Retry ide/html module new 7929725 Merge pull request #1595 from blackleg/fix_platform_tests The 3122 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: .travis.yml | 205 ++-- 1 file changed, 102 insertions(+), 103 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated: [TRAVIS] Wait for platform/openide.loaders test
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 4fbed3d [TRAVIS] Wait for platform/openide.loaders test 4fbed3d is described below commit 4fbed3d5c1edd068667e25fd691561628a7cb268 Author: Hector Espert AuthorDate: Fri Nov 8 19:30:53 2019 +0100 [TRAVIS] Wait for platform/openide.loaders test Wait for platform/openide.loaders test finish, try to prevent this fail Travis error: https://travis-ci.org/apache/netbeans/jobs/608908586?utm_medium=notification_source=github_status --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e49d59b..5067deb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -164,7 +164,7 @@ matrix: - hide-logs.sh ant $OPTS -f platform/openide.filesystems.compat8 test - hide-logs.sh ant $OPTS -f platform/openide.filesystems.nb test - hide-logs.sh ant $OPTS -f platform/openide.io test -- hide-logs.sh ant $OPTS -f platform/openide.loaders test +- travis_wait hide-logs.sh ant $OPTS -f platform/openide.loaders test - hide-logs.sh ant $OPTS -f platform/openide.modules test - hide-logs.sh ant $OPTS -f platform/openide.nodes test - hide-logs.sh ant $OPTS -f platform/openide.options test - 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-3420) Split Gradle Java Code Coverage Module from Gradle Java Projects
[ https://issues.apache.org/jira/browse/NETBEANS-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-3420: - Labels: pull-request-available (was: ) > Split Gradle Java Code Coverage Module from Gradle Java Projects > > > Key: NETBEANS-3420 > URL: https://issues.apache.org/jira/browse/NETBEANS-3420 > Project: NetBeans > Issue Type: Task > Components: projects - Gradle >Reporter: Laszlo Kishalmi >Priority: Major > Labels: pull-request-available > > The main motivation of the split is to move the Jacoco and ASM external > dependency out of the Java module have it better structured. > Also with the ASM 7.2 upgrade happened in the platform we no longer need to > add ASM as a separate external dependency and it is possible to use Jacoco > 0.8.5 which supports Java 13. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-3420) Split Gradle Java Code Coverage Module from Gradle Java Projects
[ https://issues.apache.org/jira/browse/NETBEANS-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi updated NETBEANS-3420: -- Component/s: projects - Gradle > Split Gradle Java Code Coverage Module from Gradle Java Projects > > > Key: NETBEANS-3420 > URL: https://issues.apache.org/jira/browse/NETBEANS-3420 > Project: NetBeans > Issue Type: Task > Components: projects - Gradle >Reporter: Laszlo Kishalmi >Priority: Major > > The main motivation of the split is to move the Jacoco and ASM external > dependency out of the Java module have it better structured. > Also with the ASM 7.2 upgrade happened in the platform we no longer need to > add ASM as a separate external dependency and it is possible to use Jacoco > 0.8.5 which supports Java 13. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-3420) Split Gradle Java Code Coverage Module from Gradle Java Projects
Laszlo Kishalmi created NETBEANS-3420: - Summary: Split Gradle Java Code Coverage Module from Gradle Java Projects Key: NETBEANS-3420 URL: https://issues.apache.org/jira/browse/NETBEANS-3420 Project: NetBeans Issue Type: Task Reporter: Laszlo Kishalmi The main motivation of the split is to move the Jacoco and ASM external dependency out of the Java module have it better structured. Also with the ASM 7.2 upgrade happened in the platform we no longer need to add ASM as a separate external dependency and it is possible to use Jacoco 0.8.5 which supports Java 13. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-3387) Indexed runs annotation Processors with no CodeSource.location
[ https://issues.apache.org/jira/browse/NETBEANS-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic resolved NETBEANS-3387. --- Fix Version/s: 11.3 Resolution: Fixed > Indexed runs annotation Processors with no CodeSource.location > --- > > Key: NETBEANS-3387 > URL: https://issues.apache.org/jira/browse/NETBEANS-3387 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 11.2 >Reporter: Svatopluk Dedic >Assignee: Svatopluk Dedic >Priority: Major > Labels: pull-request-available > Fix For: 11.3 > > Time Spent: 20m > Remaining Estimate: 0h > > An annotation processor attempts to locate "nearby" data files, where > "nearby" means next to its JAR/class location. When run as part of NetBeans > indexing, it is loaded by {{CachingArchiveClassLoader}}, which does not set > the {{ProtectionDomain}} for the loaded classes at all. > This is a difference from the environment that standard Javac creates, and > may cause the Processor to throw exception and abort the compilation. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated: [NETBEANS-3387] classes loaded from scanned path should get CodeSource.location
This is an automated email from the ASF dual-hosted git repository. sdedic pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 495e8b3 [NETBEANS-3387] classes loaded from scanned path should get CodeSource.location new 84e18b5 Merge pull request #1627 from sdedic/bugfix/annotation-processor-codesource 495e8b3 is described below commit 495e8b312e1ecd564d530e70fcde69712c93f241 Author: Svata Dedic AuthorDate: Thu Nov 14 12:17:32 2019 +0100 [NETBEANS-3387] classes loaded from scanned path should get CodeSource.location --- .../source/parsing/CachingArchiveClassLoader.java | 40 ++ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/java/java.source.base/src/org/netbeans/modules/java/source/parsing/CachingArchiveClassLoader.java b/java/java.source.base/src/org/netbeans/modules/java/source/parsing/CachingArchiveClassLoader.java index e11d592..22de204 100644 --- a/java/java.source.base/src/org/netbeans/modules/java/source/parsing/CachingArchiveClassLoader.java +++ b/java/java.source.base/src/org/netbeans/modules/java/source/parsing/CachingArchiveClassLoader.java @@ -40,9 +40,16 @@ import javax.tools.JavaFileObject; import org.netbeans.api.annotations.common.NonNull; import org.netbeans.api.annotations.common.NullAllowed; import org.netbeans.api.java.classpath.ClassPath; +import org.openide.filesystems.FileUtil; import org.openide.util.Exceptions; import org.openide.util.Pair; import org.openide.util.Parameters; +import java.nio.file.FileStore; +import java.security.CodeSigner; +import java.security.CodeSource; +import java.security.ProtectionDomain; +import java.util.HashMap; +import java.util.Map; /** * @@ -55,6 +62,7 @@ public final class CachingArchiveClassLoader extends ClassLoader { //Todo: Performance Trie private static final ReentrantReadWriteLock LOCK = new ReentrantReadWriteLock(); +private final Map codeDomains = new HashMap<>(); private final List> archives; private final Optional> usedRoots; private byte[] buffer; @@ -68,6 +76,19 @@ public final class CachingArchiveClassLoader extends ClassLoader { this.archives = archives; this.usedRoots = Optional.>ofNullable(usedRoots); } + +/** + * Creates a ProtectionDomain for the location. Caches instances since more classes + * is likely to be loaded. + * @param location location + * @return ProtectionDomain object. + */ +private ProtectionDomain createCodeDomain(URL location) { +return codeDomains.computeIfAbsent(location, +(l) -> new ProtectionDomain( +new CodeSource(l, (CodeSigner[])null), null) +); +} @Override protected Class findClass(final String name) throws ClassNotFoundException { @@ -78,8 +99,9 @@ public final class CachingArchiveClassLoader extends ClassLoader { c = readAction(new Callable>() { @Override public Class call() throws Exception { -final FileObject file = findFileObject(sb.toString()); -if (file != null) { +final Pair locFile = findFileObject(sb.toString()); +if (locFile != null) { +final FileObject file = locFile.second(); try { final int len = readJavaFileObject(file); int lastDot = name.lastIndexOf('.'); @@ -96,7 +118,8 @@ public final class CachingArchiveClassLoader extends ClassLoader { //-buffer //+com.sun.tools.hc.LambdaMetafactory.translateClassFile(buffer,0,len), 0, -len); +len, +createCodeDomain(locFile.first())); } catch (FileNotFoundException fnf) { LOG.log(Level.FINE, "Resource: {0} does not exist.", file.toUri()); //NOI18N } catch (IOException ioe) { @@ -121,7 +144,8 @@ public final class CachingArchiveClassLoader extends ClassLoader { file = readAction(new Callable() { @Override public FileObject call() throws Exception { -return findFileObject(name); +Pair p = findFileObject(name); +return p == null ? null : p.second(); } }); } catch (Exception e) { @@ -190,7 +214,7 @@ public final class CachingArchiveClassLoader extends ClassLoader { return len; } -private FileObject findFileObject(final String resName) { +private Pair findFileObject(final String resName) { assert
[jira] [Updated] (NETBEANS-3418) Generic Language Framework Template
[ https://issues.apache.org/jira/browse/NETBEANS-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Lenz updated NETBEANS-3418: - Labels: question (was: ) > Generic Language Framework Template > --- > > Key: NETBEANS-3418 > URL: https://issues.apache.org/jira/browse/NETBEANS-3418 > Project: NetBeans > Issue Type: Wish > Components: platform - Other >Affects Versions: 11.0 > Environment: Ubuntu 18.04 >Reporter: Roberto Marquez >Priority: Minor > Labels: question > > Using Netbeans 11, the Generic Languages Framework Template is not available > in the 'New File' dialog under the 'Module Development' category. > I am trying to create support for another language (OpenSCAD) files in > Netbeans, as outlined here: > [https://netbeans.org/community/magazine/html/03/schliemann/] > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-3418) Generic Language Framework Template
[ https://issues.apache.org/jira/browse/NETBEANS-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16979144#comment-16979144 ] Christian Lenz commented on NETBEANS-3418: -- Schliemann is out of date. It is still usable I had one example with cucumber but it has some little problems. Anyway, the way today is ANTLR or, what I prefer most is to ue textmate grammar instead. Have a look at this tutorial: https://blogs.apache.org/netbeans/entry/lsp-client-demo-ba-sh and try to find a testmate lexer for your language. maybe VS Code alread has one :) > Generic Language Framework Template > --- > > Key: NETBEANS-3418 > URL: https://issues.apache.org/jira/browse/NETBEANS-3418 > Project: NetBeans > Issue Type: Wish > Components: platform - Other >Affects Versions: 11.0 > Environment: Ubuntu 18.04 >Reporter: Roberto Marquez >Priority: Minor > > Using Netbeans 11, the Generic Languages Framework Template is not available > in the 'New File' dialog under the 'Module Development' category. > I am trying to create support for another language (OpenSCAD) files in > Netbeans, as outlined here: > [https://netbeans.org/community/magazine/html/03/schliemann/] > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-3418) Generic Language Framework Template
[ https://issues.apache.org/jira/browse/NETBEANS-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16979145#comment-16979145 ] Christian Lenz commented on NETBEANS-3418: -- Found it: https://github.com/tbuser/openscad.tmbundle > Generic Language Framework Template > --- > > Key: NETBEANS-3418 > URL: https://issues.apache.org/jira/browse/NETBEANS-3418 > Project: NetBeans > Issue Type: Wish > Components: platform - Other >Affects Versions: 11.0 > Environment: Ubuntu 18.04 >Reporter: Roberto Marquez >Priority: Minor > > Using Netbeans 11, the Generic Languages Framework Template is not available > in the 'New File' dialog under the 'Module Development' category. > I am trying to create support for another language (OpenSCAD) files in > Netbeans, as outlined here: > [https://netbeans.org/community/magazine/html/03/schliemann/] > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists