From 93075a7045c647e027ccacb3e1dbb3472022bbd8 Mon Sep 17 00:00:00 2001 From: Gilles Duboscq Date: Tue, 21 May 2019 21:00:56 +0200 Subject: [PATCH] Recognize AdoptOpenJDK --- vm/mx.vm/mx_vm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm/mx.vm/mx_vm.py b/vm/mx.vm/mx_vm.py index 21f62aa638f2..14a80141e5ad 100644 --- a/vm/mx.vm/mx_vm.py +++ b/vm/mx.vm/mx_vm.py @@ -78,8 +78,8 @@ support_distributions=['vm:VM_GRAALVM_SUPPORT'] )) -anyjdk_version_regex = re.compile(r'(openjdk|java) version \"(?P[0-9a-z_\-.]+)\".*\n(OpenJDK|Java\(TM\) SE) Runtime Environment [ 0-9.]*\(build [0-9a-zA-Z_\-.+]+\)') -openjdk_version_regex = re.compile(r'openjdk version \"(?P[0-9a-z_\-.]+)\".*\nOpenJDK Runtime Environment [ 0-9.]*\(build [0-9a-z_\-.+]+\)') +anyjdk_version_regex = re.compile(r'(openjdk|java) version \"(?P[0-9a-z_\-.]+)\".*\n(OpenJDK|Java\(TM\) SE) Runtime Environment( AdoptOpenJDK)? [ 0-9.]*\(build [0-9a-zA-Z_\-.+]+\)') +openjdk_version_regex = re.compile(r'openjdk version \"(?P[0-9a-z_\-.]+)\".*\nOpenJDK Runtime Environment( AdoptOpenJDK)? [ 0-9.]*\(build [0-9a-z_\-.+]+\)') graalvm_version_regex = re.compile(r'.*\n.*\n[0-9a-zA-Z()\- ]+GraalVM[a-zA-Z_ ]+(?P[0-9a-z_\-.+]+) \(build [0-9a-z\-.+]+, mixed mode\)') _registered_graalvm_components = {}