Describe the problem
There are a few system properties we currently set via command line options but which could be set programmatically. This adds extra effort for users trying to run MapTool JAR files.
The improvement you'd like to see
Set the following command line options via System.setProperty() instead:
-Dsun.java2d.d3d=false
-Dpolyglot.engine.WarnInterpreterOnly=false
-Djava.util.Arrays.useLegacyMergeSort=true
This should be done early in LaunchInstructions so they can take effect before the relevant systems are initialized. For bonus points, only set these if the user did not provide their own option on the command line, so they can experiment with things if they wish.
Expected Benefits
Users of JAR files won't need to remember as many options to get the same behaviour out of MapTool as users of installed packages.
Additional Context
No response
Describe the problem
There are a few system properties we currently set via command line options but which could be set programmatically. This adds extra effort for users trying to run MapTool JAR files.
The improvement you'd like to see
Set the following command line options via
System.setProperty()instead:-Dsun.java2d.d3d=false-Dpolyglot.engine.WarnInterpreterOnly=false-Djava.util.Arrays.useLegacyMergeSort=trueThis should be done early in
LaunchInstructionsso they can take effect before the relevant systems are initialized. For bonus points, only set these if the user did not provide their own option on the command line, so they can experiment with things if they wish.Expected Benefits
Users of JAR files won't need to remember as many options to get the same behaviour out of MapTool as users of installed packages.
Additional Context
No response