On Wed, 9 Sep 2020 19:38:38 GMT, Mandy Chung <mch...@openjdk.org> wrote:
> `jlink --generate-jli-classes` plugin should retain the original holder > classes if the default_jli_trace.txt > file does not exist. > > Before JDK-8252725, `JavaLangInvokeAccess::generateXXXHolderClassesBytes` > methods are invoked > unconditionally and therefore the holder classes are "regenerated" when > default_jli_trace.txt > does not exist. JDK-8252725 does not handle this case properly and results > in an image missing > the holder classes when the specified trace file does not exist. > > The fix is very simple. Retains the original holder classes when the file > does not exist. Looks good! ------------- PR: https://git.openjdk.java.net/jdk/pull/96