File: disable-java-version-check.diff

package info (click to toggle)
gluegen2 2.6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,320 kB
  • sloc: java: 55,357; ansic: 3,758; xml: 3,328; sh: 1,565; pascal: 591; asm: 162; makefile: 76
file content (22 lines) | stat: -rw-r--r-- 826 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
Description: Disables the Java version check since the JRE in Debian always
 meets the minimum requirement and the check routinely breaks with the latest JREs.
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/make/jogamp-env.xml
+++ b/make/jogamp-env.xml
@@ -130,15 +130,6 @@
     </condition>
     <echo message="minJava8                   ${minJava8}"/>
 
-    <!-- Only for junit runtime tests Java 11 is allowed, for building Java 11 is required. -->
-    <fail message="Unsupported Java version: ${ant.java.version}. Make sure that the version of Java is 11 or greater.">
-        <condition>
-            <not>
-                <istrue value="${minJava11}"/>
-            </not>
-        </condition>
-    </fail>
-
   </target>
 
   <target name="jogamp.env.init" depends="jogamp.env.validation">