You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Dawid Weiss (Jira)" <ji...@apache.org> on 2021/06/09 08:46:00 UTC

[jira] [Resolved] (LUCENE-9995) JDK17 generates wbr tags which make javadocs checker angry

     [ https://issues.apache.org/jira/browse/LUCENE-9995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dawid Weiss resolved LUCENE-9995.
---------------------------------
    Fix Version/s: main (9.0)
       Resolution: Fixed

> JDK17 generates wbr tags which make javadocs checker angry
> ----------------------------------------------------------
>
>                 Key: LUCENE-9995
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9995
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Trivial
>             Fix For: main (9.0)
>
>
> Jenkins fails on [2]. According to [1], wbr is a no-close tag.
> {code}
> > Task :lucene:documentation:checkBrokenLinks FAILED
> Crawl/parse...
>   file:///home/jenkins/workspace/Lucene-main-Linux/lucene/documentation/build/site/test-framework/org/apache/lucene/util/LuceneJUnit3MethodProvider.html
>   WARNING: failed to parse file:///home/jenkins/workspace/Lucene-main-Linux/lucene/documentation/build/site/test-framework/org/apache/lucene/util/LuceneJUnit3MethodProvider.html:
> Traceback (most recent call last):
>   File "/home/jenkins/workspace/Lucene-main-Linux/gradle/documentation/check-broken-links/checkJavadocLinks.py", line 109, in parse
>     parser.feed(html)
>   File "/usr/lib/python3.8/html/parser.py", line 111, in feed
>     self.goahead(0)
>   File "/usr/lib/python3.8/html/parser.py", line 173, in goahead
>     k = self.parse_endtag(i)
>   File "/usr/lib/python3.8/html/parser.py", line 421, in parse_endtag
>     self.handle_endtag(elem)
>   File "/home/jenkins/workspace/Lucene-main-Linux/gradle/documentation/check-broken-links/checkJavadocLinks.py", line 91, in handle_endtag
>     raise RuntimeError('%s %s:%s: saw </%s> but expected </%s>' % (self.baseURL, self.getpos()[0], self.getpos()[1], tag, self.stack[-1]))
> RuntimeError: file:///home/jenkins/workspace/Lucene-main-Linux/lucene/documentation/build/site/test-framework/org/apache/lucene/util/LuceneJUnit3MethodProvider.html 108:63: saw </code> but expected </wbr>
> {code}
> [1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr
> [2] https://jenkins.thetaphi.de/job/Lucene-main-Linux/30552/consoleFull



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org