OpenSearch/distribution/bwc
Ryan Ernst 70b499b7aa
Simplify java home verification (#55635)
* Simplify java home verification

At one time, all uses of java home were found through the getJavaHome
utility method on BuildPlugin. However, that was changed many
refactorings ago, but the complex support for registering a java home
version needed that fails at configuration time still exists. The only
remaining use of grabbing java home is within bwc tests, and must be at
runtime since that is when we have the checkout and know what version is
needed.

This commit consolidates the java home finding method into a utility
unassociated with BuildPlugin.

* fix checkstyle

* address feedback
2020-04-27 12:43:32 -07:00
..
bugfix Implement VersionCollection in Java (#34050) 2018-11-01 17:43:57 +02:00
maintenance Implement VersionCollection in Java (#34050) 2018-11-01 17:43:57 +02:00
minor Implement VersionCollection in Java (#34050) 2018-11-01 17:43:57 +02:00
staged Implement VersionCollection in Java (#34050) 2018-11-01 17:43:57 +02:00
build.gradle Simplify java home verification (#55635) 2020-04-27 12:43:32 -07:00