RFR: 8343809: Add requires tag to mark tests that are incompatible with exploded image

Alan Bateman alanb at openjdk.org
Tue Dec 16 06:53:56 UTC 2025


On Sat, 13 Dec 2025 20:01:13 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> The 
> jdk.explodedImage
> might be used to filter tests incompatible with 
> make exploded-run-test TEST=...
> 
> The exploded-run-test  mode is used only for quick manual testing and not in CI or ATR testing. However, it is make sense to reduce false positive failures so developers don't waste time during local testing.

test/jtreg-ext/requires/VMProps.java line 758:

> 756:         try {
> 757:             Path jmodFile = Path.of(System.getProperty("java.home"), "jmods", "java.base.jmod");
> 758:             if (jmodFile.toFile().exists()) {

In passing, the Path -> File conversion wouldn't be needed if you use Files.exists here.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28814#discussion_r2622028508


More information about the hotspot-dev mailing list