File: 02_java8_compatibility.patch

package info (click to toggle)
libjibx1.2-java 1.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,260 kB
  • sloc: java: 75,013; xml: 14,068; makefile: 17
file content (19 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Modifies the detection of the JDK to build with any JDK
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/build/build.xml
+++ b/build/build.xml
@@ -49,12 +49,7 @@
     </not>
   </condition>
   <condition property="java5">
-    <or>
-      <equals arg1="${ant.java.version}" arg2="1.5"/>
-      <equals arg1="${ant.java.version}" arg2="1.6"/>
-      <equals arg1="${ant.java.version}" arg2="1.7"/>
-      <equals arg1="${ant.java.version}" arg2="1.8"/>
-    </or>
+    <istrue value="true"/>
   </condition>
 
   <!-- Common classpaths -->