Skip to content

Commit

Permalink
Fix style issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Anzinger committed Apr 3, 2018
1 parent aee036a commit 74e1ba2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/mx.compiler/mx_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def _gate_dacapo(name, iterations, extraVMarguments=None, force_serial_gc=True,

def _jdk_includes_corba(jdk):
# corba has been removed since JDK11 (http://openjdk.java.net/jeps/320)
return jdk.javaCompliance < '11'
return jdk.javaCompliance < '11'

def _gate_scala_dacapo(name, iterations, extraVMarguments=None):
vmargs = ['-Xms2g', '-XX:+UseSerialGC', '-XX:-UseCompressedOops', '-Dgraal.CompilationFailureAction=ExitVM'] + _remove_empty_entries(extraVMarguments)
Expand Down
1 change: 0 additions & 1 deletion compiler/mx.compiler/mx_graal_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,6 @@ def flakySkipPatterns(self, benchmarks, bmSuiteArgs):

def vmArgs(self, bmSuiteArgs):
vmArgs = super(ScalaDaCapoBenchmarkSuite, self).vmArgs(bmSuiteArgs)

# Do not add corba module on JDK>=11 (http://openjdk.java.net/jeps/320)
if mx_compiler.jdk.javaCompliance >= '9' and mx_compiler.jdk.javaCompliance < '11':
vmArgs += ["--add-modules", "java.corba"]
Expand Down

0 comments on commit 74e1ba2

Please sign in to comment.