File: 0004-java17-compatibility.patch

package info (click to toggle)
nexus 4.4.3-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,876 kB
  • sloc: cpp: 34,928; ansic: 17,317; f90: 2,326; xml: 2,071; java: 1,953; fortran: 1,529; python: 766; makefile: 532; sh: 460; tcl: 173; lisp: 169
file content (21 lines) | stat: -rw-r--r-- 837 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
From: Emmanuel Bourg <ebourg@apache.org>
Date: Mon, 19 Jan 2026 21:22:04 +1100
Subject: Fixes the compatibility with OpenJDK 17

Forwarded: no
---
 bindings/java/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bindings/java/CMakeLists.txt b/bindings/java/CMakeLists.txt
index 8b7a0e6..5189909 100644
--- a/bindings/java/CMakeLists.txt
+++ b/bindings/java/CMakeLists.txt
@@ -107,6 +107,7 @@ if(DEFINED Java_JAVAC_EXECUTABLE)
             OUTPUT    ${JAVA_DOCS}
             COMMAND   ${Java_JAVADOC_EXECUTABLE}
             ARGS      -d ${JAVA_DOCS} -windowtitle jnexus -doctitle jnexus -classpath . 
+                      -Xdoclint:none
                       -sourcepath ${PROJECT_SOURCE_DIR}/bindings/java org.nexusformat ncsa.hdf.hdflib
             DEPENDS   ${JNI_HEADER}
             COMMENT   "Build Javadocs"