----- Mail original -----
> De: "Alan Bateman" <alan.bate...@oracle.com>
> À: "Remi Forax" <fo...@univ-mlv.fr>, "core-libs-dev"
> <core-libs-dev@openjdk.java.net>
> Envoyé: Samedi 23 Mars 2019 14:09:10
> Objet: Re: When executing in module mode, the java command doesn't show the
> verifyError message details
> 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?
it doesn't :(
/usr/jdk/jdk-13/bin/java -Xlog:init=debug --enable-preview --module-path
target/main/artifact:deps -m fr.umlv.lazystaticfinal
Error: Unable to initialize main class fr.umlv.lazystaticfinal.Main in module
module fr.umlv.lazystaticfinal
Caused by: module fr.umlv.lazystaticfinal: java.lang.VerifyError
>
> -Alan
Rémi