Skip to content
Commits on Source (5)
istack-commons (3.0.6-4) unstable; urgency=medium
* Team upload.
* Fix FTBFS test failure with JDK 11.0.4-ea (due to version string)
* Bump Standards-Version to 4.4.0
-- tony mancill <tmancill@debian.org> Tue, 09 Jul 2019 20:27:16 -0700
istack-commons (3.0.6-3) unstable; urgency=medium
* Team upload.
......
......@@ -26,7 +26,7 @@ Build-Depends:
libwagon-http-java,
maven-debian-helper (>= 2.2),
testng (>= 6)
Standards-Version: 4.2.1
Standards-Version: 4.4.0
Vcs-Git: https://salsa.debian.org/java-team/istack-commons.git
Vcs-Browser: https://salsa.debian.org/java-team/istack-commons
Homepage: https://javaee.github.io/jaxb-istack-commons/
......
Description: Parses java.version system property by simply looking at
the whole number. This should still work for a >= JDK9 test, since
java.version strings for JDK8 and earlier will parse to 1 < 9.
Author: tony mancill <tmancill@debian.org>
Forwarded: no
--- a/istack-commons/tools/src/test/java/com/sun/istack/tools/ParallelWorldClassLoaderTest.java
+++ b/istack-commons/tools/src/test/java/com/sun/istack/tools/ParallelWorldClassLoaderTest.java
@@ -143,9 +143,9 @@
private static boolean isJDK9() {
String ver = System.getProperty("java.version");
- int idx = ver.indexOf('-');
+ //int idx = ver.indexOf('-');
int idx2 = ver.indexOf('.', 1);
- float v = Float.parseFloat(idx > 0 ? ver.substring(0, idx) : idx2 > 0 ? ver.substring(0, idx2) : ver);
+ float v = Float.parseFloat(idx2 > 0 ? ver.substring(0, idx2) : ver);
return v > 8;
}
}
01-activation-dependency.patch
02-disable-atgenerated-annotation-by-default.patch
03-java-version-parsing.patch