On Mon, 9 Nov 2020 12:11:56 GMT, Jorn Vernee <jver...@openjdk.org> wrote:
>> I agree with Coleen. > > I'll give this another try, but I think last time I tried this resolution of > the class failed when trying to build the JDK, seemingly since it exists in > an incubator module, which is not always added to the module graph. Ok, I can confirm that moving this to be a well-known class will result in a `java/lang/NoClassDefFoundError: jdk/internal/foreign/abi/ProgrammableUpcallHandler` error while trying to build the JDK. I think this is because the particular class is in an incubator module, which is not always present. I think we'll have to stick with the lazy resolution instead. ------------- PR: https://git.openjdk.java.net/jdk/pull/634