RFR: 8346468: SM cleanup of common test library [v2]
Roger Riggs
rriggs at openjdk.org
Wed Dec 18 18:38:37 UTC 2024
On Wed, 18 Dec 2024 17:27:24 GMT, Weijun Wang <weijun at openjdk.org> wrote:
> Will this ever happen?
>
> https://github.com/openjdk/jdk/blob/020255a72dc374ba0bdd44772047f14a8bfe69a9/test/lib/jdk/test/lib/jfr/TestClassLoader.java#L63
Yes, (my first pass removed the exception handling and tests failed).
A SecurityException is thrown when attempting to define a class in the `java.lang` namespace and boot class loader.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22814#issuecomment-2552016742
More information about the core-libs-dev
mailing list