Can i say again that when using --patch-module, module-info.class should be merged instead of having a warning ?
Rémi ----- Mail original ----- > De: "Mandy Chung" <mandy.ch...@oracle.com> > À: "Christian Thalinger" <cthalin...@twitter.com> > Cc: jigsaw-dev@openjdk.java.net, "hotspot compiler" > <hotspot-compiler-...@openjdk.java.net>, graal-...@openjdk.java.net > Envoyé: Mercredi 15 Février 2017 23:44:19 > Objet: Re: Running jaotc with an external Graal >> On Feb 15, 2017, at 1:56 PM, Christian Thalinger <cthalin...@twitter.com> >> wrote: >> >> >>> On Feb 14, 2017, at 4:38 AM, Andrew Haley <a...@redhat.com> wrote: >>> >>> On 14/02/17 14:37, Alan Bateman wrote: >>>> --patch-module can be used to patch any module in the boot layer. So if >>>> you are looking to override or add classes then --patch-module should work. >>> >>> Aha! Thanks, >> >> Does it? > > Yes it does except that module-info.class can’t be patched. You will get a > warning if the patched path contains module-info.class. Are you seeing the > otherwise? > > Mandy