RFR: 8344854: Modernize test/jdk/java/net/URLClassLoader/RemoveJar.java
Eirik Bjørsnøs
eirbjo at openjdk.org
Sat Nov 23 10:38:12 UTC 2024
On Fri, 22 Nov 2024 14:12:10 GMT, Eirik Bjørsnøs <eirbjo at openjdk.org> wrote:
> I could add an `assertEmptyJarFileCaches` method to the start of the test execution, this will verify that all test runs starting with a non-empty cache fails.
I went ahead and added a sanity check verifying that the `JarFileFactory` caches are unpopulated at the beginning of each test run.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22319#issuecomment-2495432998
More information about the net-dev
mailing list