RFR: 8350786: Some java/lang jtreg tests miss requires vm.hasJFR [v2]

Matthias Baesken mbaesken at openjdk.org
Fri Feb 28 07:47:57 UTC 2025


On Thu, 27 Feb 2025 21:40:23 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> If you want to see that implemented, the first step is to open an enhancement issue on JBS.

For now I would probably be happy with fixing/adding the 'requires' statements of the tests, where they are missing.
This would allow jtreg-testing an image with limited JVM features (currently this is hard because you run into lots of errors because tests do not check properly what is required).
Kicking out modules from a feature-limited image sounds logical and promising (even smaller image) but it seems there are a number of hidden problems/issues.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23805#discussion_r1974952100


More information about the core-libs-dev mailing list