RFR: 8343802: Prevent NULL usage backsliding [v2]
Nizar Benalla
nbenalla at openjdk.org
Mon Feb 10 15:27:12 UTC 2025
On Mon, 10 Feb 2025 10:37:26 GMT, Christian Stein <cstein at openjdk.org> wrote:
>> I don't see any better way. https://openjdk.org/jtreg/vmoptions.html doesn't list anything other than
>> the "test.src" property as a way to find the source hierarchy. If you know of an alternative, please suggest.
>
> I agree with @kimbarrett - there's no canonical way built into `jtreg` to obtain the `src` directory of a or the JDK under test.
>
> This tests reads more like an automated tool call that you'd normally pass in a start directory as an argument. No?
Thanks for the comment Christian.
You're right that the test is a tool that needs a directory to check, I tried to avoid passing arguments to the test to avoid the need for `othervm`
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23466#discussion_r1949325233
More information about the hotspot-dev
mailing list