[ https://issues.apache.org/jira/browse/SOLR-13424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16824216#comment-16824216 ]
Cassandra Targett commented on SOLR-13424: ------------------------------------------ This is from https://builds.apache.org/view/L/view/Lucene/job/Solr-reference-guide-master/15365/ (23 April 2019). The PDF target has several dependent targets, so runs in stages. The {{build-nav-data-files}} dependent target produces the following. This is from Hoss' classes, and builds the hierarchical page navigation: {code} build-nav-data-files: [java] Building up tree of all known pages [java] unsupported Java version "11", defaulting to 1.7 [java] WARNING: An illegal reflective access operation has occurred [java] WARNING: Illegal reflective access by org.jruby.util.io.FilenoUtil (file:/home/jenkins/.ivy2/cache/org.asciidoctor/asciidoctor-ant/jars/asciidoctor-ant-1.6.0-alpha.5.jar) to method sun.nio.ch.SelChImpl.getFD() [java] WARNING: Please consider reporting this to the maintainers of org.jruby.util.io.FilenoUtil [java] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations [java] WARNING: All illegal access operations will be denied in a future release [java] Creating /home/jenkins/jenkins-slave/workspace/Solr-reference-guide-master/solr/build/solr-ref-guide/content/_data/pdf-main-body.adoc [java] Creating /home/jenkins/jenkins-slave/workspace/Solr-reference-guide-master/solr/build/solr-ref-guide/content/_data/scrollnav.json [java] Creating /home/jenkins/jenkins-slave/workspace/Solr-reference-guide-master/solr/build/solr-ref-guide/content/_data/sidebar.json {code} The {{bare-bones-html-validation}} creates a stripped-down HTML for checking that inter-document links work properly, and is also from Hoss' classes, but uses asciidoctor-ant to do the conversion to HTML (some unrelated messages at the end have been stripped): {code} bare-bones-html-validation: [mkdir] Created dir: /home/jenkins/jenkins-slave/workspace/Solr-reference-guide-master/solr/build/solr-ref-guide/bare-bones-html [asciidoctor:convert] unsupported Java version "11", defaulting to 1.7 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.jruby.util.io.FilenoUtil (file:/home/jenkins/jenkins-slave/workspace/Solr-reference-guide-master/solr/solr-ref-guide/lib/asciidoctor-ant-1.6.0-alpha.5.jar) to method sun.nio.ch.SelChImpl.getFD() WARNING: Please consider reporting this to the maintainers of org.jruby.util.io.FilenoUtil WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [asciidoctor:convert] Render asciidoc files from /home/jenkins/jenkins-slave/workspace/Solr-reference-guide-master/solr/build/solr-ref-guide/content to /home/jenkins/jenkins-slave/workspace/Solr-reference-guide-master/solr/build/solr-ref-guide/bare-bones-html with backend=html5 ... [java] Processed 2526 links (1839 relative) to 3355 anchors in 253 files [echo] Validated Links & Anchors via: /home/jenkins/jenkins-slave/workspace/Solr-reference-guide-master/solr/build/solr-ref-guide/bare-bones-html/ {code} > Ref Guide PDF build throws Java errors after requiring Java 11 on master > ------------------------------------------------------------------------ > > Key: SOLR-13424 > URL: https://issues.apache.org/jira/browse/SOLR-13424 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: documentation > Reporter: Cassandra Targett > Priority: Major > > Since the {{master}} branch requires Java 11, the Ref Guide build has started > throwing WARNINGs that we should look into. Despite the WARNINGs, the PDF > build finishes successfully and appears the same as usual. > There are a couple moving parts here - first some classes [~hossman] wrote to > validate links in the PDF, and second a .jar from the {{asciidoctor-ant}} > project. I suspect some of these are related to Hoss' code and some are from > the project that's doing the PDF conversion. > I'll put the output from a Jenkins job in the comment to show the errors. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org