Details
-
Bug
-
Resolution: Fixed
-
P4
-
9, 10
-
None
-
b15
-
generic
-
generic
Description
The compilation mode in JTreg is parsed from the "java.vm.info" system property. The current implementation expects that "java.vm.info" contains exactly one of the strings "mixed mode", "compiled mode" or "interpreted mode" otherwise the detection will fail and JTreg will quit with an error.
The detection can be done more robust by searching for the substrings "mixed mode", "compiled mode" or "interpreted mode" thus allowing OpenJDK builders to store additional information in the "java.vm.info" system property.
The detection can be done more robust by searching for the substrings "mixed mode", "compiled mode" or "interpreted mode" thus allowing OpenJDK builders to store additional information in the "java.vm.info" system property.