RFR: 8359293: Make TestNoNULL extensible

Kim Barrett kbarrett at openjdk.org
Thu Jun 12 16:39:28 UTC 2025


On Thu, 12 Jun 2025 09:49:14 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> There are some closed markdown files that contain "NULL". These should be excluded from checking by TestNoNULL. This PR makes TestNoNull extensible in terms of exclusions with the following system properties:
> 
> * `excludedTestExtensions` - command separated list of file extensions (e.g. `-DexcludedTestExtensions=.md,.txt`)
> * `sourceExclusions` - command separated list of file paths relative to repo root (e.g. `-DsourceExclusions=src/hotspot/share/prims/jvmti.xml`)
> * `testExclusions` - command separated list of file paths relative to repo root (e.g. `-DtestExclusions=test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/README`)

Looks good.

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

Marked as reviewed by kbarrett (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25777#pullrequestreview-2921920495


More information about the hotspot-dev mailing list