On 27/04/2017 15:47, Doug Simon wrote:

:

- The jaotc launcher now needs to explicitly export JVMCI and 
jdk.internal.vm.compiler to jdk.aot[4].
   Unfortunately there needs to be one --add-exports option per qualified 
export target as combining
   them with a comma (e.g., 
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code=jdk.internal.vm.compiler,jdk.aot)
   breaks the make process:

     Launcher-jdk.aot.gmk:31: *** missing separator.  Stop.
     make/Main.gmk:232: recipe for target 'jdk.aot-launchers' failed.

`--add-exports` is accumulative so what you have is okay. Alternatively the build has CommaList to convert space separated lists into comma separated lists so I would expect this should work:

--add-exports=jdk.internal.vm.ci/jdk.vm.ci.amd64=$(call CommaList, jdk.internal.vm.compiler jdk.aot)

-Alan

Reply via email to