Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
Description
on the jira/solr-10290 branch ant build-pdf fails with jdk9...
build-nav-data-files: [java] Building up tree of all known pages [java] Exception in thread "main" org.jruby.exceptions.RaiseException: (LoadError) load error: jruby/java/java_ext/java.lang -- java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @47e4d9d0 [java] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040) [java] at RUBY.(root)(file:/home/hossman/.ivy2/cache/org.asciidoctor/asciidoctor-ant/jars/asciidoctor-ant-1.5.3.jar!/jruby/java/java_ext.rb:3) [java] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040) ... [java] at org.jruby.Ruby.init(Ruby.java:1258) [java] at org.jruby.Ruby.newInstance(Ruby.java:334) [java] at org.jruby.javasupport.JavaEmbedUtils.initialize(JavaEmbedUtils.java:94) [java] at org.asciidoctor.internal.JRubyAsciidoctor.createJRubyAsciidoctorInstance(JRubyAsciidoctor.java:126) [java] at org.asciidoctor.internal.JRubyAsciidoctor.create(JRubyAsciidoctor.java:57) [java] at org.asciidoctor.Asciidoctor$Factory.create(Asciidoctor.java:668) [java] at BuildNavAndPDFBody.main(BuildNavAndPDFBody.java:33)
...it's possible that this is already fixed in current versions of jruby, but not in the version shadded by the asciidoctor-ant-1.5.3.jar we are using