Skip to content

Commit 8d35d8c

Browse files
tetris0kmyint
authored andcommitted
Fix newest java version check (jxmorris12#57)
1 parent 3da511e commit 8d35d8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎download_lt.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
JAVA_7_COMPATIBLE_VERSION = '3.1'
3131
LATEST_VERSION = '3.2'
3232
JAVA_VERSION_REGEX = re.compile(
33-
r'^(?:java|openjdk) version "(?P<major1>\d+)\.(?P<major2>\d+)\.[^"]+"$',
33+
r'^(?:java|openjdk) version "(?P<major1>\d+)\.(?P<major2>\d+)\.[^"]+"',
3434
re.MULTILINE)
3535

3636

0 commit comments

Comments
 (0)