[Android-tools-devel] Bug#925320: Bug#925320: Acknowledgement (android-platform-tools-apksig: apksigner fails to run on OpenJDK 8 due to UnsupportedClassVersionError)
Tiago Daitx
tiago.daitx at canonical.com
Wed Mar 27 17:20:15 GMT 2019
Indeed, openjdk-8 is planned to be removed from buster, but any user
that tries to run apksigner with a java 8 level binary (from openjdk,
oracle, or other vendors) will be unable to do so. In addition to that
Debian derivatives might be affected: Ubuntu is keeping openjdk-8
available for users and to avoid such simply delta I am proposing the
patch to Debian.
The early changelog entry related to the "-source 8" change stated
that this was done to support java 8 level, but it missed the fact
that it should actually have added "-target 8" at the least. I am
aiming to fix that with the "--release 8" flag which is the proper way
to set source/target since OpenJDK 9.
Please note that the jh_build tool from javatools package has a bug
that causes this package to currently FTBFS (with or without my change
as the bug forces -source 7 -target 7 to be used which is incompatible
with the level 8 source code): https://bugs.debian.org/925617
Regards,
Tiago
On Mon, Mar 25, 2019 at 4:52 PM Hans-Christoph Steiner <hans at at.or.at> wrote:
>
>
> Can you tell me more about the use case for this? my understanding is
> that openjdk-8 will not be supported in buster.
>
> .hc
>
> Tiago Daitx:
> > Hi,
> >
> > Please consider my upload to mentors as a fix for this issue
> > https://mentors.debian.net/package/android-platform-tools-apksig
> > https://mentors.debian.net/debian/pool/main/a/android-platform-tools-apksig/android-platform-tools-apksig_0.8-3.dsc
> >
> > Regards,
> > Tiago
> >
> > _______________________________________________
> > Android-tools-devel mailing list
> > Android-tools-devel at alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/android-tools-devel
> >
--
Tiago Stürmer Daitx
Software Engineer
tiago.daitx at canonical.com
PGP Key: 4096R/F5B213BE (hkp://keyserver.ubuntu.com)
Fingerprint = 45D0 FE5A 8109 1E91 866E 8CA4 1931 8D5E F5B2 13BE
More information about the Android-tools-devel
mailing list