Hi Andreas, Le 07/08/2019 à 08:08, Andreas Beckmann a écrit :
> in order to fix some upgrade issues from stretch to buster due to the > dependency cycle between default-jre-headless, openjdk-11-jre-headless > and ca-certificates-java (#929685), please add an explicit dependency on > openjdk-11-jre-headless to jython as a workaround. Could you elaborate a bit on the upgrade issue you encountered? It looks a bit arbitrary to change the JRE dependency on jython to work around the ca-certificates-java dependency cycle, and not on the other applications depending on the JRE. > I'm attaching a patch and the piuparts log showing the failure. > The relevant diff of the upgrade test with the fixed package available > is: > > @@ -22494,23 +22486,6 @@ > Removing obsolete conffile > /etc/dbus-1/system.d/org.freedesktop.resolve1.conf ...^M > Removing obsolete conffile > /etc/dbus-1/system.d/org.freedesktop.systemd1.conf ...^M > Removing obsolete conffile > /etc/dbus-1/system.d/org.freedesktop.timedate1.conf ...^M > - Setting up jython-stilts (3.1.5-1) ...^M > - Exception in thread "main" java.lang.NoSuchMethodError: > java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;^M > - at org.python.core.io.BufferedReader.clear(BufferedReader.java:147)^M > - at org.python.core.io.BufferedReader.<init>(BufferedReader.java:27)^M How did you get this exception? This was triggered by running Java 11 compiled code on Java 8, it's another issue we have to fix. Emmanuel Bourg