Skip to content
Commits on Source (3)
jtreg (4.2-b13-2) unstable; urgency=medium
* Team upload.
[ Tiago Stürmer Daitx ]
* Use release instead of source/target. (Closes: #913853, LP: #1803628)
[ tony mancill ]
* Bump Standards-Version to 4.2.1
-- tony mancill <tmancill@debian.org> Tue, 20 Nov 2018 20:49:59 -0800
jtreg (4.2-b13-1) unstable; urgency=medium
* Team upload.
......
......@@ -10,7 +10,7 @@ Build-Depends-Indep: default-jdk,
javahelp2,
libxalan2-java,
testng
Standards-Version: 4.2.0
Standards-Version: 4.2.1
Vcs-Git: https://salsa.debian.org/java-team/jtreg.git
Vcs-Browser: https://salsa.debian.org/java-team/jtreg
Homepage: http://openjdk.java.net/jtreg
......
launchers.patch
add-jcommander-to-classpath.patch
use-release-instead-of-source-target.patch
Description: use 'release' instead of 'target' and 'source'
When running jtreg with openjdk-8 and the agentvm it will fail to run with
"java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer".
An easy fix is to replace "source=1.7 target=1.7" with "release=7" in the
ant build script.
Author: Tiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Bug-Debian: https://bugs.debian.org/913853
Bug-Ubuntu: https://launchpad.net/bugs/1803628
Last-Update: 2018-11-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/make/build.xml
+++ b/make/build.xml
@@ -172,7 +172,7 @@
<target name="-compile-jtreg.classes">
<mkdir dir="${build.classes.dir}"/>
- <javac encoding="iso-8859-1" source="1.7" target="1.7"
+ <javac encoding="iso-8859-1" release="7"
debug="true" debuglevel="source,lines"
srcdir="${src.classes.dir}"
destdir="${build.classes.dir}"