OpenSearch/buildSrc/src
Ryan Ernst 139deb535a
Test: Use --illegal-access=warn for tests (#28437)
This commit conditionally adds the --illegal-access=warn flag when tests
are run with java 9. Currently, testing on java 9 triggers a warning
about illegal access from mockito. While that should be fixed (by
updating to a newer mockito base for securemock), the stderr warning we
get is only the first one. Thankfully that is the only one, but this
change will enable finding all such illegal accesses in the future.
2018-01-30 17:40:18 -08:00
..
main Test: Use --illegal-access=warn for tests (#28437) 2018-01-30 17:40:18 -08:00
test/java/org/elasticsearch/test Fix order of modifiers 2016-07-01 16:57:14 +02:00