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:14:05 UTC

[lucene-solr] branch branch_8_0 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 branch_8_0
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


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

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

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

diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 2a3efb2..e599d02 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -3,6 +3,13 @@ Lucene Change Log
 For more information on past and future Lucene versions, please see:
 http://s.apache.org/luceneversions
 
+======================= Lucene 8.0.1 =======================
+
+Other
+
+* 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">