Need help testing the EA builds
Alan Bateman
Alan.Bateman at oracle.com
Mon Mar 7 19:58:01 UTC 2016
On 07/03/2016 18:23, Volker Simonis wrote:
> :
>
> So while the tools are not being refactored, how can we fix the build
> on non-SA platforms if moving the SA dependency to
> module-info.java.extra is no viable solution? I've tried your
> suggestion to add `-addmods ALL-SYSTEM` to the jcmd launchers. It
> seems to work. I still don't see the jdk.hotspot.agent dependency
> displayed by jdeps (is this expected ?), but the resulting tools (i.e.
> jstack) now display all the options, also the ones whoch require the
> SA.
These tools access SA using core reflection so the jdeps doesn't see the
dependency. Dropping the `requires jdk.htospot.agent and using `-addmods
ALL-SYSTEM` as workaround will resolve it but I'd prefer to avoid this
if we can.
Erik suggested a build solution to this and may have a patch soon.
-Alan.
More information about the jigsaw-dev
mailing list