RFR: 8345503: Test EnableNativeAccessCDS.java fails with TEST_THREAD_FACTORY=Virtual
Matias Saavedra Silva
matsaave at openjdk.org
Thu Dec 5 02:34:41 UTC 2024
On Wed, 4 Dec 2024 19:08:08 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> The JTREG option `TEST_THREAD_FACTORY=Virtual` injects command line arguments into the test and may separate an option from its arguments. In this case, the option was being placed between `--enable-native-access` and it's argument `java.base`. This patch adds `--enable-native-access` to the list of options that takes additional arguments.
>
> Also, the TEST_THREAD_FACTORY=Virtual
> is useless when java doesn't run any classes. I expect it should silently pass.
>
> So test might be excluded.
Thanks for the reviews @lmesnik @iklam and @sendaoYan!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22555#issuecomment-2518955015
More information about the hotspot-runtime-dev
mailing list