You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2019/03/19 18:05:35 UTC

[lucene-solr] branch master updated: LUCENE-8729: Workaround to allow compile under JDK13+

This is an automated email from the ASF dual-hosted git repository.

uschindler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new 2a1ed6e  LUCENE-8729: Workaround to allow compile under JDK13+
2a1ed6e is described below

commit 2a1ed6e4848abc6ab9bce27c170bce28a4c9691c
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Tue Mar 19 19:05:15 2019 +0100

    LUCENE-8729: Workaround to allow compile under JDK13+
---
 lucene/CHANGES.txt      | 3 +++
 lucene/common-build.xml | 5 +++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 79ceced..a1ceb1d 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -76,6 +76,9 @@ Other
 
 * LUCENE-8713: Add Line2D tests. (Ignacio Vera)
 
+* LUCENE-8729: Workaround: Disable accessibility doclints (Java 13+),
+  so compilation with recent JDK succeeds.  (Uwe Schindler)
+
 ======================= Lucene 8.0.0 =======================
 
 API Changes
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 0dc3884..e9405a6 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -186,9 +186,10 @@
   <property name="javadoc.maxmemory" value="512m" />
   <property name="javadoc.noindex" value="true"/>
 
-  <property name="javadoc.doclint.args" value="-Xdoclint:all -Xdoclint:-missing"/>
+  <!---TODO: Fix accessibility (order of H1/H2/H3 headings), see https://issues.apache.org/jira/browse/LUCENE-8729 -->
+  <property name="javadoc.doclint.args" value="-Xdoclint:all -Xdoclint:-missing -Xdoclint:-accessibility"/>
   <!---proc:none was added because of LOG4J2-1925 / JDK-8186647 -->
-  <property name="javac.doclint.args" value="-Xdoclint:all/protected -Xdoclint:-missing -proc:none"/>
+  <property name="javac.doclint.args" value="-Xdoclint:all/protected -Xdoclint:-missing -Xdoclint:-accessibility -proc:none"/>
   
   <!-- Javadoc classpath -->
   <path id="javadoc.classpath">