[
https://issues.apache.org/jira/browse/LUCENE-8738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818328#comment-16818328
]
Uwe Schindler commented on LUCENE-8738:
---------------------------------------
OK, Solr is not affected, so I will commit my hotfix for Lucene's
module-build.xml only:
{code:xml}
diff --git a/lucene/module-build.xml b/lucene/module-build.xml
index 2853efb..e73f0fc 100644
--- a/lucene/module-build.xml
+++ b/lucene/module-build.xml
@@ -83,6 +83,20 @@
<packageset dir="${src.dir}"/>
</sources>
</invoke-javadoc>
+
+ <!-- fix for Java 11 Javadoc tool that cannot handle split packages
between modules correctly (by removing all the packages which are part of
lucene-core): -->
+ <!-- problem description:
[https://issues.apache.org/jira/browse/LUCENE-8738?focusedCommentId=16818106&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16818106]
-->
+ <local name="element-list-regex"/><!-- contains a regex for all package
names which are in lucene-core's javadoc! -->
+ <loadfile property="element-list-regex"
srcFile="${javadoc.dir}/core/element-list" encoding="utf-8">
+ <filterchain>
+ <tokenfilter delimoutput="|">
+ <replacestring from="." to="\."/>
+ </tokenfilter>
+ </filterchain>
+ </loadfile>
+ <!--<echo>Regex: ^(${element-list-regex})$</echo>-->
+ <replaceregexp encoding="utf-8"
file="${javadoc.dir}/${name}/element-list" byline="true"
match="^(${element-list-regex})$" replace=""/>
+
<jarify basedir="${javadoc.dir}/${name}"
destfile="${build.dir}/${final.name}-javadoc.jar"/>
</sequential>
</macrodef>
{code}
> Bump minimum Java version requirement to 11
> -------------------------------------------
>
> Key: LUCENE-8738
> URL: https://issues.apache.org/jira/browse/LUCENE-8738
> Project: Lucene - Core
> Issue Type: Improvement
> Components: general/build
> Reporter: Adrien Grand
> Priority: Minor
> Labels: Java11
> Fix For: master (9.0)
>
> Attachments: LUCENE-8738-solr-CoreCloseListener.patch
>
>
> See vote thread for reference: https://markmail.org/message/q6ubdycqscpl43aq.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]