We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 517a34f commit fc35c34Copy full SHA for fc35c34
src/java.base/unix/classes/java/lang/ProcessImpl.java
@@ -97,6 +97,14 @@ private static LaunchMechanism launchMechanism() {
97
98
try {
99
// Should be value of a LaunchMechanism enum
100
+ String launchMechanism = s.toUpperCase(Locale.ROOT);
101
+ if (s.equals("VFORK") && OperatingSystem.isLinux()) {
102
+ System.err.println("""
103
+ The VFORK launch mechanism has been removed. Please either remove the
104
+ jdk.lang.Process.launchMechanism property (preferred) or use FORK mode
105
+ instead (-Djdk.lang.Process.launchMechanism=FORK).
106
+ """);
107
+ }
108
return LaunchMechanism.valueOf(s.toUpperCase(Locale.ROOT));
109
} catch (IllegalArgumentException e) {
110
}
0 commit comments