Codebase list jtreg / e781c73
Apply patch for 913853 from Tiago tony mancill 5 years ago
2 changed file(s) with 23 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
00 launchers.patch
11 add-jcommander-to-classpath.patch
2 use-release-instead-of-source-target.patch
0 Description: use 'release' instead of 'target' and 'source'
1 When running jtreg with openjdk-8 and the agentvm it will fail to run with
2 "java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer".
3 An easy fix is to replace "source=1.7 target=1.7" with "release=7" in the
4 ant build script.
5 Author: Tiago Stürmer Daitx <tiago.daitx@ubuntu.com>
6 Bug-Debian: https://bugs.debian.org/913853
7 Bug-Ubuntu: https://launchpad.net/bugs/1803628
8 Last-Update: 2018-11-01
9 ---
10 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
11 --- a/make/build.xml
12 +++ b/make/build.xml
13 @@ -172,7 +172,7 @@
14
15 <target name="-compile-jtreg.classes">
16 <mkdir dir="${build.classes.dir}"/>
17 - <javac encoding="iso-8859-1" source="1.7" target="1.7"
18 + <javac encoding="iso-8859-1" release="7"
19 debug="true" debuglevel="source,lines"
20 srcdir="${src.classes.dir}"
21 destdir="${build.classes.dir}"