group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #29671
[Bug 1808383] Re: Java 9+ multi-release jars are not supported in ant tasks
This bug was fixed in the package ant - 1.10.5-3~18.04
---------------
ant (1.10.5-3~18.04) bionic; urgency=medium
* Backport for OpenJDK 11. LP: #1818647.
ant (1.10.5-3) unstable; urgency=medium
[ Matthias Klose ]
* Mark binary packages as M-A: foreign. Closes: #925467.
* Bump standards version.
[ Tiago Stürmer Daitx ]
* Enable multi release jar support. LP: #1808383.
- debian/patches/0016-multirelease-jar-support.patch: apply 2 upstream
patches to provide mrjar support.
ant (1.10.5-2) unstable; urgency=medium
* Team upload.
* Lower the minimum required source/target level to 1.6 again.
This is acceptable for OpenJDK 11 but must be reverted for OpenJDK 12.
Thanks to Bdale Garbee for the report and patch. (Closes: #906785)
* Declare compliance with Debian Policy 4.2.1.
ant (1.10.5-1) unstable; urgency=medium
* Team upload.
* New upstream release
* Replaced debian/orig-tar.sh with the Files-Excluded mechanism
* Standards-Version updated to 4.1.5
ant (1.10.4-2) unstable; urgency=medium
* Team upload.
* Reverted the modification setting the 'release' attribute automatically
since this renders the internal JDK APIs unavailable at compile time.
(Closes: #902895)
ant (1.10.4-1) unstable; urgency=medium
* Team upload.
* New upstream release
- Refreshed the patches
- Compile with hamcrest-all on the classpath
ant (1.10.3-2) unstable; urgency=medium
* Team upload.
* Automatically set the value of the javac --release attribute to improve
the backward compatibility of the code compiled with Java 9 or later.
* Standards-Version updated to 4.1.4
* Use salsa.debian.org Vcs-* URLs
-- Matthias Klose <doko@xxxxxxxxxx> Thu, 28 Mar 2019 11:13:28 +0100
** Changed in: ant (Ubuntu Cosmic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1808383
Title:
Java 9+ multi-release jars are not supported in ant tasks
Status in ant package in Ubuntu:
Fix Released
Status in ant source package in Xenial:
New
Status in ant source package in Bionic:
Fix Released
Status in ant source package in Cosmic:
Fix Released
Status in ant source package in Disco:
Fix Released
Bug description:
Reproduced in release: Ubuntu 18.04.1 LTS
Version of ant used: 1.10.3-1ubuntu0.1
Having a multi-release jar with different .class files for Java 8 and
Java 9, when using this jar in a custom ant task and running in Java
9+, the Java 8 class file will be loaded instead of the Java 9 one.
This may lead to errors when the older class uses a deprecated/removed
API.
This can be easily reproduced using the code pushed to this
repository: https://github.com/katanagari7c1/ant-mrjar-support-test
This issue have already been reported in the ant bug tracker:
https://bz.apache.org/bugzilla/show_bug.cgi?id=62952
It has already been fixed and will be introduced in next release 1.10.6:
https://github.com/apache/ant/commit/593aff2d2ea52a025cfe7da32155216719029a7d
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ant/+bug/1808383/+subscriptions