Keep using Java 8, but add necessary patches and update jffi and
jruby-launcher dependencies so that Java 11 could be used. The JRuby
team still recommends the use of Java 8 for JRuby, though that will
be changing in the future.
Stop overriding the internal jnr-posix implementation, as the patches
in our copy have been merged upstream. This also means we can drop the
zip/unzip BDEPs.
OK jasper@
Work around upstream regression causing rake/rdoc/ri to not work by
copying the real executables over the rubygems shims.
Fix the #! lines on the executables.
The old ant based tests no longer work, and the new maven tests
require downloading tons of packages at runtime, so punt and mark
NO_TEST=Yes and stop downloading the -src tarball.
system that downloads 190+ .jar files at build time. Switch to using
the binary distribution, since there is no point compiling java source
code to java bytecode when we can use the precompiled java bytecode.
Use our custom jnr-posix distfile with 64-bit time_t support by
directly patching jruby.jar.
Add jruby-launcher gem as a separate distfile, but since we only need
the binary, compile it manually and don't install the gem.
Still keep the src distfile for the tests, because the binary distfile
doesn't include them.
Add patch to work around rubygems regression with .files in the root
of the gem not getting installed (already accepted upstream).
Make jruby binary not segfault if PATH isn't set correctly.
Remove rubygems hacks, since they are no longer necessary now
that the versions of rubygems for the other ruby interpreters
are > 1.3.7.
No longer ship the ri documentation files with JRuby. JRuby
ships with a broken ri binary anyway (requires the rdoc gem to
work), and almost all users of JRuby have MRI ruby installed
and can use its ri binary.
script, so it can now be used in shebang lines. Remove the
building of nailgun, since nailgun support is now part of the
jruby binary.
This requires patching the included jruby-launcher gem to make a
similar change we used to make to the jruby.bash script, to set the
JAVA_HOME environment so things work correctly.
Also, create the SITEARCHDIR directory by default.
OK jcs@