You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2016/07/15 08:27:25 UTC
[Bug 59863] New: JDK9 version number drops the leading "1."
https://bz.apache.org/bugzilla/show_bug.cgi?id=59863
Bug ID: 59863
Summary: JDK9 version number drops the leading "1."
Product: Ant
Version: 1.9.7
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: notifications@ant.apache.org
Reporter: bodewig@apache.org
For context: http://openjdk.java.net/jeps/223
This is at least going to cause trouble for JavaEnvUtils as we are doing a
simple String.compareTo comparison in isAtLeastJavaVersion - which is going to
fail when comparing 9.2.4 to 10.0.1 or something similar.
There are most likely more cases where we rely on the Java version numbers
starting with "1.".
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59863] JDK9 version number drops the leading "1."
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59863
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |1.9.8
Status|NEW |RESOLVED
--- Comment #2 from Stefan Bodewig <bo...@apache.org> ---
fixed with git commit 625d3d3 in 1.9.x and master
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59863] JDK9 version number drops the leading "1."
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59863
--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
just saw one other case in antunit-base.xml we import from our antunit tests:
<condition property="jdk1.9+">
<contains string="${java.version}" substring="1.9."/>
</condition>
this fails to detect Java9 right now.
--
You are receiving this mail because:
You are the assignee for the bug.