You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by mb...@apache.org on 2023/02/24 13:14:32 UTC
[netbeans] branch master updated: Update MavenCommandLineExecutor.java
This is an automated email from the ASF dual-hosted git repository.
mbien 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 85023e3e9f Update MavenCommandLineExecutor.java
new 6e101fcd43 Merge pull request #5548 from graben/patch-1
85023e3e9f is described below
commit 85023e3e9fbbd394ad5eb7130f4982ff5f18f146
Author: Benjamin Graf <be...@gmx.net>
AuthorDate: Wed Feb 22 21:04:23 2023 +0100
Update MavenCommandLineExecutor.java
---
.../netbeans/modules/maven/execute/MavenCommandLineExecutor.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/java/maven/src/org/netbeans/modules/maven/execute/MavenCommandLineExecutor.java b/java/maven/src/org/netbeans/modules/maven/execute/MavenCommandLineExecutor.java
index d6dafe18fc..286b478664 100644
--- a/java/maven/src/org/netbeans/modules/maven/execute/MavenCommandLineExecutor.java
+++ b/java/maven/src/org/netbeans/modules/maven/execute/MavenCommandLineExecutor.java
@@ -141,7 +141,7 @@ public class MavenCommandLineExecutor extends AbstractMavenExecutor {
private String processUUID;
private Process preProcess;
private String preProcessUUID;
- private static final SpecificationVersion VER17 = new SpecificationVersion("1.7"); //NOI18N
+ private static final SpecificationVersion VER18 = new SpecificationVersion("1.8"); //NOI18N
private static final Logger LOGGER = Logger.getLogger(MavenCommandLineExecutor.class.getName());
private static final RequestProcessor RP = new RequestProcessor(MavenCommandLineExecutor.class.getName(),1);
@@ -397,11 +397,11 @@ public class MavenCommandLineExecutor extends AbstractMavenExecutor {
}
private boolean isEventSpyCompatible(final BeanRunConfig clonedConfig) {
- // EventSpy cannot work on jdk < 7
+ // EventSpy cannot work on jdk < 8
if (clonedConfig.getProject() != null) {
ActiveJ2SEPlatformProvider javaprov = clonedConfig.getProject().getLookup().lookup(ActiveJ2SEPlatformProvider.class);
JavaPlatform platform = javaprov.getJavaPlatform();
- return (platform.getSpecification().getVersion().compareTo(VER17) >= 0);
+ return (platform.getSpecification().getVersion().compareTo(VER18) >= 0);
} else {
return true;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists