(unknown):0: warning: already initialized constant org.jruby.gen::InterfaceImpl1274018768
setConstantCommon:4981, RubyModule (org.jruby)
setConstant:4949, RubyModule (org.jruby)
setProxyClass:266, Java (org.jruby.javasupport)
addToJavaPackageModule:868, Java (org.jruby.javasupport)
getProxyClassFromCache:378, JavaSupport (org.jruby.javasupport)
getProxyClass:441, Java (org.jruby.javasupport)
getProxyClass:434, Java (org.jruby.javasupport)
getInstance:299, Java (org.jruby.javasupport)
getInstance:281, Java (org.jruby.javasupport)
newInterfaceProxy:311, JavaInterfaceTemplate (org.jruby.java.proxies)
access$100:59, JavaInterfaceTemplate (org.jruby.java.proxies)
call:259, JavaInterfaceTemplate$InterfaceProxyFactory (org.jruby.java.proxies)
call:212, DynamicMethod (org.jruby.internal.runtime.methods)
finvoke:598, RubyClass (org.jruby)
invoke:708, Helpers (org.jruby.runtime)
convertProcToInterface:267, JavaUtil (org.jruby.javasupport)
defaultToJava:818, RubyBasicObject (org.jruby)
toJava:797, RubyBasicObject (org.jruby)
rubyToJava:263, JavaEmbedUtils (org.jruby.javasupport)
toJava:160, RubyObjectWrapper (org.asciidoctor.jruby.internal)
getStructuredDoctitle:48, DocumentImpl (org.asciidoctor.jruby.ast.impl)
documentTitle:35, AsciidocFileConverter (com.github.zeldigas.text2confl.convert.asciidoc)
computeTitle:31, AsciidocFileConverter (com.github.zeldigas.text2confl.convert.asciidoc)
toHeader:23, AsciidocFileConverter (com.github.zeldigas.text2confl.convert.asciidoc)
readHeader:16, AsciidocFileConverter (com.github.zeldigas.text2confl.convert.asciidoc)
Read header from first header$convert:95, AsciidocFileConverterTest (com.github.zeldigas.text2confl.convert.asciidoc)
I'm using v3.0.0 of asciidoctorj and observing that ruby emits warning:
After some debugging, I spotted the place - this happens when I call
getStructuredDocttitlein my code:Stack trace:
Observations:
Asciidoctorinterface results inConcurrentModificationException#1158.B