[jira] [Created] (NETBEANS-923) Add throws clause triggers exception in editor
Sven Reimers created NETBEANS-923: - Summary: Add throws clause triggers exception in editor Key: NETBEANS-923 URL: https://issues.apache.org/jira/browse/NETBEANS-923 Project: NetBeans Issue Type: Bug Components: java - Hints Affects Versions: 9.0 Reporter: Sven Reimers Using the hint to add a throws clause to the main method results in the following exception: {code:java} java.lang.IllegalArgumentException: Copying to 773 is greater then its size (770). at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5797) at org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:5776) at org.netbeans.modules.java.source.save.CasualDiff.diffClassDef(CasualDiff.java:1092) at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5250) at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5144) at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5071) at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5042) at org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:3878) at org.netbeans.modules.java.source.save.CasualDiff.diffTopLevel(CasualDiff.java:574) at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5223) at org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5144) at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5071) at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5054) at org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:342) at org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:907) at org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1319) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:675) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662) 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.api.java.source.JavaSource.runModificationTask(JavaSource.java:683) at org.netbeans.modules.java.hints.errors.UncaughtException$AddThrowsClauseHintImpl.implement(UncaughtException.java:494) [catch] at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:835) 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) {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-922) C++17 code completion causes NullPointerException
Darth Vader created NETBEANS-922: Summary: C++17 code completion causes NullPointerException Key: NETBEANS-922 URL: https://issues.apache.org/jira/browse/NETBEANS-922 Project: NetBeans Issue Type: Bug Components: cnd - Code Completion, cnd - Code Model Affects Versions: 9.0 Reporter: Darth Vader Requesting code completion after "*std::*" causes NullPointerException. The issue can be reproduce by: * Creating a clean C++ project. * Wait for parse * In project settings change project's c++ standard option to C++17 * Right click on project -> Code Assistance -> Reparse Project * Type std:: in a source file Version used: 9.0 rc1 aka 302-on-20180517 Exception: {{SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.spi.editor.completion.support.AsyncCompletionTask}} {{java.lang.NullPointerException}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.findAutoOrDecltypeAutoType(CsmCompletionQuery.java:1456)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.findAutoOrDecltypeAutoType(CsmCompletionQuery.java:1427)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveItem(CsmCompletionQuery.java:2748)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp(CsmCompletionQuery.java:1980)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveType(CsmCompletionQuery.java:1695)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveType(CsmCompletionQuery.java:1684)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveItem(CsmCompletionQuery.java:2700)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp(CsmCompletionQuery.java:1980)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.getResolvedContext(CsmCompletionQuery.java:884)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.performQueryTask(CsmCompletionQuery.java:419)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.queryType(CsmCompletionQuery.java:347)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.CsmExpressionResolverImpl.resolveType(CsmExpressionResolverImpl.java:71)}} {{ at org.netbeans.modules.cnd.api.model.services.CsmExpressionResolver$Default.resolveType(CsmExpressionResolver.java:445)}} {{ at org.netbeans.modules.cnd.api.model.services.CsmExpressionResolver.resolveType(CsmExpressionResolver.java:179)}} {{ at org.netbeans.modules.cnd.modelimpl.csm.DeclTypeImpl.resolve(DeclTypeImpl.java:212)}} {{ at org.netbeans.modules.cnd.modelimpl.csm.DeclTypeImpl.isConst(DeclTypeImpl.java:166)}} {{ at org.netbeans.modules.cnd.modelimpl.csm.DeclTypeImpl.isConst(DeclTypeImpl.java:159)}} {{ at org.netbeans.modules.cnd.modelimpl.csm.TypeImpl.decorateText(TypeImpl.java:756)}} {{ at org.netbeans.modules.cnd.modelimpl.csm.TypeImpl.getText(TypeImpl.java:740)}} {{ at org.netbeans.modules.cnd.modelimpl.csm.Instantiation.getInstantiatedText(Instantiation.java:2765)}} {{ at org.netbeans.modules.cnd.modelimpl.impl.services.InstantiationProviderImpl.getInstantiatedText(InstantiationProviderImpl.java:471)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmResultItem.getTypeName(CsmResultItem.java:258)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmResultItem$MethodResultItem.(CsmResultItem.java:972)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmResultItem$GlobalFunctionResultItem.(CsmResultItem.java:882)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.NbCsmResultItem$NbGlobalFunctionResultItem.(NbCsmResultItem.java:176)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.NbCsmCompletionQuery$NbCsmItemFactory.createGlobalFunctionResultItem(NbCsmCompletionQuery.java:344)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.createResultItem(CsmCompletionQuery.java:4562)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.convertData(CsmCompletionQuery.java:4485)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.access$2900(CsmCompletionQuery.java:176)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$CsmCompletionResult.(CsmCompletionQuery.java:4129)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolveExp(CsmCompletionQuery.java:1950)}} {{ at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery.getResolvedContext(CsmCompletionQuery.java:884)}} {{ at
[jira] [Assigned] (NETBEANS-830) jaxb-xjc-2.2.5-2.jar license/notice
[ https://issues.apache.org/jira/browse/NETBEANS-830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing reassigned NETBEANS-830: - Assignee: Matthias Bläsing > jaxb-xjc-2.2.5-2.jar license/notice > --- > > Key: NETBEANS-830 > URL: https://issues.apache.org/jira/browse/NETBEANS-830 > Project: NetBeans > Issue Type: Bug >Reporter: Emilian Bold >Assignee: Matthias Bläsing >Priority: Major > > ./ide/modules/ext/jaxb/jaxb-xjc-2.2.5-2.jar > - contains org.kohsuke.rngom MIT licensed missing from LICENSE > Additional notes on LICENSE and NOTICE: > http://mail-archives.apache.org/mod_mbox/incubator-general/201801.mbox/%3cc4c5d5c4-ab44-4afe-ade2-9e91f593a...@classsoftware.com%3e -- 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] [Resolved] (NETBEANS-838) xerces-2.8.0.jar license/notice
[ https://issues.apache.org/jira/browse/NETBEANS-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing resolved NETBEANS-838. --- Resolution: Fixed Assignee: Matthias Bläsing Fix Version/s: 9.0 This was a visibility problem. The notice file of Xerces was already present in the beta release and I build just now from source and in both cases the information is present: {noformat} Apache Xerces Portions of this software were originally based on the following: - software copyright (c) 1999, IBM Corporation., http://www.ibm.com. - software copyright (c) 1999, Sun Microsystems., http://www.sun.com. - voluntary contributions made by Paul Eng on behalf of the Apache Software Foundation that were originally developed at iClick, Inc., software copyright (c) 1999.{noformat} master and release90 contain an improved NOTICE file generation, that seperates the bubbled up NOTICE entries from dependencies better: release90: [https://github.com/apache/incubator-netbeans/commit/00da3f37540f545a47aa56fce53e90783d7569f4] master: [https://github.com/apache/incubator-netbeans/commit/88932d010f2e7927c7b5c75040dad8e205585f49] > xerces-2.8.0.jar license/notice > --- > > Key: NETBEANS-838 > URL: https://issues.apache.org/jira/browse/NETBEANS-838 > Project: NetBeans > Issue Type: Bug >Reporter: Emilian Bold >Assignee: Matthias Bläsing >Priority: Major > Fix For: 9.0 > > > ./ide/modules/ext/xerces-2.8.0.jar > - has NOTICE that would effect NOTICE file > Additional notes on LICENSE and NOTICE: > http://mail-archives.apache.org/mod_mbox/incubator-general/201801.mbox/%3cc4c5d5c4-ab44-4afe-ade2-9e91f593a...@classsoftware.com%3e -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans] 01/01: Merge pull request #577 from lkishalmi/release90-snap
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch release90 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git commit c872db0a66882aa55f8387a23c94f7a4a662643d Merge: 557988a d904edf Author: Matthias Bläsing AuthorDate: Tue Jun 5 21:15:11 2018 +0200 Merge pull request #577 from lkishalmi/release90-snap Snap changes for 9.0 nbbuild/packaging/snap/gui/netbeans.desktop | 2 +- nbbuild/packaging/snap/snapcraft.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- To stop receiving notification emails like this one, please contact matthiasblaes...@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 release90 updated (557988a -> c872db0)
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a change to branch release90 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git. from 557988a Merge pull request #576 from matthiasblaesing/license-work-backport add d904edf Snap changes for 9.0 new c872db0 Merge pull request #577 from lkishalmi/release90-snap The 1 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: nbbuild/packaging/snap/gui/netbeans.desktop | 2 +- nbbuild/packaging/snap/snapcraft.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- To stop receiving notification emails like this one, please contact matthiasblaes...@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] [Resolved] (NETBEANS-827) commons-net-3.6.jar license/notice
[ https://issues.apache.org/jira/browse/NETBEANS-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing resolved NETBEANS-827. --- Resolution: Not A Problem Following the discussion in LEGAL-389 the inclusion of the NOTICE info from the dependencies is required/good practice. > commons-net-3.6.jar license/notice > -- > > Key: NETBEANS-827 > URL: https://issues.apache.org/jira/browse/NETBEANS-827 > Project: NetBeans > Issue Type: Bug >Reporter: Emilian Bold >Assignee: Matthias Bläsing >Priority: Major > > ./ide/modules/ext/commons-net-3.6.jar > - probably no need to include this in NOTICE as you’re done > Additional notes on LICENSE and NOTICE: > http://mail-archives.apache.org/mod_mbox/incubator-general/201801.mbox/%3cc4c5d5c4-ab44-4afe-ade2-9e91f593a...@classsoftware.com%3e -- 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] [Resolved] (NETBEANS-826) commons-compress-1.8.1.jar license/notice
[ https://issues.apache.org/jira/browse/NETBEANS-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing resolved NETBEANS-826. --- Resolution: Not A Problem Assignee: Matthias Bläsing Following the discussion in LEGAL-389 the inclusion of the NOTICE info from the dependencies is required/good practice. > commons-compress-1.8.1.jar license/notice > - > > Key: NETBEANS-826 > URL: https://issues.apache.org/jira/browse/NETBEANS-826 > Project: NetBeans > Issue Type: Bug >Reporter: Emilian Bold >Assignee: Matthias Bläsing >Priority: Major > > ./ide/modules/ext/commons-compress-1.8.1.jar > - I see the public domain “notice” has been copied from the notice file. IMO > this should be in notice but in license but is an upstream issue. > Additional notes on LICENSE and NOTICE: > http://mail-archives.apache.org/mod_mbox/incubator-general/201801.mbox/%3cc4c5d5c4-ab44-4afe-ade2-9e91f593a...@classsoftware.com%3e -- 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] [Resolved] (NETBEANS-829) ini4j-0.5.1.jar license/notice
[ https://issues.apache.org/jira/browse/NETBEANS-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Bläsing resolved NETBEANS-829. --- Resolution: Fixed Fix Version/s: 9.0 Notice file was added and changesets were merged to master and release90 > ini4j-0.5.1.jar license/notice > -- > > Key: NETBEANS-829 > URL: https://issues.apache.org/jira/browse/NETBEANS-829 > Project: NetBeans > Issue Type: Bug >Reporter: Emilian Bold >Assignee: Matthias Bläsing >Priority: Major > Labels: pull-request-available > Fix For: 9.0 > > Time Spent: 1h 50m > Remaining Estimate: 0h > > ./ide/modules/ext/ini4j-0.5.1.jar > - missing form NOTICE > Additional notes on LICENSE and NOTICE: > http://mail-archives.apache.org/mod_mbox/incubator-general/201801.mbox/%3cc4c5d5c4-ab44-4afe-ade2-9e91f593a...@classsoftware.com%3e -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans] 01/01: Merge pull request #576 from matthiasblaesing/license-work-backport
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch release90 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git commit 557988a79b5cf8d9e7536d00165643f22f4f8d7e Merge: 3a92df9 44c8583 Author: Matthias Bläsing AuthorDate: Tue Jun 5 21:01:46 2018 +0200 Merge pull request #576 from matthiasblaesing/license-work-backport Port work done to clear licenses from master to release-90 libs.ini4j/external/ini4j-0.5.1-notice.txt | 2 + maven.embedder/external/jdom-1.0-license.txt | 2 +- .../nbbuild/extlibs/CreateLicenseSummary.java | 66 +- nbbuild/build.xml | 4 +- nbbuild/licenses/{Apache-JDOM => BSD-JDOM} | 0 nbbuild/notice-stub.txt| 1 + 6 files changed, 34 insertions(+), 41 deletions(-) -- To stop receiving notification emails like this one, please contact matthiasblaes...@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 release90 updated (3a92df9 -> 557988a)
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a change to branch release90 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git. from 3a92df9 Backport to 9.0 branch: [NETBEANS-817] Preventing exceptions when opening project: (#552) add 434d548 [NETBEANS-829] Add notice file for ini4j (#560) add 00da3f3 Optimize readability of the NOTICE file add 44c8583 Renames Apache-JDOM license to BSD-JDOM. new 557988a Merge pull request #576 from matthiasblaesing/license-work-backport The 1 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: libs.ini4j/external/ini4j-0.5.1-notice.txt | 2 + maven.embedder/external/jdom-1.0-license.txt | 2 +- .../nbbuild/extlibs/CreateLicenseSummary.java | 66 +- nbbuild/build.xml | 4 +- nbbuild/licenses/{Apache-JDOM => BSD-JDOM} | 0 nbbuild/notice-stub.txt| 1 + 6 files changed, 34 insertions(+), 41 deletions(-) create mode 100644 libs.ini4j/external/ini4j-0.5.1-notice.txt rename nbbuild/licenses/{Apache-JDOM => BSD-JDOM} (100%) -- To stop receiving notification emails like this one, please contact matthiasblaes...@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] [Commented] (NETBEANS-906) nb-javac throws AssertionError compiling valid Java code involving inner classes
[ https://issues.apache.org/jira/browse/NETBEANS-906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16502285#comment-16502285 ] Jeffrey Morlan commented on NETBEANS-906: - Appears to be related to "tree.args = tree.args.prepend(makeNullCheck(tree.encl));" In JDK 8, this line of code is in Attr.visitAnonymousClassdefinition. In JDK 10, it was moved to TransTypes.visitNewClass: https://bugs.openjdk.java.net/browse/JDK-8044853 http://hg.openjdk.java.net/jdk10/master/rev/22d665f53a4a In nb-java-x, it's in both places and tree.args is getting prepended twice. > nb-javac throws AssertionError compiling valid Java code involving inner > classes > > > Key: NETBEANS-906 > URL: https://issues.apache.org/jira/browse/NETBEANS-906 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler >Affects Versions: 9.0 > Environment: OpenJDK 1.8.0_171 on Ubuntu >Reporter: Jeffrey Morlan >Priority: Major > > NetBeans 9.0 RC1 with nb-javac plugin fails to compile code like this: > public class Bug { > class A {} > static void b(Bug c) \{ c.new A(){}; } > } > It throws the following exception: > java.lang.AssertionError > at com.sun.tools.javac.util.Assert.error(Assert.java:155) > at com.sun.tools.javac.util.Assert.check(Assert.java:46) > at > com.sun.tools.javac.comp.TransTypes.translateArgs(TransTypes.java:211) > at > com.sun.tools.javac.comp.TransTypes.visitNewClass(TransTypes.java:723) > at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) > at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504) > at com.sun.tools.javac.comp.TransTypes.visitExec(TransTypes.java:655) > at > com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1458) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70) > at > com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167) > at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) > at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504) > at > com.sun.tools.javac.comp.TransTypes.visitMethodDef(TransTypes.java:539) > at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:872) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70) > at > com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:139) > at > com.sun.tools.javac.comp.TransTypes.translateClass(TransTypes.java:971) > at > com.sun.tools.javac.comp.TransTypes.visitClassDef(TransTypes.java:525) > at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778) > at > com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) > at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504) > at > com.sun.tools.javac.comp.TransTypes.translateTopLevelClass(TransTypes.java:995) > at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1653) > at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1520) > at > com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:567) > at > com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:644) > at > com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:570) -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-921) NetBeans não exporta pastas .svn(ocultas) dos projetos na exportação
Antônio Diego da LuZ silva created NETBEANS-921: --- Summary: NetBeans não exporta pastas .svn(ocultas) dos projetos na exportação Key: NETBEANS-921 URL: https://issues.apache.org/jira/browse/NETBEANS-921 Project: NetBeans Issue Type: Improvement Reporter: Antônio Diego da LuZ silva Quando eu uso a função exportar projetos do NetBeans ele não exporta às pastas ocultas e consequentemente às pastas .svn dos projetos versionados com Subversion. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-920) crash on startup when setting jdk 10 in /etc/netbeans.conf
jose luis romero created NETBEANS-920: - Summary: crash on startup when setting jdk 10 in /etc/netbeans.conf Key: NETBEANS-920 URL: https://issues.apache.org/jira/browse/NETBEANS-920 Project: NetBeans Issue Type: Bug Components: ide - Welcome Affects Versions: 9.0 Environment: windows 10 64b Reporter: jose luis romero NetBeans rc1 didn't set Java 10 as default, it took Java 8 so I added as Java Platform using the IDE and then setted in netbeans.conf netbeans_jdkhome="C:\Program Files\Java\jdk-10" -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-827) commons-net-3.6.jar license/notice
[ https://issues.apache.org/jira/browse/NETBEANS-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16502029#comment-16502029 ] Emilian Bold commented on NETBEANS-827: --- [~bdelacretaz]: We are just guessing what Justin Mclean meant. I've actually sent him a direct email inviting him to follow the JIRA issues and review or comment but so far I don't see any new users watching. We'll just go through all the issues Justin Mclean's email triggered, resolved them to the best of our knowledge and then see at the next NetBeans release if we re-open them or not. > commons-net-3.6.jar license/notice > -- > > Key: NETBEANS-827 > URL: https://issues.apache.org/jira/browse/NETBEANS-827 > Project: NetBeans > Issue Type: Bug >Reporter: Emilian Bold >Assignee: Matthias Bläsing >Priority: Major > > ./ide/modules/ext/commons-net-3.6.jar > - probably no need to include this in NOTICE as you’re done > Additional notes on LICENSE and NOTICE: > http://mail-archives.apache.org/mod_mbox/incubator-general/201801.mbox/%3cc4c5d5c4-ab44-4afe-ade2-9e91f593a...@classsoftware.com%3e -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans] branch release90 updated: Backport to 9.0 branch: [NETBEANS-817] Preventing exceptions when opening project: (#552)
This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a commit to branch release90 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git The following commit(s) were added to refs/heads/release90 by this push: new 3a92df9 Backport to 9.0 branch: [NETBEANS-817] Preventing exceptions when opening project: (#552) 3a92df9 is described below commit 3a92df98608574a1fd2a97679fe09b90e5511552 Author: Jaroslav Tulach AuthorDate: Tue Jun 5 15:23:48 2018 +0200 Backport to 9.0 branch: [NETBEANS-817] Preventing exceptions when opening project: (#552) --- .../java/api/common/classpath/ModuleClassPaths.java | 6 +++--- .../api/common/classpath/ModuleClassPathsTest.java | 20 .../modules/java/source/indexing/APTUtils.java | 2 +- .../modules/java/source/parsing/JavacParser.java | 10 ++ .../modules/java/source/parsing/JavacParserTest.java | 15 ++- 5 files changed, 44 insertions(+), 9 deletions(-) diff --git a/java.api.common/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPaths.java b/java.api.common/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPaths.java index 10c6606..65a2797 100644 --- a/java.api.common/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPaths.java +++ b/java.api.common/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPaths.java @@ -676,7 +676,7 @@ final class ModuleClassPaths { bestSoFar[1] = Boolean.TRUE; return (List) bestSoFar[0]; } -final Collection newModuleInfos = new ArrayDeque<>(); +final Collection newModuleInfos = new LinkedHashSet<>(); final List newActiveProjectSourceRoots = new ArrayList<>(); collectProjectSourceRoots(systemModules, newActiveProjectSourceRoots); collectProjectSourceRoots(userModules, newActiveProjectSourceRoots); @@ -922,9 +922,9 @@ final class ModuleClassPaths { newModuleInfos }); setCache(res); -final Collection added = new ArrayList<>(newModuleInfos); +final Collection added = new LinkedHashSet<>(newModuleInfos); added.removeAll(moduleInfos); -final Collection removed = new ArrayList<>(moduleInfos); +final Collection removed = new LinkedHashSet<>(moduleInfos); removed.removeAll(newModuleInfos); removed.stream().forEach((f) -> FileUtil.removeFileChangeListener(this, f)); added.stream().forEach((f) -> FileUtil.addFileChangeListener(this, f)); diff --git a/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPathsTest.java b/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPathsTest.java index 7414cd8..b30f824 100644 --- a/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPathsTest.java +++ b/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPathsTest.java @@ -64,6 +64,7 @@ import org.netbeans.modules.java.api.common.TestJavaPlatform; import org.netbeans.modules.java.api.common.TestProject; import org.netbeans.modules.java.api.common.project.ProjectProperties; import org.netbeans.modules.java.j2seplatform.platformdefinition.Util; +import org.netbeans.modules.java.source.BootClassPathUtil; import org.netbeans.modules.parsing.api.indexing.IndexingManager; import org.netbeans.spi.java.classpath.ClassPathFactory; import org.netbeans.spi.java.classpath.ClassPathProvider; @@ -583,6 +584,25 @@ public class ModuleClassPathsTest extends NbTestCase { collectEntries(cp)); } +public void testDuplicateSourceDirsNETBEANS_817() throws Exception { +if (systemModules == null) { +System.out.println("No jdk 9 home configured.");//NOI18N +return; +} +assertNotNull(src); +final FileObject moduleInfo = createModuleInfo(src, "Modle", "java.logging"); //NOI18N +final ClassPath cp = ClassPathFactory.createClassPath(ModuleClassPaths.createModuleInfoBasedPath( +systemModules, + org.netbeans.spi.java.classpath.support.ClassPathSupport.createProxyClassPath(src, src), +systemModules, +ClassPath.EMPTY, +null, +null)); +final Collection resURLs = collectEntries(cp); +final Collection expectedURLs = reads(systemModules, NamePredicate.create("java.logging")); //NOI18N +assertEquals(expectedURLs, resURLs); +} + private static void setSourceLevel( @NonNull final Project prj, @NonNull final String sourceLevel) throws IOException { diff --git
[jira] [Updated] (NETBEANS-817) Can't open Java modular (JPMS) projects
[ https://issues.apache.org/jira/browse/NETBEANS-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jaroslav Tulach updated NETBEANS-817: - Fix Version/s: 9.0 Somebody shall also merge https://github.com/apache/incubator-netbeans/pull/579 to make sure we get this into 9.0 release branch. > Can't open Java modular (JPMS) projects > --- > > Key: NETBEANS-817 > URL: https://issues.apache.org/jira/browse/NETBEANS-817 > Project: NetBeans > Issue Type: Bug >Affects Versions: 9.0 >Reporter: Leonardo Zanivan >Assignee: Tomas Zezula >Priority: Blocker > Labels: pull-request-available > Fix For: 9.0 > > Time Spent: 1h > Remaining Estimate: 0h > > I'm unable to open Java modular projects. > Clone the following sample project migrated to Java 10 modules and try to > open in NetBeans Dev RC1: > [https://github.com/panga/spring-petclinic/] > Info: > {noformat} > Product Version = Apache NetBeans IDE Dev (Build > incubator-netbeans-release-302-on-20180517) > Operating System = Mac OS X version 10.13.3 running on x86_64 > Java; VM; Vendor = 10; Java HotSpot(TM) 64-Bit Server VM 10+46; Oracle > Corporation > Runtime = Java(TM) SE Runtime Environment 10+46 > {noformat} > Stacktrace: > > {code:java} > java.lang.IllegalArgumentException: Already listening to > /spring-petclinic/src/main/resources/module-info.java > new listener : > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation@63ac0828 > holder listener: > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation@63ac0828 > at > org.openide.filesystems.FileChangeImpl.addFileChangeListenerImpl(FileChangeImpl.java:214) > at org.openide.filesystems.FileUtil.addFileChangeListener(FileUtil.java:271) > at > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.lambda$getResources$15(ModuleClassPaths.java:930) > at > java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1492) > at > java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) > at > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.getResources(ModuleClassPaths.java:930) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at > org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.getResources(MuxClassPathImplementation.java:90) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at org.netbeans.api.java.classpath.ClassPath.toString(ClassPath.java:769) > at org.netbeans.api.java.classpath.ClassPath.toString(ClassPath.java:838) > at org.netbeans.api.java.classpath.ClassPath.toString(ClassPath.java:848) > at > org.netbeans.modules.java.source.parsing.JavacParser.dumpSource(JavacParser.java:1158) > at > org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:646) > at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361) > at > org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:84) > at > org.netbeans.modules.maven.queries.UnitTestsCompilerOptionsQueryImpl$ResultImpl.lambda$getModuleName$2(UnitTestsCompilerOptionsQueryImpl.java:290) > 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 >
[jira] [Commented] (NETBEANS-467) maven artifacts for Apache NetBeans Platform need to be created and hosted
[ https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501729#comment-16501729 ] Geertjan Wielenga commented on NETBEANS-467: I hadn't been pushing hard on that, since I thought it would only be needed at the time we become a top level Apache project. However, we now need it much sooner than had been expected, so I have been trying to get the donation of the brand and domain done, but it's going to take an unspecified amount of long time, i.e., a lot of people involved in the process, etc, unfortunately. > maven artifacts for Apache NetBeans Platform need to be created and hosted > --- > > Key: NETBEANS-467 > URL: https://issues.apache.org/jira/browse/NETBEANS-467 > Project: NetBeans > Issue Type: Task > Components: website >Affects Versions: 9.0 >Reporter: Eric Barboni >Priority: Critical > Labels: NETBEANS-9 > > Hi (hope I did not miss mails on this topic), > During test on maven NetCAT, testers are told to create and generate > mavenized NetBeans Platform Module and Suite. > Maven archetype for Netbeans platform module [1] are linked to artefacts > stored in [2] (RELEASE 6 to 8.2) and it is also possible to use snapshot > versions from [3] > Artefacts are generated from Oracle NetBeans sources at the moment, RELEASE* > artefact were built from a specific build, SNAPSHOT artefact are refreshed > every day with no history (I suppose for space reason). > > It would be nice to recreate a workflow to regenerate maven artefacts for > the Apache NetBeans Platform from Apache NetBeans sources. > > [1][https://github.com/mojohaus/nbm-archetype/] > [2][https://bits.netbeans.org/nexus] > [3][https://bits.netbeans.org/dev/maven-snapshot/|http://bits.netbeans.org/dev/maven-snapshot/] > > > -- 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-467) maven artifacts for Apache NetBeans Platform need to be created and hosted
[ https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501726#comment-16501726 ] jmborer commented on NETBEANS-467: -- Ok ok. Not aware about all the stuff around the donation/migration. So it is a no brainer. Any idea when Oracle will actually transfer netbeans.org to the Apache Foundation, since it seems the root of the issue? > maven artifacts for Apache NetBeans Platform need to be created and hosted > --- > > Key: NETBEANS-467 > URL: https://issues.apache.org/jira/browse/NETBEANS-467 > Project: NetBeans > Issue Type: Task > Components: website >Affects Versions: 9.0 >Reporter: Eric Barboni >Priority: Critical > Labels: NETBEANS-9 > > Hi (hope I did not miss mails on this topic), > During test on maven NetCAT, testers are told to create and generate > mavenized NetBeans Platform Module and Suite. > Maven archetype for Netbeans platform module [1] are linked to artefacts > stored in [2] (RELEASE 6 to 8.2) and it is also possible to use snapshot > versions from [3] > Artefacts are generated from Oracle NetBeans sources at the moment, RELEASE* > artefact were built from a specific build, SNAPSHOT artefact are refreshed > every day with no history (I suppose for space reason). > > It would be nice to recreate a workflow to regenerate maven artefacts for > the Apache NetBeans Platform from Apache NetBeans sources. > > [1][https://github.com/mojohaus/nbm-archetype/] > [2][https://bits.netbeans.org/nexus] > [3][https://bits.netbeans.org/dev/maven-snapshot/|http://bits.netbeans.org/dev/maven-snapshot/] > > > -- 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] [Resolved] (NETBEANS-817) Can't open Java modular (JPMS) projects
[ https://issues.apache.org/jira/browse/NETBEANS-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jaroslav Tulach resolved NETBEANS-817. -- Resolution: Fixed PR has been merged. > Can't open Java modular (JPMS) projects > --- > > Key: NETBEANS-817 > URL: https://issues.apache.org/jira/browse/NETBEANS-817 > Project: NetBeans > Issue Type: Bug >Affects Versions: 9.0 >Reporter: Leonardo Zanivan >Assignee: Tomas Zezula >Priority: Blocker > Labels: pull-request-available > Time Spent: 1h > Remaining Estimate: 0h > > I'm unable to open Java modular projects. > Clone the following sample project migrated to Java 10 modules and try to > open in NetBeans Dev RC1: > [https://github.com/panga/spring-petclinic/] > Info: > {noformat} > Product Version = Apache NetBeans IDE Dev (Build > incubator-netbeans-release-302-on-20180517) > Operating System = Mac OS X version 10.13.3 running on x86_64 > Java; VM; Vendor = 10; Java HotSpot(TM) 64-Bit Server VM 10+46; Oracle > Corporation > Runtime = Java(TM) SE Runtime Environment 10+46 > {noformat} > Stacktrace: > > {code:java} > java.lang.IllegalArgumentException: Already listening to > /spring-petclinic/src/main/resources/module-info.java > new listener : > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation@63ac0828 > holder listener: > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation@63ac0828 > at > org.openide.filesystems.FileChangeImpl.addFileChangeListenerImpl(FileChangeImpl.java:214) > at org.openide.filesystems.FileUtil.addFileChangeListener(FileUtil.java:271) > at > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.lambda$getResources$15(ModuleClassPaths.java:930) > at > java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1492) > at > java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) > at > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.getResources(ModuleClassPaths.java:930) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at > org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.getResources(MuxClassPathImplementation.java:90) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at org.netbeans.api.java.classpath.ClassPath.toString(ClassPath.java:769) > at org.netbeans.api.java.classpath.ClassPath.toString(ClassPath.java:838) > at org.netbeans.api.java.classpath.ClassPath.toString(ClassPath.java:848) > at > org.netbeans.modules.java.source.parsing.JavacParser.dumpSource(JavacParser.java:1158) > at > org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:646) > at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361) > at > org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:84) > at > org.netbeans.modules.maven.queries.UnitTestsCompilerOptionsQueryImpl$ResultImpl.lambda$getModuleName$2(UnitTestsCompilerOptionsQueryImpl.java:290) > 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.maven.queries.UnitTestsCompilerOptionsQueryImpl$ResultImpl.getModuleName(UnitTestsCompilerOptionsQueryImpl.java:289) > at >
[jira] [Commented] (NETBEANS-467) maven artifacts for Apache NetBeans Platform need to be created and hosted
[ https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501713#comment-16501713 ] Geertjan Wielenga commented on NETBEANS-467: I don't understand at all. Read the proposal: https://wiki.apache.org/incubator/NetBeansProposal > maven artifacts for Apache NetBeans Platform need to be created and hosted > --- > > Key: NETBEANS-467 > URL: https://issues.apache.org/jira/browse/NETBEANS-467 > Project: NetBeans > Issue Type: Task > Components: website >Affects Versions: 9.0 >Reporter: Eric Barboni >Priority: Critical > Labels: NETBEANS-9 > > Hi (hope I did not miss mails on this topic), > During test on maven NetCAT, testers are told to create and generate > mavenized NetBeans Platform Module and Suite. > Maven archetype for Netbeans platform module [1] are linked to artefacts > stored in [2] (RELEASE 6 to 8.2) and it is also possible to use snapshot > versions from [3] > Artefacts are generated from Oracle NetBeans sources at the moment, RELEASE* > artefact were built from a specific build, SNAPSHOT artefact are refreshed > every day with no history (I suppose for space reason). > > It would be nice to recreate a workflow to regenerate maven artefacts for > the Apache NetBeans Platform from Apache NetBeans sources. > > [1][https://github.com/mojohaus/nbm-archetype/] > [2][https://bits.netbeans.org/nexus] > [3][https://bits.netbeans.org/dev/maven-snapshot/|http://bits.netbeans.org/dev/maven-snapshot/] > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-467) maven artifacts for Apache NetBeans Platform need to be created and hosted
[ https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501713#comment-16501713 ] Geertjan Wielenga edited comment on NETBEANS-467 at 6/5/18 12:50 PM: - I don't understand at all. Read the proposal: https://wiki.apache.org/incubator/NetBeansProposal It is very explicit: "Oracle owns trademark registrations for the NetBeans mark in the U.S. and EU, and would donate those, including the name "NetBeans" and the "netbeans.org" domain, to the Apache Foundation, along with other artifacts, including the U.S. copyright registrations related to NetBeans. The trademark and copyright transfers would be detailed in separate documents." was (Author: geertjanwielenga): I don't understand at all. Read the proposal: https://wiki.apache.org/incubator/NetBeansProposal > maven artifacts for Apache NetBeans Platform need to be created and hosted > --- > > Key: NETBEANS-467 > URL: https://issues.apache.org/jira/browse/NETBEANS-467 > Project: NetBeans > Issue Type: Task > Components: website >Affects Versions: 9.0 >Reporter: Eric Barboni >Priority: Critical > Labels: NETBEANS-9 > > Hi (hope I did not miss mails on this topic), > During test on maven NetCAT, testers are told to create and generate > mavenized NetBeans Platform Module and Suite. > Maven archetype for Netbeans platform module [1] are linked to artefacts > stored in [2] (RELEASE 6 to 8.2) and it is also possible to use snapshot > versions from [3] > Artefacts are generated from Oracle NetBeans sources at the moment, RELEASE* > artefact were built from a specific build, SNAPSHOT artefact are refreshed > every day with no history (I suppose for space reason). > > It would be nice to recreate a workflow to regenerate maven artefacts for > the Apache NetBeans Platform from Apache NetBeans sources. > > [1][https://github.com/mojohaus/nbm-archetype/] > [2][https://bits.netbeans.org/nexus] > [3][https://bits.netbeans.org/dev/maven-snapshot/|http://bits.netbeans.org/dev/maven-snapshot/] > > > -- 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-467) maven artifacts for Apache NetBeans Platform need to be created and hosted
[ https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501712#comment-16501712 ] jmborer commented on NETBEANS-467: -- Well it depends. If Oracle committed or agreed to donate netbeans.org to the community, then it is almost a matter of time. If not, then there will be an issue anyway and then the real question becomes: shall netbeans still remain netbeans or get a new birth name hosted at apache: netbeans.apache.org... > maven artifacts for Apache NetBeans Platform need to be created and hosted > --- > > Key: NETBEANS-467 > URL: https://issues.apache.org/jira/browse/NETBEANS-467 > Project: NetBeans > Issue Type: Task > Components: website >Affects Versions: 9.0 >Reporter: Eric Barboni >Priority: Critical > Labels: NETBEANS-9 > > Hi (hope I did not miss mails on this topic), > During test on maven NetCAT, testers are told to create and generate > mavenized NetBeans Platform Module and Suite. > Maven archetype for Netbeans platform module [1] are linked to artefacts > stored in [2] (RELEASE 6 to 8.2) and it is also possible to use snapshot > versions from [3] > Artefacts are generated from Oracle NetBeans sources at the moment, RELEASE* > artefact were built from a specific build, SNAPSHOT artefact are refreshed > every day with no history (I suppose for space reason). > > It would be nice to recreate a workflow to regenerate maven artefacts for > the Apache NetBeans Platform from Apache NetBeans sources. > > [1][https://github.com/mojohaus/nbm-archetype/] > [2][https://bits.netbeans.org/nexus] > [3][https://bits.netbeans.org/dev/maven-snapshot/|http://bits.netbeans.org/dev/maven-snapshot/] > > > -- 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-817) Can't open Java modular (JPMS) projects
[ https://issues.apache.org/jira/browse/NETBEANS-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501702#comment-16501702 ] Geertjan Wielenga commented on NETBEANS-817: The related PR has been merged, can we resolve this issue? > Can't open Java modular (JPMS) projects > --- > > Key: NETBEANS-817 > URL: https://issues.apache.org/jira/browse/NETBEANS-817 > Project: NetBeans > Issue Type: Bug >Affects Versions: 9.0 >Reporter: Leonardo Zanivan >Assignee: Tomas Zezula >Priority: Blocker > Labels: pull-request-available > Time Spent: 1h > Remaining Estimate: 0h > > I'm unable to open Java modular projects. > Clone the following sample project migrated to Java 10 modules and try to > open in NetBeans Dev RC1: > [https://github.com/panga/spring-petclinic/] > Info: > {noformat} > Product Version = Apache NetBeans IDE Dev (Build > incubator-netbeans-release-302-on-20180517) > Operating System = Mac OS X version 10.13.3 running on x86_64 > Java; VM; Vendor = 10; Java HotSpot(TM) 64-Bit Server VM 10+46; Oracle > Corporation > Runtime = Java(TM) SE Runtime Environment 10+46 > {noformat} > Stacktrace: > > {code:java} > java.lang.IllegalArgumentException: Already listening to > /spring-petclinic/src/main/resources/module-info.java > new listener : > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation@63ac0828 > holder listener: > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation@63ac0828 > at > org.openide.filesystems.FileChangeImpl.addFileChangeListenerImpl(FileChangeImpl.java:214) > at org.openide.filesystems.FileUtil.addFileChangeListener(FileUtil.java:271) > at > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.lambda$getResources$15(ModuleClassPaths.java:930) > at > java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1492) > at > java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) > at > org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.getResources(ModuleClassPaths.java:930) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at > org.netbeans.spi.java.classpath.support.MuxClassPathImplementation.getResources(MuxClassPathImplementation.java:90) > at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363) > at org.netbeans.api.java.classpath.ClassPath.toString(ClassPath.java:769) > at org.netbeans.api.java.classpath.ClassPath.toString(ClassPath.java:838) > at org.netbeans.api.java.classpath.ClassPath.toString(ClassPath.java:848) > at > org.netbeans.modules.java.source.parsing.JavacParser.dumpSource(JavacParser.java:1158) > at > org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:646) > at > org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361) > at > org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:84) > at > org.netbeans.modules.maven.queries.UnitTestsCompilerOptionsQueryImpl$ResultImpl.lambda$getModuleName$2(UnitTestsCompilerOptionsQueryImpl.java:290) > 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.maven.queries.UnitTestsCompilerOptionsQueryImpl$ResultImpl.getModuleName(UnitTestsCompilerOptionsQueryImpl.java:289) > at >
[jira] [Commented] (NETBEANS-876) Update release 9.0 branding
[ https://issues.apache.org/jira/browse/NETBEANS-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501704#comment-16501704 ] Emilian Bold commented on NETBEANS-876: --- > user and cache directories to .netbeans/9.0 and .cache/netbeans/9.0 Doesn't NetBeans automatically set up the cache / user dirs depending on major version somehow? I know I have various 8.x folders (and dev/) around. So all we have to do is just set-up the new 9.0 folder. We don't have to change any other logic wrt Linux and where to place it, etc. > Update release 9.0 branding > --- > > Key: NETBEANS-876 > URL: https://issues.apache.org/jira/browse/NETBEANS-876 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 9.0 >Reporter: Jiří Kovalský >Priority: Blocker > > In order to build Apache NetBeans IDE 9.0 release candidate we need to update: > # name to *Apache NetBeans IDE 9.0* > # URLs to update centers from _{color:#f79232}updates.netbeans.org{color}_ > to {color:#f79232}_netbeans.apache.org_{color} > # splash screen > # user and cache directories to _{color:#f79232}.netbeans/9.0{color}_ and > _{color:#f79232}.cache/netbeans/9.0{color}_ > # Remove assertions {{-J-ea}} from the {{netbeans.conf}} -- 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-467) maven artifacts for Apache NetBeans Platform need to be created and hosted
[ https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501674#comment-16501674 ] Geertjan Wielenga commented on NETBEANS-467: Yes, of course. But the reason is simple, we want to use 'org.netbeans' in Maven archetypes, which we cannot do until the 'org.netbeans' domain belongs to Apache... or how else do you see it? > maven artifacts for Apache NetBeans Platform need to be created and hosted > --- > > Key: NETBEANS-467 > URL: https://issues.apache.org/jira/browse/NETBEANS-467 > Project: NetBeans > Issue Type: Task > Components: website >Affects Versions: 9.0 >Reporter: Eric Barboni >Priority: Critical > Labels: NETBEANS-9 > > Hi (hope I did not miss mails on this topic), > During test on maven NetCAT, testers are told to create and generate > mavenized NetBeans Platform Module and Suite. > Maven archetype for Netbeans platform module [1] are linked to artefacts > stored in [2] (RELEASE 6 to 8.2) and it is also possible to use snapshot > versions from [3] > Artefacts are generated from Oracle NetBeans sources at the moment, RELEASE* > artefact were built from a specific build, SNAPSHOT artefact are refreshed > every day with no history (I suppose for space reason). > > It would be nice to recreate a workflow to regenerate maven artefacts for > the Apache NetBeans Platform from Apache NetBeans sources. > > [1][https://github.com/mojohaus/nbm-archetype/] > [2][https://bits.netbeans.org/nexus] > [3][https://bits.netbeans.org/dev/maven-snapshot/|http://bits.netbeans.org/dev/maven-snapshot/] > > > -- 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-467) maven artifacts for Apache NetBeans Platform need to be created and hosted
[ https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501668#comment-16501668 ] jmborer commented on NETBEANS-467: -- I don't want NB 9.0 to be blocked, but why isn't it possible to rebuild the artifacts from the source code (I don't care about the C++ modules to build my platform based application). However as long as no NB 9.0 artifacts can be used, I won't be able to migrate to Java 9 and NB 9.0 which might become a big issue next year. Be careful, if this action is postponed for too long, this will not help acceptance and adoption for NB platform in the future... > maven artifacts for Apache NetBeans Platform need to be created and hosted > --- > > Key: NETBEANS-467 > URL: https://issues.apache.org/jira/browse/NETBEANS-467 > Project: NetBeans > Issue Type: Task > Components: website >Affects Versions: 9.0 >Reporter: Eric Barboni >Priority: Critical > Labels: NETBEANS-9 > > Hi (hope I did not miss mails on this topic), > During test on maven NetCAT, testers are told to create and generate > mavenized NetBeans Platform Module and Suite. > Maven archetype for Netbeans platform module [1] are linked to artefacts > stored in [2] (RELEASE 6 to 8.2) and it is also possible to use snapshot > versions from [3] > Artefacts are generated from Oracle NetBeans sources at the moment, RELEASE* > artefact were built from a specific build, SNAPSHOT artefact are refreshed > every day with no history (I suppose for space reason). > > It would be nice to recreate a workflow to regenerate maven artefacts for > the Apache NetBeans Platform from Apache NetBeans sources. > > [1][https://github.com/mojohaus/nbm-archetype/] > [2][https://bits.netbeans.org/nexus] > [3][https://bits.netbeans.org/dev/maven-snapshot/|http://bits.netbeans.org/dev/maven-snapshot/] > > > -- 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-467) maven artifacts for Apache NetBeans Platform need to be created and hosted
[ https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501654#comment-16501654 ] Jaroslav Tulach commented on NETBEANS-467: -- I agree, we shouldn't block 9.0 with this issue. > maven artifacts for Apache NetBeans Platform need to be created and hosted > --- > > Key: NETBEANS-467 > URL: https://issues.apache.org/jira/browse/NETBEANS-467 > Project: NetBeans > Issue Type: Task > Components: website >Affects Versions: 9.0 >Reporter: Eric Barboni >Priority: Critical > Labels: NETBEANS-9 > > Hi (hope I did not miss mails on this topic), > During test on maven NetCAT, testers are told to create and generate > mavenized NetBeans Platform Module and Suite. > Maven archetype for Netbeans platform module [1] are linked to artefacts > stored in [2] (RELEASE 6 to 8.2) and it is also possible to use snapshot > versions from [3] > Artefacts are generated from Oracle NetBeans sources at the moment, RELEASE* > artefact were built from a specific build, SNAPSHOT artefact are refreshed > every day with no history (I suppose for space reason). > > It would be nice to recreate a workflow to regenerate maven artefacts for > the Apache NetBeans Platform from Apache NetBeans sources. > > [1][https://github.com/mojohaus/nbm-archetype/] > [2][https://bits.netbeans.org/nexus] > [3][https://bits.netbeans.org/dev/maven-snapshot/|http://bits.netbeans.org/dev/maven-snapshot/] > > > -- 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-467) maven artifacts for Apache NetBeans Platform need to be created and hosted
[ https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jaroslav Tulach updated NETBEANS-467: - Priority: Critical (was: Blocker) > maven artifacts for Apache NetBeans Platform need to be created and hosted > --- > > Key: NETBEANS-467 > URL: https://issues.apache.org/jira/browse/NETBEANS-467 > Project: NetBeans > Issue Type: Task > Components: website >Affects Versions: 9.0 >Reporter: Eric Barboni >Priority: Critical > Labels: NETBEANS-9 > > Hi (hope I did not miss mails on this topic), > During test on maven NetCAT, testers are told to create and generate > mavenized NetBeans Platform Module and Suite. > Maven archetype for Netbeans platform module [1] are linked to artefacts > stored in [2] (RELEASE 6 to 8.2) and it is also possible to use snapshot > versions from [3] > Artefacts are generated from Oracle NetBeans sources at the moment, RELEASE* > artefact were built from a specific build, SNAPSHOT artefact are refreshed > every day with no history (I suppose for space reason). > > It would be nice to recreate a workflow to regenerate maven artefacts for > the Apache NetBeans Platform from Apache NetBeans sources. > > [1][https://github.com/mojohaus/nbm-archetype/] > [2][https://bits.netbeans.org/nexus] > [3][https://bits.netbeans.org/dev/maven-snapshot/|http://bits.netbeans.org/dev/maven-snapshot/] > > > -- 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-467) maven artifacts for Apache NetBeans Platform need to be created and hosted
[ https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501628#comment-16501628 ] Geertjan Wielenga commented on NETBEANS-467: This cannot be a blocker for the Apache NetBeans 9.0 release because for this to be resolved we need to have donated org.netbeans domain to Apache, which we haven't done yet, is in process, and will not be done in time for this release. > maven artifacts for Apache NetBeans Platform need to be created and hosted > --- > > Key: NETBEANS-467 > URL: https://issues.apache.org/jira/browse/NETBEANS-467 > Project: NetBeans > Issue Type: Task > Components: website >Affects Versions: 9.0 >Reporter: Eric Barboni >Priority: Blocker > Labels: NETBEANS-9 > > Hi (hope I did not miss mails on this topic), > During test on maven NetCAT, testers are told to create and generate > mavenized NetBeans Platform Module and Suite. > Maven archetype for Netbeans platform module [1] are linked to artefacts > stored in [2] (RELEASE 6 to 8.2) and it is also possible to use snapshot > versions from [3] > Artefacts are generated from Oracle NetBeans sources at the moment, RELEASE* > artefact were built from a specific build, SNAPSHOT artefact are refreshed > every day with no history (I suppose for space reason). > > It would be nice to recreate a workflow to regenerate maven artefacts for > the Apache NetBeans Platform from Apache NetBeans sources. > > [1][https://github.com/mojohaus/nbm-archetype/] > [2][https://bits.netbeans.org/nexus] > [3][https://bits.netbeans.org/dev/maven-snapshot/|http://bits.netbeans.org/dev/maven-snapshot/] > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[incubator-netbeans] branch master updated: [NETBEANS-817] Preventing exceptions when opening project: (#552)
This is an automated email from the ASF dual-hosted git repository. geertjan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git The following commit(s) were added to refs/heads/master by this push: new 9295f7b [NETBEANS-817] Preventing exceptions when opening project: (#552) 9295f7b is described below commit 9295f7b096dad387bfd2ce5656d81ae32e9f1ec3 Author: Jan Lahoda AuthorDate: Tue Jun 5 13:38:29 2018 +0200 [NETBEANS-817] Preventing exceptions when opening project: (#552) -accepting duplicate ClassPath entries with module-infos -filtering out options that don't match the validated source level --- .../java/api/common/classpath/ModuleClassPaths.java | 6 +++--- .../api/common/classpath/ModuleClassPathsTest.java | 20 .../modules/java/source/indexing/APTUtils.java | 2 +- .../modules/java/source/parsing/JavacParser.java | 10 ++ .../modules/java/source/parsing/JavacParserTest.java | 15 ++- 5 files changed, 44 insertions(+), 9 deletions(-) diff --git a/java.api.common/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPaths.java b/java.api.common/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPaths.java index 10c6606..65a2797 100644 --- a/java.api.common/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPaths.java +++ b/java.api.common/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPaths.java @@ -676,7 +676,7 @@ final class ModuleClassPaths { bestSoFar[1] = Boolean.TRUE; return (List) bestSoFar[0]; } -final Collection newModuleInfos = new ArrayDeque<>(); +final Collection newModuleInfos = new LinkedHashSet<>(); final List newActiveProjectSourceRoots = new ArrayList<>(); collectProjectSourceRoots(systemModules, newActiveProjectSourceRoots); collectProjectSourceRoots(userModules, newActiveProjectSourceRoots); @@ -922,9 +922,9 @@ final class ModuleClassPaths { newModuleInfos }); setCache(res); -final Collection added = new ArrayList<>(newModuleInfos); +final Collection added = new LinkedHashSet<>(newModuleInfos); added.removeAll(moduleInfos); -final Collection removed = new ArrayList<>(moduleInfos); +final Collection removed = new LinkedHashSet<>(moduleInfos); removed.removeAll(newModuleInfos); removed.stream().forEach((f) -> FileUtil.removeFileChangeListener(this, f)); added.stream().forEach((f) -> FileUtil.addFileChangeListener(this, f)); diff --git a/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPathsTest.java b/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPathsTest.java index 7414cd8..b30f824 100644 --- a/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPathsTest.java +++ b/java.api.common/test/unit/src/org/netbeans/modules/java/api/common/classpath/ModuleClassPathsTest.java @@ -64,6 +64,7 @@ import org.netbeans.modules.java.api.common.TestJavaPlatform; import org.netbeans.modules.java.api.common.TestProject; import org.netbeans.modules.java.api.common.project.ProjectProperties; import org.netbeans.modules.java.j2seplatform.platformdefinition.Util; +import org.netbeans.modules.java.source.BootClassPathUtil; import org.netbeans.modules.parsing.api.indexing.IndexingManager; import org.netbeans.spi.java.classpath.ClassPathFactory; import org.netbeans.spi.java.classpath.ClassPathProvider; @@ -583,6 +584,25 @@ public class ModuleClassPathsTest extends NbTestCase { collectEntries(cp)); } +public void testDuplicateSourceDirsNETBEANS_817() throws Exception { +if (systemModules == null) { +System.out.println("No jdk 9 home configured.");//NOI18N +return; +} +assertNotNull(src); +final FileObject moduleInfo = createModuleInfo(src, "Modle", "java.logging"); //NOI18N +final ClassPath cp = ClassPathFactory.createClassPath(ModuleClassPaths.createModuleInfoBasedPath( +systemModules, + org.netbeans.spi.java.classpath.support.ClassPathSupport.createProxyClassPath(src, src), +systemModules, +ClassPath.EMPTY, +null, +null)); +final Collection resURLs = collectEntries(cp); +final Collection expectedURLs = reads(systemModules, NamePredicate.create("java.logging")); //NOI18N +assertEquals(expectedURLs, resURLs); +} + private static void setSourceLevel( @NonNull final Project prj, @NonNull final
[incubator-netbeans] branch master updated: [NETBEANS-851] Update About box text
This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git The following commit(s) were added to refs/heads/master by this push: new dcef14b [NETBEANS-851] Update About box text dcef14b is described below commit dcef14bd6664a50aa862595d1427e7ae5f054469 Author: Geertjan Wielenga AuthorDate: Tue Jun 5 13:35:32 2018 +0200 [NETBEANS-851] Update About box text --- o.n.core/src/org/netbeans/core/ui/Bundle.properties | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/o.n.core/src/org/netbeans/core/ui/Bundle.properties b/o.n.core/src/org/netbeans/core/ui/Bundle.properties index bf33c08..b233bd7 100644 --- a/o.n.core/src/org/netbeans/core/ui/Bundle.properties +++ b/o.n.core/src/org/netbeans/core/ui/Bundle.properties @@ -17,9 +17,10 @@ # Product Information panel LBL_Copyright=\ -NetBeans IDE and NetBeans Platform are based on software from Apache Software Foundation \ +NetBeans IDE and NetBeans Platform are based on Apache NetBeans from the Apache Software Foundation \ and is licensed under https://www.apache.org/licenses/LICENSE-2.0;>\ -Apache License Version 2.0. For more information, please visit \ +Apache License Version 2.0. Apache NetBeans is currently undergoing \ +Incubation at the Apache Software Foundation. For more information, please visit \ https://netbeans.apache.org/;>netbeans.apache.org. LBL_AddOnCopyright=\ {0} -- To stop receiving notification emails like this one, please contact jlah...@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] 01/01: #578: Allow 9.0 version recognize nested clusters module layout
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch release90 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git commit 6ac81a7c405e0911a96320ade232f3e49189eb0c Merge: 6f670e8 b46fdae Author: Jaroslav Tulach AuthorDate: Tue Jun 5 13:14:14 2018 +0200 #578: Allow 9.0 version recognize nested clusters module layout .../apisupport/project/universe/ModuleList.java| 44 +++--- 1 file changed, 38 insertions(+), 6 deletions(-) -- To stop receiving notification emails like this one, please contact jtul...@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 release90 updated (6f670e8 -> 6ac81a7)
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a change to branch release90 in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git. from 6f670e8 Updating update centers for NB 9.0 add b46fdae Backport of apisupport part of a979899a to allow 9.0 version recognize nested clusters module layout new 6ac81a7 #578: Allow 9.0 version recognize nested clusters module layout The 1 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: .../apisupport/project/universe/ModuleList.java| 44 +++--- 1 file changed, 38 insertions(+), 6 deletions(-) -- To stop receiving notification emails like this one, please contact jtul...@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 (1a21180 -> 24235bf)
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/incubator-netbeans.git. from 1a21180 Merge pull request #549 from rtaneja1/rtaneja/netbeans-716 add a979899 Allow modules to be located in cluster.dir/cnb structure new 24235bf #564: Allow modules to be located in cluster.dir/cnb structure The 1 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: .../apisupport/project/universe/ModuleList.java| 44 ++-- .../antsrc/org/netbeans/nbbuild/GetModuleName.java | 25 +-- .../netbeans/nbbuild/InsertModuleAllTargets.java | 18 +++-- .../org/netbeans/nbbuild/ModuleListParser.java | 65 +++--- .../antsrc/org/netbeans/nbbuild/ResolveList.java | 69 +++ .../antsrc/org/netbeans/nbbuild/SetCluster.java| 80 +- nbbuild/build.xml | 8 +-- nbbuild/default.xml| 4 +- 8 files changed, 226 insertions(+), 87 deletions(-) -- To stop receiving notification emails like this one, please contact jtul...@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] 01/01: #564: Allow modules to be located in cluster.dir/cnb structure
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/incubator-netbeans.git commit 24235bf8ff328c7217d959adee655bc7170f631b Merge: 1a21180 a979899 Author: Jaroslav Tulach AuthorDate: Tue Jun 5 11:50:07 2018 +0200 #564: Allow modules to be located in cluster.dir/cnb structure .../apisupport/project/universe/ModuleList.java| 44 ++-- .../antsrc/org/netbeans/nbbuild/GetModuleName.java | 25 +-- .../netbeans/nbbuild/InsertModuleAllTargets.java | 18 +++-- .../org/netbeans/nbbuild/ModuleListParser.java | 65 +++--- .../antsrc/org/netbeans/nbbuild/ResolveList.java | 69 +++ .../antsrc/org/netbeans/nbbuild/SetCluster.java| 80 +- nbbuild/build.xml | 8 +-- nbbuild/default.xml| 4 +- 8 files changed, 226 insertions(+), 87 deletions(-) -- To stop receiving notification emails like this one, please contact jtul...@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] [Commented] (NETBEANS-887) IDE freezes during runtime
[ https://issues.apache.org/jira/browse/NETBEANS-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501378#comment-16501378 ] Olimpia Popica commented on NETBEANS-887: - In the description of the issue I removed the home directory from the path. In the log files, the path is complete. I do use an antivirus (sophos). > IDE freezes during runtime > -- > > Key: NETBEANS-887 > URL: https://issues.apache.org/jira/browse/NETBEANS-887 > Project: NetBeans > Issue Type: Bug > Components: editor - Actions/Menu/Toolbar >Affects Versions: 8.2 >Reporter: Olimpia Popica >Priority: Major > Labels: usability, windows > Attachments: log_jcmd_20180604_01.txt, messages -1_20180604.log, > messages.log, messages.log.1, messages.log.2, uigestures, uigestures.1, > uigestures_20180604 > > > Some weeks ago I installed Netbeans 8.2 on a Windows 10 computer. > As soon as I opened the IDE and I tried to open an existing project, it froze > completely. The only way I could stop it was by killing its process. > The freezing happens very often, mostly during run-time, while writing code > (in this case, the not saved code is lost), but also when trying to create a > new project (File -> New Project). > > *System Info:* > Product Version = NetBeans IDE 8.2 (Build 201609300101) (#5fd841261bf9) > Operating System = Windows 10 version 10.0 running on amd64 > Java; VM; Vendor = 1.8.0_171; Java HotSpot(TM) 64-Bit Server VM 25.171-b11; > Oracle Corporation > Runtime = Java(TM) SE Runtime Environment 1.8.0_171-b11 > Java Home = C:\Program Files\Java\jdk1.8.0_171\jre > System Locale; Encoding = en_US (nb); Cp1252 > Current Directory = C:\Program Files\NetBeans 8.2 > User Directory = \AppData\Roaming\NetBeans\8.2 > Cache Directory = \AppData\Local\NetBeans\Cache\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] [Commented] (NETBEANS-330) NetBeans 9.0 UC hosted on Apache infra
[ https://issues.apache.org/jira/browse/NETBEANS-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16501362#comment-16501362 ] Jiří Kovalský commented on NETBEANS-330: As replied on the dev mailing list, we do not track concrete users and sending usage data from Gestures Collector is opt-in already. > NetBeans 9.0 UC hosted on Apache infra > -- > > Key: NETBEANS-330 > URL: https://issues.apache.org/jira/browse/NETBEANS-330 > Project: NetBeans > Issue Type: Task > Components: website >Affects Versions: 9.0 >Reporter: Jiří Kovalský >Assignee: Jiří Kovalský >Priority: Blocker > Labels: NETBEANS-9 > > In order to keep measuring number of NetBeans active users also in the future > we need to create an update center similar to 8.2 NetBeans Distribution UC > [1] which will be hosted on Apache infrastructure and register it in the > NetBeans 9.0 FCS build. We are measuring this statistics since 2004 and > stopping it now is not an option hence this is a blocker bug for 9.0 release. > [1] > [http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz] > (for the uninitiated: UC == Update Center) -- 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