File: default-jdk-compatibility.patch

package info (click to toggle)
statcvs 1%3A0.7.0.dfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,848 kB
  • sloc: java: 10,477; xml: 4,365; sh: 47; makefile: 5
file content (36 lines) | stat: -rw-r--r-- 1,424 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
Description: Fix compatibility with default JDK 21
Author: Julien Plissonneau Duquène <sre4ever@free.fr>
Forwarded: no
Last-Update: 2025-03-29

--- a/build.xml
+++ b/build.xml
@@ -57,7 +57,7 @@
   <target name="compile" depends="init,filter">
     <!-- Compile the java code from ${src} into ${build} -->
     <javac srcdir="${src.filtered}" destdir="${build}" debug="on"
-    source="1.4" target="1.4">
+    source="1.8" target="1.8">
       <classpath refid="project.class.path" />
     </javac>
   </target>
@@ -118,7 +118,7 @@
   <target name="compile.tests" depends="init.tests,compile">
     <!-- Compile the unit tests from ${src.tests} into ${build.tests} -->
     <javac srcdir="${src.tests}" destdir="${build.tests}"
-    debug="on" source="1.4" target="1.4">
+    debug="on" source="1.8" target="1.8">
       <classpath>
         <path refid="project.class.path" />
         <pathelement path="${build}" />
@@ -187,8 +187,8 @@
     author="true" version="true" private="false" use="true"
     splitindex="true" windowtitle="${project}"
     doctitle="${project}">
-      <link href="http://www.jfree.org/jfreechart/api/javadoc/" />
-      <link href="http://java.sun.com/j2se/1.4.2/docs/api/" />
+      <link href="https://www.jfree.org/jfreechart/javadoc/" />
+      <link href="https://docs.oracle.com/javase/8/docs/api/" />
     </javadoc>
   </target>
   <target name="cvs.update">