On Fri, 22 Nov 2024 13:57:17 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

> Hi Eirik, IIRC the cache is global - so I don't think running the test in the 
> same VM will work. I mean, I don't think we will be testing the same thing.

That is a fair point. On the other hand; the test asserts that the file can be 
deleted. If it was in the global cache at the end of the test run, the deletion 
would not work. So the test proves anything it puts the cache is also taken 
out, otherwise the test should fail (at least on Windows).

We still run in `/othervm`, so we should be  isolated from other tests putting 
things in the cache.

What do you think?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22319#issuecomment-2493857879

Reply via email to