Skip to content
Snippets Groups Projects
Commit 818f2c45 authored by Petrus Hyvönen's avatar Petrus Hyvönen
Browse files

Merge branch 'Convert_strings' into 'master'

Automatically convert java strings to python strings (as in JCC version)

See merge request Petrush/orekit_jpype!4
parents c248b9e3 7a763246
No related branches found
No related tags found
1 merge request!4Automatically convert java strings to python strings (as in JCC version)
...@@ -14,7 +14,7 @@ def initVM(): ...@@ -14,7 +14,7 @@ def initVM():
# Launch the JVM # Launch the JVM
if not jpype.isJVMStarted(): if not jpype.isJVMStarted():
# '-Xcheck:jni','-verbose:jni','-verbose:class' # '-Xcheck:jni','-verbose:jni','-verbose:class'
jpype.startJVM( convertStrings=False) jpype.startJVM( convertStrings=True)
else: else:
print("JVM already started, resuming on started JVM") print("JVM already started, resuming on started JVM")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment