[Pkg-libvirt-commits] [libguestfs] 248/384: java: Turn off doclint to prevent errors on JDK 8

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 16:57:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 8940b03658e9e68adfea03dfd1044addd64d3d7a
Author: Margaret Lewicka <margaret at meaningless.name>
Date:   Mon Feb 9 11:06:17 2015 +0000

    java: Turn off doclint to prevent errors on JDK 8
    
    On JDK 8, doclint is enabled by default with strict validation of HTML
    tags, which causes the build to fail. See
    http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
---
 java/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/Makefile.am b/java/Makefile.am
index fa5b45c..a76a9d1 100644
--- a/java/Makefile.am
+++ b/java/Makefile.am
@@ -68,7 +68,7 @@ clean-local:
 if HAVE_JAVA
 
 JAVAC_FLAGS = $(EXTRA_JAVAC_FLAGS) -encoding utf-8
-JAVADOC_FLAGS = -encoding utf-8
+JAVADOC_FLAGS = -encoding utf-8 -Xdoclint:none
 
 # Java source.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list