RFR: 8343802: Prevent NULL usage backsliding [v2]
Christian Stein
cstein at openjdk.org
Mon Feb 10 10:40:10 UTC 2025
On Sat, 8 Feb 2025 00:17:15 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
>> That doesn't imply the current approach is the best approach to access the source; it only states that the access is *possible*.
>
> 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?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23466#discussion_r1948811021
More information about the hotspot-dev
mailing list