On Tue, 7 Oct 2025 19:36:31 GMT, Xueming Shen <[email protected]> wrote:
> Does ParameterizedTest support vm/platform classloader isolation for each > parameterized test run against the same test with different parameters? I should have been clearer in my comment. The suggestion to use a ParameterizedTest is to exercise a custom class loader using super.defineClass with different buffers (direct, heap, position != 0, ...) so that it exercises the "non-trusted" cases. You are right that testing the platform class loader (as a trusted class loader) will require opening java.lang. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/27569#discussion_r2412517612
