We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 42a06f8 + 8b0c29c commit 1cbfef2Copy full SHA for 1cbfef2
jnius_config.py
@@ -17,7 +17,8 @@ def set_options(*opts):
17
"Sets the list of options to the JVM. Removes any previously set options."
18
if vm_running:
19
raise ValueError("VM is already running, can't set options")
20
- globals()['options'] = opts
+ global options
21
+ options = list(opts)
22
23
24
def add_options(*opts):
@@ -41,7 +42,7 @@ def set_classpath(*path):
41
42
43
raise ValueError("VM is already running, can't set classpath")
44
global classpath
- classpath = path
45
+ classpath = list(path)
46
47
48
def add_classpath(*path):
0 commit comments