[Bug 1808383] [NEW] Java 9+ multi-release jars are not supported in ant tasks
Javier Armendariz
1808383 at bugs.launchpad.net
Thu Dec 13 16:55:39 UTC 2018
Public bug reported:
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
** Affects: ant (Ubuntu)
Importance: Undecided
Status: Confirmed
** Description changed:
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 release 1.10.6:
+ It has already been fixed and will be introduced in next release 1.10.6:
https://github.com/apache/ant/commit/593aff2d2ea52a025cfe7da32155216719029a7d
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ant in Ubuntu.
https://bugs.launchpad.net/bugs/1808383
Title:
Java 9+ multi-release jars are not supported in ant tasks
Status in ant package in Ubuntu:
Confirmed
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
More information about the foundations-bugs
mailing list