jdk.scripting.nashorn
Erik Joelsson
erik.joelsson at oracle.com
Fri Nov 13 19:48:31 UTC 2015
It has to do with the special needs of that module at compile time, with
the use of nasgen. Initially in the new modular build, I left this as a
special case because it was complicated. It is on my todo to clean this
up, but I haven't gotten around to it yet.
It's probably better to use the call yourself, given that you have
included make/common/Modules.gmk. Note though that the definition of a
"java module" here is a module that has java source to be compiled. In
Jake, there is no separate call to FindJavaModules anymore, just
FindModules, since there, all modules are java modules. So that call
will disappear at some point.
/Erik
On 2015-11-13 18:54, Maurizio Cimadamore wrote:
> Hi,
> in the context of the IntelliJ project I am mantaining, do you know
> why jdk.scripting.nashorn doesn't seem to be listed in the make
> variable $(ALL_JAVA_MODULES) ?
>
> A small grep is giving me this:
>
> make/CompileJavaModules.gmk:ALL_JAVA_MODULES := $(filter-out
> jdk.scripting.nashorn, $(call FindJavaModules))
>
> is it better to use $(call FindJavaModules) instead?
>
> Thanks
> Maurizio
>
More information about the build-dev
mailing list