On 07/03/2016 13:53, Volker Simonis wrote:
Hi Alan, Dmitry,
thanks a lot for your help. Alan's suggestion to move the dependency
from src/jdk.jcmd/share/classes/module-info.java to
src/jdk.jcmd/$OS/classes/module-info.java.extra works fine. After
doing that change I could successfully build on AIX. I'll open a bug
for this and post a webrev later today. As I'm not a jigsaw committer
I'll probably need a sponsor though :)
I reminded myself today that the build tool to augment module
declarations from .extra files doesn't work for `requires`. So while it
might help then I assume the generated module-info.java is incomplete
for platforms that do support SA. These tools are begging to be
refactored but from Dmitry's mail then it sounds like the split will
take time. We might have to refactor them to use services or as a very
short term workaround then we can build their launchers with `-addmods
ALL-SYSTEM`.
-Alan.