mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] Update cmd line proxy builder message to Java 8
Changes the version check to check for Java 8 compatability after the class file format version was increased. Also adds an additional workaround to the error message. #IDEA-374134 GitOrigin-RevId: 818d7c8e54e431648b5a170e97486bf1fec255ba
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d432e0b42f
commit
31af1cadd9
@@ -35,8 +35,8 @@ public final class ProcessProxyFactoryImpl extends ProcessProxyFactory {
|
||||
ProcessProxyImpl proxy = new ProcessProxyImpl(StringUtil.getShortName(mainClass));
|
||||
String port = String.valueOf(proxy.getPortNumber());
|
||||
JavaSdkVersion jdkVersion = JavaSdkVersionUtil.getJavaSdkVersion(javaParameters.getJdk());
|
||||
if (jdkVersion != null && !jdkVersion.isAtLeast(JavaSdkVersion.JDK_1_7)) {
|
||||
throw new ExecutionException(JavaBundle.message("error.message.ide.does.not.support.starting.processes.using.old.java",
|
||||
if (jdkVersion != null && !jdkVersion.isAtLeast(JavaSdkVersion.JDK_1_8)) {
|
||||
throw new ExecutionException(JavaBundle.message("error.message.ide.does.not.support.starting.processes.using.old.java.app",
|
||||
jdkVersion.getDescription()));
|
||||
}
|
||||
|
||||
|
||||
@@ -1845,8 +1845,10 @@ introduce.parameter.advertisement.text=Press {0} to delegate via overloading met
|
||||
progress.title.collect.method.overriders=Collect method overriders\u2026
|
||||
remove.var.keyword.text=Remove 'var'
|
||||
|
||||
error.message.ide.does.not.support.starting.processes.using.old.java=IDE doesn''t support starting Java processes using Java {0}, \
|
||||
the minimum supported version is 1.7. Change the run configuration to use a newer Java version.
|
||||
error.message.ide.does.not.support.starting.processes.using.old.java.app=IDE doesn''t support starting Java processes using Java {0}, \
|
||||
the minimum supported version is Java 8. To solve this, either: \n * Change the run configuration to use a newer Java version. \n \
|
||||
* Set the `idea.no.launcher` system property to `true` to disable the IntelliJ launcher (additional features like `soft exit` will stop \
|
||||
working).
|
||||
|
||||
intention.family.name.upgrade.jdk=Upgrade JDK
|
||||
intention.name.upgrade.jdk.to=Upgrade JDK to {0}+
|
||||
|
||||
Reference in New Issue
Block a user