RFR: JDK-8276202: LogFileOutput.invalid_file_vm asserts when being executed from a read only working directory

Johan Sjölén duke at openjdk.java.net
Thu Apr 28 18:19:50 UTC 2022


On Thu, 28 Apr 2022 15:10:11 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Also, in the event of a test failure, will the file in /tmp be left behind?

`EXPECT` macros will not end the test prematurely, so `delete_directory` will run even if the test fails. Assume that the directory is left behind, then at least the directory will be cleaned up by the OS "in the future".

My view is that this PR improves the state of these tests and in the future we can look at rewriting these from gtest to jtreg.

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

PR: https://git.openjdk.java.net/jdk/pull/8238


More information about the hotspot-runtime-dev mailing list