RFR: 8343802: Prevent NULL usage backsliding [v2]

Chen Liang liach at openjdk.org
Mon Feb 10 16:21:15 UTC 2025


On Mon, 10 Feb 2025 15:24:54 GMT, Nizar Benalla <nbenalla at openjdk.org> wrote:

>> 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`

Thanks for your comments. Given that this indeed is the best approach for now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23466#discussion_r1949446937


More information about the hotspot-dev mailing list