mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
In 7.x, we have java 8 as minimum jdk version. In the past, for packaging tests, we relied on the system to provide an alternative jdk to be used by the no-jdk distributions. Master switched to using a build provided jdk, but 7.x was stuck relying on the system because it needed a java 8 jdk. The jdk download plugin was updated a while ago to support jdk 8, and so this PR converts the distro tests to use the build provided jdk just as master branch does. Note also this fixes a failure that would sometimes occur on older jdks in windows where the expected gc filename can be different.