Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly set illegal-access to deny for tests (elastic#72588) (elas…
…tic#78283) Since Java 16, the default value for illegal-access is deny. This means the latest release of Elasticsearch, and all current integration tests, run with deny (since we don't explicitly set it in jvm options). Yet tests run with illegal-access=warn, for legacy reasons. elastic#71908 proposed to remove the setting from test jvms, but concerns were raised there about whether this would cause some test failures. This commit explicitly sets tests to deny. This has the added benefit that any failures will be caught even when running tests with older jvms.
- Loading branch information