testing Graal on JDK 9
roland.schatz at oracle.com
Tue Nov 29 12:16:18 UTC 2016
On 11/29/2016 12:53 PM, Andrew Haley wrote:
> I get
> aph at arm64:/nfs/zebedee/home/graal/clean/graal-core$ JVMCI_VERSION_CHECK=ignore mx -v --strict-compliance gate --strict-mode --tags test
> project named com.oracle.mxtool.junit was not found:
> project com.oracle.mxtool.junit was removed as Java compliance 1.8 cannot be satisfied by configured JDKs
> So I guess I can't run the compliance tests on JDK 9?
The "--strict-compliance" flag tells mx that it should build each
project with exactly the jdk version specified in the suites.py file.
For that to work, you have to give it a path to a jdk 8 in EXTRA_JAVA_HOMES.
You can just remove the "--strict-compliance" flag, then mx will be
happy with just a jdk 9 and "downgrade" it using the "-source" and
"-target" flags. It shouldn't really make a difference.
More information about the graal-dev