[META] Add check for broken Java 11 versions on startup #2822
Labels
Build Libraries & Interfaces
enhancement
Enhancement or improvement to existing feature or request
v2.1.0
Issues and PRs related to version 2.1.0
v3.0.0
Issues and PRs related to version 3.0.0
Is your feature request related to a problem? Please describe.
As discussed in #2791 we figured out that OpenSearch does not work correctly if you use OpenJDK reference implementation version 11.0.2. The download page on jdk.java.net lists this as latest version (although the currently uptodate version is 11.0.14.1, available via Adoptium or Coretto)
Describe the solution you'd like
In the boostrap classes, OpenSearch checks for Java versions. We should add broken Java 11 versions there. Actually this feature request has two components:
java.lang.Runtime.Version
andjava.lang.Runtime.version()
to get the current Java version.Describe alternatives you've considered
Do those checks in startup script, but this is likely to break depending on charsets, languages, custom JDK builds,....
Bootstrap
should implement a denylist of Java versions (ranges) #3005The text was updated successfully, but these errors were encountered: