You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please support specifying additional modules that are added with --add-modules via JavaModuleHacks and not only for extra test modules.
Of course you could also just requires them in your module descriptor, but I'd consider that even hackier than via the JavaModuleHacks, as your module does not actually require the given module.
One example is netty with a JRE runtime that was produced with javapackager.
If you use it with a full JRE all works fine, if you use it with the "custom" JRE runtime, you get a class not found exception for sun.misc.Unsafe unless you either require jdk.unsupported in your own module descriptor or use --add-modules jdk.unsupported.
The text was updated successfully, but these errors were encountered:
Please support specifying additional modules that are added with
--add-modules
viaJavaModuleHacks
and not only for extra test modules.Of course you could also just
requires
them in your module descriptor, but I'd consider that even hackier than via theJavaModuleHacks
, as your module does not actually require the given module.One example is
netty
with a JRE runtime that was produced withjavapackager
.If you use it with a full JRE all works fine, if you use it with the "custom" JRE runtime, you get a class not found exception for
sun.misc.Unsafe
unless you either requirejdk.unsupported
in your own module descriptor or use--add-modules jdk.unsupported
.The text was updated successfully, but these errors were encountered: