--- a/src/java.base/unix/native/libjli/java_md_solinux.c Tue Sep 24 08:54:39 2019 +0200
+++ b/src/java.base/unix/native/libjli/java_md_solinux.c Fri Sep 20 10:28:48 2019 +0200
@@ -790,16 +790,6 @@
/* Coarse estimation of number of digits assuming the worst case is a 64-bit pid. */
#define MAX_PID_STR_SZ 20
-void SetJavaLauncherPlatformProps() {
- /* Linux only */
-#ifdef __linux__
- const char *substr = "-Dsun.java.launcher.pid=";
- char *pid_prop_str = (char *)JLI_MemAlloc(JLI_StrLen(substr) + MAX_PID_STR_SZ + 1);
- sprintf(pid_prop_str, "%s%d", substr, getpid());
- AddOption(pid_prop_str, NULL);
-#endif /* __linux__ */
-}
-
int
JVMInit(InvocationFunctions* ifn, jlong threadStackSize,
int argc, char **argv,