neilcsmith-net commented on code in PR #5091:
URL: https://github.com/apache/netbeans/pull/5091#discussion_r1046109466
##########
java/maven/src/org/netbeans/modules/maven/api/output/OutputUtils.java:
##########
@@ -241,7 +244,8 @@ public ProjectStacktraceOutputListener(Project project) {
protected ClassPath getClassPath() {
Project prj = ref.get();
if(prj != null) {
- ClassPath[] cp =
prj.getLookup().lookup(ProjectSourcesClassPathProvider.class).getProjectClassPaths(ClassPath.EXECUTE);
+ ProjectSourcesClassPathProvider provider =
prj.getLookup().lookup(ProjectSourcesClassPathProvider.class);
+ ClassPath[] cp = provider.getProjectClassPaths(ClassPath.BOOT);
Review Comment:
Are you sure that still works for anything _not_ in the JDK? I would expect
to have `ClassPath.BOOT` added to `ClassPath.EXECUTE` in there?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists