File: java17-compatibility.patch

package info (click to toggle)
nexus 4.4.3-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 26,860 kB
  • sloc: cpp: 34,928; ansic: 17,317; f90: 2,326; xml: 2,071; java: 1,953; fortran: 1,529; python: 766; makefile: 533; sh: 460; tcl: 173; lisp: 169
file content (13 lines) | stat: -rw-r--r-- 594 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Fixes the compatibility with OpenJDK 17
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/bindings/java/CMakeLists.txt
+++ b/bindings/java/CMakeLists.txt
@@ -107,6 +107,7 @@
             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"