File: java9.patch

package info (click to toggle)
beansbinding 1.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 1,388 kB
  • sloc: java: 12,683; xml: 502; sh: 44; makefile: 8
file content (48 lines) | stat: -rw-r--r-- 1,776 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
From: Markus Koschany <apo@debian.org>
Date: Fri, 23 Mar 2018 14:52:39 +0100
Subject: java9

Fix FTBFS with Java 9. Use source/target 1.7 at least.

Bug-Debian: https://bugs.debian.org/893100
Forwarded: no
---
 nbproject/build-impl.xml     | 4 ++--
 nbproject/project.properties | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/nbproject/build-impl.xml b/nbproject/build-impl.xml
index b0d6bbe..42850a6 100644
--- a/nbproject/build-impl.xml
+++ b/nbproject/build-impl.xml
@@ -37,8 +37,8 @@ is divided into following sections:
         <property file="${user.properties.file}"/>
         <!-- The two properties below are usually overridden -->
         <!-- by the active platform. Just a fallback. -->
-        <property name="default.javac.source" value="1.4"/>
-        <property name="default.javac.target" value="1.4"/>
+        <property name="default.javac.source" value="1.7"/>
+        <property name="default.javac.target" value="1.7"/>
     </target>
     <target name="-init-project" depends="-pre-init,-init-private,-init-user">
         <property file="nbproject/project.properties"/>
diff --git a/nbproject/project.properties b/nbproject/project.properties
index c6490ad..3408cff 100644
--- a/nbproject/project.properties
+++ b/nbproject/project.properties
@@ -19,12 +19,12 @@ dist.javadoc.dir=${dist.dir}/javadoc
 file.reference.el.jar=lib/el.jar
 jar.compress=false
 javac.classpath=
-javac.compilerargs=-target 1.5
+javac.compilerargs=-target 1.7
 # Space-separated list of extra javac options
 #javac.compilerargs=-Xlint:unchecked
 javac.deprecation=false
-javac.source=1.5
-javac.target=1.5
+javac.source=1.7
+javac.target=1.7
 javac.test.classpath=\
     ${javac.classpath}:\
     ${build.classes.dir}:\