File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
graalpython/com.oracle.graal.python.shell/src/com/oracle/graal/python/shell Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -476,8 +476,10 @@ private String[] getExecutableList() {
476
476
for (String arg : ManagementFactory .getRuntimeMXBean ().getInputArguments ()) {
477
477
if (arg .matches ("(-Xrunjdwp:|-agentlib:jdwp=).*suspend=y.*" )) {
478
478
arg = arg .replace ("suspend=y" , "suspend=n" );
479
- }
480
- if ((javaOptions != null && javaOptions .contains (arg )) || (javaToolOptions != null && javaToolOptions .contains (arg ))) {
479
+ } else if (arg .matches (".*ThreadPriorityPolicy.*" )) {
480
+ // skip this one, it may cause warnings
481
+ continue ;
482
+ } else if ((javaOptions != null && javaOptions .contains (arg )) || (javaToolOptions != null && javaToolOptions .contains (arg ))) {
481
483
// both _JAVA_OPTIONS and JAVA_TOOL_OPTIONS are adeed during
482
484
// JVM startup automatically. We do not want to repeat these
483
485
// for subprocesses, because they should also pick up those
You can’t perform that action at this time.
0 commit comments