mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
disable classpath file shortener for java 9+ (IDEA-195937)
This commit is contained in:
@@ -26,7 +26,12 @@ import org.jetbrains.annotations.NotNull;
|
||||
public enum ShortenCommandLine {
|
||||
NONE("none", "java [options] classname [args]"),
|
||||
MANIFEST("JAR manifest", "java -cp classpath.jar classname [args]"),
|
||||
CLASSPATH_FILE("classpath file", "java WrapperClass classpathFile [args]"),
|
||||
CLASSPATH_FILE("classpath file", "java WrapperClass classpathFile [args]"){
|
||||
@Override
|
||||
public boolean isApplicable(String jreRoot) {
|
||||
return jreRoot == null || !JdkUtil.isModularRuntime(jreRoot);
|
||||
}
|
||||
},
|
||||
ARGS_FILE("@argFiles (java 9+)", "java @argFile [args]") {
|
||||
@Override
|
||||
public boolean isApplicable(String jreRoot) {
|
||||
|
||||
Reference in New Issue
Block a user