From dfa6bb56cbb091663574100ff63fe97c79af3704 Mon Sep 17 00:00:00 2001 From: Vaibhav Pandey Date: Wed, 22 Apr 2020 08:16:58 +0530 Subject: [PATCH] Identify newer Java versions (fixes #159). --- sources/versionresolveworker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/versionresolveworker.cpp b/sources/versionresolveworker.cpp index c4c740a..8084806 100644 --- a/sources/versionresolveworker.cpp +++ b/sources/versionresolveworker.cpp @@ -4,7 +4,7 @@ #include "processutils.h" #define REGEXP_ADB_VERSION "version (\\d+\\.\\d+\\.\\d+)$" -#define REGEXP_JAVA_VERSION "version \"(\\d+\\.\\d+\\.\\d+(_\\d+)?)\"" +#define REGEXP_JAVA_VERSION "version \"([\\d._]+)\"" #define REGEXP_UAS_VERSION "Version: (\\d+\\.\\d+\\.\\d+)$" VersionResolveWorker::VersionResolveWorker(QObject *parent)