add[patch]: Change java.runtime.name to have android included (#1)

This commit is contained in:
Eva Isabella Luna 2025-05-23 22:59:06 -06:00 committed by GitHub
commit 0ee40ef022
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,18 @@
// Changed java.runtime.name to include "Android" to support the detection scheme of sqlite-jdbc
// See https://github.com/xerial/sqlite-jdbc/issues/1210
// https://github.com/xerial/sqlite-jdbc/blob/79cc5feaf162679782e04e8691e55c7b6c90664f/src/main/java/org/sqlite/util/OSInfo.java#L120-L122
diff --git a/make/conf/branding.conf b/make/conf/branding.conf
index 0a8571e12..e27aebf2e 100644
--- a/make/conf/branding.conf
+++ b/make/conf/branding.conf
@@ -25,7 +25,7 @@
LAUNCHER_NAME=openjdk
PRODUCT_NAME=OpenJDK
-PRODUCT_SUFFIX="Runtime Environment"
+PRODUCT_SUFFIX="Android Runtime Environment"
JDK_RC_PLATFORM_NAME=Platform
COMPANY_NAME=N/A
HOTSPOT_VM_DISTRO="OpenJDK"

View File

@ -0,0 +1,18 @@
// Changed java.runtime.name to include "Android" to support the detection scheme of sqlite-jdbc
// See https://github.com/xerial/sqlite-jdbc/issues/1210
// https://github.com/xerial/sqlite-jdbc/blob/79cc5feaf162679782e04e8691e55c7b6c90664f/src/main/java/org/sqlite/util/OSInfo.java#L120-L122
diff --git a/make/conf/branding.conf b/make/conf/branding.conf
index 912e4f622..27fd26607 100644
--- a/make/conf/branding.conf
+++ b/make/conf/branding.conf
@@ -25,7 +25,7 @@
LAUNCHER_NAME=openjdk
PRODUCT_NAME=OpenJDK
-PRODUCT_SUFFIX="Runtime Environment"
+PRODUCT_SUFFIX="Android Runtime Environment"
JDK_RC_PLATFORM_NAME=Platform
COMPANY_NAME=N/A
HOTSPOT_VM_DISTRO="OpenJDK"