When executing in module mode, the java command doesn't show the verifyError message details

Alan Bateman Alan.Bateman at oracle.com
Sat Mar 23 13:09:10 UTC 2019


On 23/03/2019 12:36, Remi Forax wrote:
> :
>
> /usr/jdk/jdk-13/bin/java --enable-preview --module-path target/main/artifact -m fr.umlv.lazystaticfinal
> Error occurred during initialization of boot layer
> java.lang.module.FindException: Module org.objectweb.asm.util not found, required by fr.umlv.lazystaticfinal
>
> the exception details corresponding to the VerifyError are not printed making the issue hard to debug.
>
Can you run with -Xlog:init=debug to see if it reveals stack trace you 
are looking for?

-Alan


More information about the core-libs-dev mailing list