File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
test/framework/src/main/java/org/elasticsearch/test/junit/listeners Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -190,9 +190,11 @@ private ReproduceErrorMessageBuilder appendESProperties() {
190190 appendOpt ("tests.locale" , Locale .getDefault ().toLanguageTag ());
191191 appendOpt ("tests.timezone" , TimeZone .getDefault ().getID ());
192192 appendOpt ("tests.distribution" , System .getProperty ("tests.distribution" ));
193- appendOpt ("runtime.java" , Integer .toString (Runtime .version ().feature ()));
194193 if (Runtime .version ().build ().isPresent () && "ea" .equalsIgnoreCase (Runtime .version ().pre ().orElse ("" ))) {
194+ appendOpt ("runtime.java" , Runtime .version ().feature () + "-ea" );
195195 appendOpt ("runtime.java.build" , Integer .toString (Runtime .version ().build ().get ()));
196+ } else {
197+ appendOpt ("runtime.java" , Integer .toString (Runtime .version ().feature ()));
196198 }
197199 appendOpt (ESTestCase .FIPS_SYSPROP , System .getProperty (ESTestCase .FIPS_SYSPROP ));
198200 return this ;
You can’t perform that action at this time.
0 commit comments