Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

adoptopenjdk is now called temurin #2682

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions programs/java_lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@

JDK_8_AND_UNDER_PATH_VERSION_REGEX_STRINGS = [
r"jdk(?P<full>1\.(?P<major>\d+)(\.\d+(_\d+)?)?)(\.jdk)?",
r"adoptopenjdk-(?P<full>(?P<major>[6-8])(\.\d+(_\d+)?)?)(\.jdk|\.jre)?",
r"(?:adoptopenjdk|temurin)-(?P<full>(?P<major>[6-8])(\.\d+(_\d+)?)?)(\.jdk|\.jre)?",
]
JDK_9_AND_OVER_PATH_VERSION_REGEX_STRINGS = [
r"jdk-(?P<full>(?P<major>\d+)(\.\d+(\.\d+(_\d+)?)?)?)(\.jdk)?",
r"adoptopenjdk-(?P<full>(?P<major>9|\d{2,})(\.\d+(\.\d+(_\d+)?)?)?)(\.jdk|\.jre)?",
r"(?:adoptopenjdk|temurin)-(?P<full>(?P<major>9|\d{2,})(\.\d+(\.\d+(_\d+)?)?)?)(\.jdk|\.jre)?",
]

JDK_8_AND_UNDER_PATH_VERSION_REGEXES = [
Expand Down