File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,19 +80,16 @@ def inner(self):
8080
8181def jvm_version () -> str :
8282 """
83- Gets the version of the JVM as a tuple,
84- with each dot-separated digit as one element.
85- Characters in the version string beyond only
86- numbers and dots are ignored, in line
87- with the java.version system property.
83+ Gets the version of the JVM as a tuple, with each dot-separated digit
84+ as one element. Characters in the version string beyond only numbers
85+ and dots are ignored, in line with the java.version system property.
8886
8987 Examples:
9088 * OpenJDK 17.0.1 -> [17, 0, 1]
9189 * OpenJDK 11.0.9.1-internal -> [11, 0, 9, 1]
9290 * OpenJDK 1.8.0_312 -> [1, 8, 0]
9391
94- If the JVM is already started,
95- this function should return the equivalent of:
92+ If the JVM is already started, this function returns the equivalent of:
9693 jimport('java.lang.System')
9794 .getProperty('java.version')
9895 .split('.')
You can’t perform that action at this time.
0 commit comments