This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch karaf-4.4.x
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/karaf-4.4.x by this push:
     new 0c40e1f79e KARAF-7929: populate the JVM version in bin/client
0c40e1f79e is described below

commit 0c40e1f79e8c2de114af21d244b1bd025729ad76
Author: JB Onofré <[email protected]>
AuthorDate: Sat Jan 11 08:45:31 2025 +0100

    KARAF-7929: populate the JVM version in bin/client
    
    (cherry picked from commit 6ae09baf08b5e99e775a6b7be54df2b9c5a72466)
---
 .../features/base/src/main/filtered-resources/resources/bin/client     | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/assemblies/features/base/src/main/filtered-resources/resources/bin/client 
b/assemblies/features/base/src/main/filtered-resources/resources/bin/client
index 14a0935282..f40d95c3b3 100755
--- a/assemblies/features/base/src/main/filtered-resources/resources/bin/client
+++ b/assemblies/features/base/src/main/filtered-resources/resources/bin/client
@@ -117,6 +117,9 @@ init() {
     # Determine the JVM vendor
     detectJVM
 
+    # Determine and enforce the JVM version
+    checkJvmVersion
+
     # Setup default options
     setupDefaults
 

Reply via email to