On Tue, 2 Aug 2022 20:30:17 GMT, Phil Race <[email protected]> wrote: > My best guess is that it was added so that the tests deliberately provoked > using continuations to verify everything worked but that with the change > there's no point since it won't load any classes that use them .. ?
That's right. These tests triggered the initialization of classes that depend on the VM being started with --enable-preview. With the proposed change here, the classes will be loaded but not initialized so it won't execute code that needs preview features to be enabled. ------------- PR: https://git.openjdk.org/jdk/pull/9704
