RFR: 8314828: Mark 3 jcmd command-line options test as vm.flagless

Leonid Mesnik lmesnik at openjdk.org
Thu Aug 24 21:47:08 UTC 2023


On Wed, 23 Aug 2023 22:58:05 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> Mark 3 tests as flagless to don't run them if not needed. Also, small clean up.

It is the original intention of vm.flagless to mark all tests that ignore VM flags. See https://bugs.openjdk.org/browse/JDK-8151707 and https://bugs.openjdk.org/browse/JDK-8246497. The idea is not only to reduce time but also to provide correct information about coverage. If the user specifies it usually expects that a test would be executed using this flag and actually testing the feature. If you feel that it makes sense to run these/or any  tests with external flags, we could update them to fork VM using tested vm options.

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

PR Comment: https://git.openjdk.org/jdk/pull/15407#issuecomment-1692452974


More information about the serviceability-dev mailing list