Closed chrisvest closed 5 years ago
Thanks for taking this on!
The right people to ping are @johncarl81 and @msgilligan.
Also a ping for @robertpanzer in case he has seen this before.
Sorry I haven't had any time to help with this, but I should be able to test the ConsensusJ build. I just upgraded the Travis config so it can build with OpenJDK11 although I have it disabled because it's using old Asciidoclet. Here's the issue I created: https://github.com/ConsensusJ/consensusj/issues/55
Looks like there's some issues in the build? I haven't done anything with java modules yet, so I'm not sure.
Closing because I don't intend to pursue this one any further. #96 appears to work, and is enough for my purposes.
This PR is based on #96 for the Java 11 upgrade.
When upgrading asciidoctorj to versoin 2.1.0, the build starts to fail as shown below. It looks like the JNR dependency of JRuby is not properly modularised, and causes Java package conflicts because both
jnr-enxio
andjnr-unixsocket
define ajnr.enxio.channels
package. In a modular Java world, two modules cannot both define the same package, even when they are anonymous modules.Ping @mojavelinux & @headius.
I haven't yet checked if there are newer versions of JNR or JRuby that solves this already. I can do that later.
I also tried excluding either the unixsocket or the enxio dependencies in maven, but doing that causes
NoClassDefFoundErrors
, so both are clearly needed.