summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/java-utils-2.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index 873a98b38678..7ff0aea815f9 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -1766,7 +1766,7 @@ java-pkg_get-vm-vendor() {
java-pkg_get-vm-version() {
debug-print-function ${FUNCNAME} $*
- java-pkg_get-current-vm | sed -e "s/.*-\([0-9.]\+\).*/\1/"
+ java-config -g PROVIDES_VERSION
}
# ------------------------------------------------------------------------------