Under JDK 1.8, there are no failures. Under OpenJDK 12 there are two, both NoMethodErrors resulting from calling an instance method of a Java class that is defined in a superclass.
The method is setInitialMode on an instance the class net.sf.saxon.s9api.Xslt30Transformer, from the Saxon 188.8.131.52 XML processing library. The method is defined on net.sf.saxon.s9api.AbstractXsltTransformer. The library can be downloaded from https://sourceforge.net/projects/saxon/files/Saxon-HE/9.9/
The error report is:
undefined method `setInitialMode' for #<Java::NetSfSaxonS9api::Xslt30Transformer:0x5d2e6f62>
Did you mean? set_initial_context_node
The Java packages are imported into a convenience module by the code in lib/saxon/loader.rb
The text was updated successfully, but these errors were encountered:
I put together a simplifed test case at https://github.com/fidothe/jrbug-5885, with a trivial JAR and a trivial ruby script that behaves the same locally. It's running with a ludicrous travis build matrix at the moment.
I set up a travis build matrix (https://travis-ci.com/fidothe/jrbug-5885) that runs the examples against JRuby 9.2 and 9.1, and against OpenJDK 8 and 11. The failure happens for both 9.2 and 9.1 against OpenJDK 11, and they both succeed on OpenJDK 8.