[Git][java-team/visualvm][master] 2 commits: Tighten the dependency on default-jdk. We only support Java 11 in Buster.

Markus Koschany gitlab at salsa.debian.org
Wed Jan 30 12:38:14 GMT 2019


Markus Koschany pushed to branch master at Debian Java Maintainers / visualvm


Commits:
2232934d by Markus Koschany at 2019-01-30T12:31:35Z
Tighten the dependency on default-jdk. We only support Java 11 in Buster.

- - - - -
f3d1e648 by Markus Koschany at 2019-01-30T12:32:08Z
Update changelog

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/patches/03-launcher.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+visualvm (1.4.2-2) unstable; urgency=medium
+
+  * Team upload.
+  * Tighten the dependency on default-jdk. We only support Java 11 in Buster.
+
+ -- Markus Koschany <apo at debian.org>  Wed, 30 Jan 2019 13:31:56 +0100
+
 visualvm (1.4.2-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -21,7 +21,7 @@ Homepage: https://visualvm.github.io
 Package: visualvm
 Architecture: all
 Depends:
- default-jdk | java8-sdk,
+ default-jdk (>= 2:1.11) | java11-sdk,
  libnb-platform18-java (>= 10.0),
  libvisualvm-jni,
  ${misc:Depends}


=====================================
debian/patches/03-launcher.patch
=====================================
@@ -26,14 +26,14 @@ index e9a2715..418efe8 100644
  
 +ARCH=`dpkg --print-architecture`
 +visualvm_jdkhome=
-+for j in /usr/lib/jvm/java-7-openjdk-$ARCH /usr/lib/jvm/java-8-openjdk-$ARCH /usr/lib/jvm/default-java; do
++for j in /usr/lib/jvm/java-11-openjdk-$ARCH /usr/lib/jvm/default-java; do
 +    if [ -x $j/bin/javac ]; then
 +       visualvm_jdkhome=$j
 +       break
 +    fi
 +done
 +if [ -z "$visualvm_jdkhome" ]; then
-+    echo >&2 "No jdkhome found"
++    echo >&2 "Version of OpenJDK is not supported. Please use the default-jdk."
 +    exit 1
 +fi
 +



View it on GitLab: https://salsa.debian.org/java-team/visualvm/compare/b82d4205c1612c35cb33137df53e4ada9641d182...f3d1e648d6f808e637b20753d2bcf15787903d8a

-- 
View it on GitLab: https://salsa.debian.org/java-team/visualvm/compare/b82d4205c1612c35cb33137df53e4ada9641d182...f3d1e648d6f808e637b20753d2bcf15787903d8a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20190130/514f61f5/attachment.html>


More information about the pkg-java-commits mailing list