From cc63e92c10fd4a08e1fb7997b2ec30bfade5a8bf Mon Sep 17 00:00:00 2001 From: Karl Nelson Date: Wed, 27 Nov 2024 16:07:27 -0800 Subject: [PATCH] Fix warning --- jpype/_core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jpype/_core.py b/jpype/_core.py index 9fe3aed7e..218ad868d 100644 --- a/jpype/_core.py +++ b/jpype/_core.py @@ -304,7 +304,8 @@ def startJVM( # this guarentees all classes have the same permissions as they did in the past extra_jvm_args += [ '-Djava.system.class.loader=org.jpype.classloader.DynamicClassLoader', - '-Djava.class.path=%s'%support_lib + '-Djava.class.path=%s'%support_lib, + '-Xshare:off' ] if agent: