diff --git a/platform/o.n.bootstrap/launcher/windows/platformlauncher.cpp b/platform/o.n.bootstrap/launcher/windows/platformlauncher.cpp index 33bf8ee83ec2..4a007bfe61e6 100644 --- a/platform/o.n.bootstrap/launcher/windows/platformlauncher.cpp +++ b/platform/o.n.bootstrap/launcher/windows/platformlauncher.cpp @@ -52,7 +52,6 @@ const char *PlatformLauncher::OPT_NB_USERDIR = "-Dnetbeans.user="; const char *PlatformLauncher::OPT_DEFAULT_USERDIR_ROOT = "-Dnetbeans.default_userdir_root="; const char *PlatformLauncher::OPT_HEAP_DUMP = "-XX:+HeapDumpOnOutOfMemoryError"; const char *PlatformLauncher::OPT_HEAP_DUMP_PATH = "-XX:HeapDumpPath="; -const char *PlatformLauncher::OPT_JAVA_SECURITY_MANAGER_ALLOW = "-Djava.security.manager=allow"; const char *PlatformLauncher::OPT_KEEP_WORKING_SET_ON_MINIMIZE = "-Dsun.awt.keepWorkingSetOnMinimize=true"; const char *PlatformLauncher::OPT_CLASS_PATH = "-Djava.class.path="; const char *PlatformLauncher::OPT_SPLASH = "-splash:"; @@ -579,8 +578,6 @@ void PlatformLauncher::prepareOptions() { option = OPT_KEEP_WORKING_SET_ON_MINIMIZE; javaOptions.push_back(option); - option = OPT_JAVA_SECURITY_MANAGER_ALLOW; - javaOptions.push_back(option); } string & PlatformLauncher::constructClassPath(bool runUpdater) { diff --git a/platform/o.n.bootstrap/launcher/windows/platformlauncher.h b/platform/o.n.bootstrap/launcher/windows/platformlauncher.h index ac3e7be4b706..07fe4d8da159 100644 --- a/platform/o.n.bootstrap/launcher/windows/platformlauncher.h +++ b/platform/o.n.bootstrap/launcher/windows/platformlauncher.h @@ -42,7 +42,6 @@ class PlatformLauncher { static const char *OPT_DEFAULT_USERDIR_ROOT; static const char *OPT_HEAP_DUMP; static const char *OPT_HEAP_DUMP_PATH; - static const char *OPT_JAVA_SECURITY_MANAGER_ALLOW; static const char *OPT_KEEP_WORKING_SET_ON_MINIMIZE; static const char *OPT_CLASS_PATH; static const char *OPT_SPLASH;