On čtvrtek 3. srpna 2017 17:03:39 CEST Jaroslav Tulach wrote: > On čtvrtek 27. července 2017 15:01:17 CEST Alan Bateman wrote: > > On 27/07/2017 10:07, Jaroslav Tulach wrote: > > > Yes, it seems like a desirable goal to let Graal compiler work with just > > > java.base. Is there a description how to build JDK9/10 with just > > > java.base > > > that I could follow and test against? > > > > You can use jlink to create a run-time image that only contains > > java.base (jlink --module-path $JAVA_HOME/jmods --add-modules java.base > > --output smalljre). > > Status update: I've just tried to run Graal compiler against JDK9 with only > java.base and jdk.internal.vm.ci modules, and there are some problems. I > need to resolve them first before I provide updated version of my patch.
FYI: As of https://github.com/graalvm/graal/commit/ ca9071941a1be7f1a3725529ecc231ff621d5ed0 the Graal compiler can run with java.base, jdk.unsupported and jdk.vm.ci only modules. But it wasn't easy, especially the http://wiki.apidesign.org/wiki/ PropertyChangeListener required a bit of work. -jt