JRuby is an implementation of the Ruby language using the JVM. It aims to be a complete, correct and fast implementation of Ruby, at the same time as providing powerful new features such as concurrency without a global-interpreter-lock, true parallelism, and tight integration to the Java language to allow you to use Java classes in your Ruby program and to allow JRuby to be embedded into a Java application.
You can use JRuby simply as a faster version of Ruby, you can use it to run Ruby on the JVM and access powerful JVM libraries such as highly tuned concurrency primitives, you can use it to embed Ruby as a scripting language in your Java program or many other possibilities.
- An alias-expansion bug reported in CVE-2017-18640 has been patched
by upgrading the Psych YAML library to use a newer version of SnakeYAML. (#6320,
- Internal structures used to optimize Ruby code have been made more thread-safe. Previously, these optimizations could
be seen across threads in a partially-complete state, leading to errors in JRuby’s core runtime.
- IO.copy_stream has been fixed to ensure all read bytes are written. Previously, partial writes would leave some
read bytes in limbo, leading to hangs in net/http among other libraries.
- Fixed a regression from 22.214.171.124 in how we translate JDK socket errors to Ruby’s Errno on Windows.