JRuby Changelog

What's new in JRuby 9.4.6.0

Feb 21, 2024
  • Ruby Compatibility:
  • Support for the new Prism parser for Ruby code has been merged in. A blog post will follow soon. #8103
  • IO#fcntl had inverted logic for setting O_NONBLOCK (setting it cleared the value, etc). [#8081], [#8090]
  • Many fixes to language and core class compatibility, see issue list.
  • Warnings should match verbosity levels of CRuby, with many unwanted warnings now properly omitted without verbose enabled. #7183, #8071
  • Standard Library:
  • json is updated to 2.7.1. #7752, #7954
  • io-console is updated to 0.7.2. This version fixes IRB on Apple M-series by using stty for console manipulation. #8012
  • nkf is now supported by gem version 0.2.0. #8077
  • strscan is updated to 3.1.0. #8074, [#8086]
  • reline is updated to 0.4.2 #8102
  • jruby-openssl is updated to 0.14.3 #8107
  • JVM Integration:
  • Ruby Symbols can be use as arguments to JVM methods that receive Java String. #8015, #8057
  • Starting with Java 17, package-private methods will no longer be bound automatically even if they can be made visible. #8061, #8093
  • Native Integration:
  • The subsystem used for native calls has been updated to support RHEL/CentOS 7 and the Java 9+ Cleaner API. [#8104]
  • Performance:
  • Performance of keyword argument handling has been improved. #8021
  • Pattern matching is now supported in JRuby’s JIT compiler. #8026, #8027
  • 77 Github Issues resolved for 9.4.6.0:
  • #4808 Rework global variables, caching to eliminate race conditions
  • #6430 Using

New in JRuby 9.4.5.0 (Nov 5, 2023)

  • Ruby Compatibility:
  • The experimental Fiber::Scheduler and IO::Buffer APIs are now supported, based on the Ruby 3.3 implementation. Pass -Xexperimental.fiber.scheduler to JRuby to enable. #7944
  • For information on Fiber::Scheduler, see https://docs.ruby-lang.org/en/3.2/Fiber/Scheduler.html.
  • For information on IO::Buffer, see https://docs.ruby-lang.org/en/3.2/IO/Buffer.html.
  • 20 Github Issues resolved for 9.4.5.0:
  • #6346 TCPSocket hangs when RST is received on Windows
  • #7944 Support for fiber scheduler API
  • #7961 Socket.each loops after receiving RST pegging CPU at 100%
  • #7967 Propagate read errors in IO backend
  • #7968 RbConfig::CONFIG[“SOEXT”] is missing on JRuby
  • #7969 add RbConfig::CONFIG[“SOEXT”]
  • #7970 Hide FilenoUtil warning behind native.verbose property
  • #7971 Bootstrap cleanup
  • #7972 Update strscan to 3.0.7
  • #7975 Fix ENOENT with TestProcessSpawn on Debian
  • #7976 .delete_if blocks allow deleting same object from array twich
  • #7978 Less Load{Frame,Implicit}ClosureInstr
  • #7979 Process stuck with 100% cpu when using jruby 9.4.4.0
  • #7980 Fix length handling in select!/reject! ensure
  • #7982 Error using ActiveSupport::Testing::TestHelpers (7.1.1) on jruby-9.4.4.0
  • #7983 Build, test failures when build directory contains special characters
  • #7984 Remove unnecessary cast of kwargs
  • #7985 Make sure gems path is regex-safe
  • #7990 [fix] infinite loop calling Java super from Ruby
  • #7993 Preserve insertion order for ivars

New in JRuby 9.4.4.0 (Oct 19, 2023)

  • Ruby Compatibility:
  • Multiple fixes for keyword arguments edge cases. #7854, #7855, #7857, #7858
  • Standard Library:
  • Default gem updates:
  • jruby-openssl 0.14.2. #7886
  • psych is updated to 5.1.1.1, which uses SnakeYAML and exposes Psych::Parser.code_point_limit= for globally setting the code point limit.
  • bigdecimal is now a default gem (3.1.4) for the pure-Ruby portions; the extension remains part of JRuby itself. #7925
  • stringio is updated to 3.0.8. #7881
  • Platform Support:
  • This release includes native support for Windows on the AArch64 (ARM64) platform. #7843, #7936, #7937, #7941, #7945, #7960
  • The jruby shell script gains support for ksh93, meaning that essentially all Bourne-compatible shells can run it. #7870
  • JVM Integration:
  • Virtual thread use in Fiber can now be disabled using the jruby.fiber.vthread=false property (or JRuby flag -Xfiber.vthread=false). #7907
  • Multiple small bugs in JVM bytecode generation and invokedynamic logic were discovered and fixed. #7913
  • Build and Distribution:
  • The JRuby/Maven stack of plugins used to integrate Ruby and Maven artifacts have been updated to the latest versions, now using JRuby 9.4.3.0 for builds and avoiding the use of deprecated rubygems.org APIs. #7872
  • Performance:
  • Conditional assignment of instance variables now requires only a single lookup, and optimizes to a simple read after assignment. #7891, #7896
  • 78 Github Issues and PRs resolved for 9.4.4.0:
  • #7430 - Rails fails to boot under Java 19
  • #7470 - OpenJ9 failing -Ptest
  • #7623 - setup and fix issues reported by error-prone compiler
  • #7649 - Infinite loop in StringScanner regex
  • #7815 - NullPointerException for compiled code with for loop
  • #7839 - `clone’: wrong number of arguments (given 1, expected 0) (ArgumentError) in JRuby 9.4.x
  • #7843 - FFI Support for aarch64-windows
  • #7847 - File subclass doesn’t pass arguments from open to new properly
  • #7848 - Wrong interpretation of multi-expression when clause
  • #7849 - Fixes #7848. Wrong interpretation of multi-expr when clause
  • #7850 - Fixes #7847. File subclass passes args from open to new wrong
  • #7851 - @JRubyMethod minimum argument not enforced in 9.4.3.0
  • #7852 - Array#intersect? incompatibility
  • #7853 - Fix #7839. `clone’: wrong number of arguments
  • #7854 - Pattern matching with an empty hash should result in no match
  • #7855 - eval vs lvars scope
  • #7857 - Fixes #7855. pattern assoc assigns should scope
  • #7858 - Fixes #7854. Pattern matching with an empty hash should not match
  • #7859 - Coverage library returns incorrect info for hash literal constants
  • #7860 - Restore arity-checking with an opt-out flag
  • #7861 - org.jruby.RubyLoadError getCause returns itself
  • #7863 - Fixes #7859. Coverage returns incorrect info for hash literal constants
  • #7864 - –help and other output does not check TTY
  • #7866 - Recursive hashing corrupts shared hash buffer
  • #7867 - [deps] update jruby-openssl to 0.14.2
  • #7868 - Expanding on an older method of putting call linenums in right place
  • #7869 - Make sure Ruby exception does not provide itself as cause.
  • #7870 - Launcher tweaks
  • #7872 - Migrate to new mavengem
  • #7875 - always_verify_ssl_certificates causes class cast error
  • #7881 - Update StringIO and reenable specs
  • #7882 - [fix] duplicate hash key literal removal
  • #7886 - Update jruby-openssl
  • #7887 - Fix BigDecimal#power with negative integer
  • #7888 - Fix dynscopes
  • #7890 - Fix BigDecimal#eql? when an argument is Rational
  • #7891 - Conditional assignment of field does two lookups
  • #7892 - Fix BigDecimal#quo with prec and without prec
  • #7893 - Add INT64_MAX, INT64_MIN, UINT64_MAX, LLONG_MAX, LLONG_MIN and ULLONG_MAX to RbConfig::LIMITS
  • #7894 - Fix BigDecimal#div when an argument is object
  • #7895 - Fix BigDecimal.allocate to raise TypeError
  • #7896 - Optimize @a ||= x and defined?(@a)
  • #7897 - Update test_bigdecimal.rb and fix a few failures
  • #7898 - Marshal.dump with frozen string literals differs on –debug flag
  • #7899 - Call-site cache remaining callMethod in Set
  • #7901 - Protect cached threadlocal in recursive hash
  • #7903 - Move frozen string debug fields into subclass
  • #7904 - invokedynamic makes Concurrent::TimerTask.execute reliably result in java.lang.invoke.WrongMethodTypeException
  • #7905 - RubyArray: Fix intersect? for small arrays
  • #7911 - multiple applications in tomcat and jruby 9.4.3.0 com.headius.invokebinder.InvalidTransformException: java.lang.IllegalAccessException
  • #7913 - Multiple fixes for forced JIT and indy-based Java dispatch
  • #7918 - Unexpected ArgumentError calling Forwardable delegated single splat method with keyword arguments
  • #7922 - Addrinfo
  • #7923 - add Addrinfo#ipv6_unique_local?
  • #7924 - (master) frozen string errors with --debug
  • #7925 - Switch to bigdecimal gem
  • #7926 - Proc.new with no args no longer supported in 3.1
  • #7927 - Fixes #7649. Infinite loop in StringScanner regex
  • #7928 - More frozen string tweaks
  • #7929 - Fixes #7918. Error with single splat method with keyword arguments
  • #7931 - Store absolute path of main at load time
  • #7936 - Update jnr stack
  • #7937 - File.chown throws “SystemCallError:Unknown error (SystemCallError)” at Windows11 on Arm64
  • #7940 - More testing with Java 21
  • #7941 - Update ffi to 1.16.1
  • #7942 - fnmatch not matching glob syntax in 9.3.8 but it did in 9.2.20.1
  • #7945 - Update ffi to 1.16.2
  • #7946 - In some cases sorting using String.casecmp results in Comparison method violates its general contract!
  • #7947 - fnmatch not matching glob syntax
  • #7948 - Fix #7815. NullPointerException for compiled code with for loop
  • #7949 - Use a lookup() for field access in static constant
  • #7950 - Convert to lower, not upper, for casecmp
  • #7952 - Avoid ANSI formatting when not on a TTY
  • #7955 - Misc regex and strscan improvements
  • #7956 - Re-enable J9 test in CI
  • #7957 - Use new GHA M1 runner
  • #7960 - Update ffi to 1.16.3
  • #7966 - Update to psych 5.1.1.1

New in JRuby 9.4.3.0 (Jun 8, 2023)

  • Ruby Compatibility:
  • Multiple fixes for keyword arguments edge cases. #7676, #7755, #7804, #7816
  • Standard Library:
  • Default gem updates:
  • rubygems 3.3.26 #7831
  • bundler 2.3.26 #7831
  • cgi 0.3.6 #7831
  • date 3.3.3 (stub gem on JRuby) #7831
  • ffi 1.15.5 #7831
  • jruby-openssl 0.14.1
  • net-http 0.3.0 #7831
  • net-protocol 0.1.2 #7831
  • reline 0.3.5 #7831
  • ffi-binary-libfixposix 0.5.1.1 to support Apple M1 (used by subspawn for improved subprocess management)
  • time 0.2.2 #7831
  • timeout 0.3.2 #7831
  • uri 0.12.1 #7831
  • Bundled gem updates: #7831
  • net-imap 0.2.3
  • Many fixes for BigDecimal behavior by @k77ch7. #7747, #7758, #7766, #7767, #7768, #7778, #7779, #7780, #7781, #7813, #7827
  • Rippper now passes all tests related to the syntax_tree gem. #7776
  • Performance:
  • Various small optimizations based on Rails and other frequent use cases. #7522, #7720, #7722, #7783, #7789
  • JVM Integration:
  • InvokeDynamic support is now being tested across five major test suites on Java 17 and passes all tests that non-indy execution passes. #7797
  • 79 Github Issues resolved for 9.4.3.0:
  • #1422 - GzipReader#mtime gives the wrong time
  • #6607 - Clean up javadoc for stricter Java 11
  • #7452 - Default external to locale as in CRuby
  • #7474 - Rails 7 support
  • #7522 - case/when optimizations
  • #7579 - GLIBC compatibility with RHEL/CentOS 7 and JRuby 9.4.0.0
  • #7673 - Enable more traces and reduce costs of others
  • #7676 - ruby2_keywords should not warn when using …
  • #7711 - Constants set by autoload have wrong line number in JIT
  • #7712 - Use real stack trace for autoload const location
  • #7714 - Enumerator cleanup
  • #7717 - sass-embedded gem extension install fails with rake require error on Windows with JRuby 9.4.2.0
  • #7718 - Deprecation cleanup
  • #7719 - Fixes #7717. sass-embedded gem extension install fails with jruby-com…
  • #7720 - More indy call optz
  • #7722 - Eliminate duplication for optimized case/when build
  • #7723 - passing specs
  • #7724 - Syslog tags
  • #7725 - More specs already fixed
  • #7726 - Ruby-based SecurityManager can recurse forever
  • #7728 - [feat] make Ruby#setWarningsEnabled actually useful
  • #7734 - Object with finalizer dumps wrong data leading to: load': marshal data too short
  • #7735 - Dir.home is no longer compatible with CRuby after JRuby 9.3
  • #7738 - Fix Dir.home called with nil user
  • #7739 - Don’t try to marshal non-serializable variables
  • #7740 - irb error on Mac M1
  • #7741 - some line numbers on warnings are off by 1
  • #7743 - [ripper] NPE during parsing the rspec documentation
  • #7744 - The File#absolute_path? implementation in JRuby 9.4.x.x causes issues with asciidoctor-pdf
  • #7745 - Pathname#absolute? stopped working properly for URIs
  • #7746 - Flaky test running rack on JRuby
  • #7747 - Ruby 3.1 : fix Bigdecimal
  • #7751 - Move arity-checking into variable-arity method bodies
  • #7753 - Fix #7743. NPE during parsing the rspec documentation
  • #7755 - Fixes #7676. ruby2_keywords should not warn when using …
  • #7756 - Regression go away
  • #7757 - Migrate regressions into jruby:spec or remove if already covered
  • #7758 - Fix BigDecimal#sub with Object and significant digits
  • #7761 - Can’t match rspec errors in 9.4.2.0
  • #7764 - Mysterious “unused literal ignored” warnings
  • #7765 - GH-6607 Clean up javadoc for stricter Java 11
  • #7766 - Fix rounding mode constants of BigDecimal to use the same mri’s values
  • #7767 - Fix BigMath#exp and #log error message for edge cases
  • #7768 - Fix BigDecimal(0, NAN and INFINITY) to return always same object
  • #7770 - Fixes #7769. regexp with / before mbc should work.
  • #7774 - ripper presents an extra on_var_field for opt parameters in methods
  • #7775 - Fixes #7774. ripper presents an extra on_var_field for opt params
  • #7776 - Ripper fixes found while running syntax_tree gems tests.
  • #7777 - fix try_convert error message
  • #7778 - Fix BigDecimal#to_s for edge case
  • #7779 - Fix bigdecimal/util’s #to_d and BigDecimal.interpret_loosely to return correct value for loosely case
  • #7780 - Fix several BigDecimal failures
  • #7781 - Add BigDecimal#power(n, prec)
  • #7783 - Rails profiling optimizations
  • #7789 - Java call optimizations
  • #7790 - jruby –help displays removed taint level command line option
  • #7791 - Remove obsolete command line option -T[level]
  • #7793 - Macbook M1 JRuby 9.4.2.0 Could not open library ‘fixposix’ ‘libfixposix.dylib’
  • #7797 - Fix recent regressions on master
  • #7800 - Update time and uri for recent ReDoS issues
  • #7801 - Update time to 0.2.2 and use date stub gem 3.3.3
  • #7802 - Update Subspawn to fix #7793
  • #7804 - Incorrect ArgumentError: wrong number of arguments
  • #7807 - Update joni to 2.2
  • #7808 - Update to backport9 1.13 for module javadoc fix
  • #7813 - Add BigDecimal#quo(value, digits)
  • #7814 - Update jzlib and fix mtime
  • #7816 - Fixes #7804. Incorrect ArgumentError: wrong number of arguments
  • #7818 - Small documentation issues regarding java options
  • #7820 - Accessing Encoding from java code is broken on new thread
  • #7824 - Use top self for evalScriptlet, since no frame yet
  • #7826 - Fix Rational#truncate with an invalid value
  • #7827 - Fix BigDeciaml#to_f
  • #7828 - Improve verbiage of how to use properties.
  • #7830 - ArrayIndexOutOfBoundsException matching regex against emoji string
  • #7831 - Update stdlib gems and compat to 3.1.4
  • #7832 - Update JNR versions
  • #7833 - Update IRB tests to 1.7.0 version
  • #7834 - Return to IRB 1.4.2 for now

New in JRuby 9.4.2.0 (Mar 9, 2023)

  • Ruby Compatibility:
  • __callee__ now properly returns the name under which a method was called, which will be the new name in the case of aliased methods. #2305, #7702
  • More use cases for keyword arguments have been fixed to behave correctly and avoid extraneous warnings. #7637, #7645, #7657, #7658, #7670, #7672, #7686
  • Array#pack now supports more cases, passing nearly all specs. #7663
  • Compatibility with CRuby’s command-line arguments has been improved. #7678, #7680, #7681, #7681, #7683, #7684
  • Standard Library:
  • irb is updated to 1.4.2. #7690, #7691
  • open-uri is updated to 0.3.0. #7701
  • io-wait is updated to 0.3.0. #7701
  • stringio is updated to 3.0.5. #7701
  • strscan is updated to 3.0.6. #7701
  • open3 is switched to using the gem at 0.1.2. #7701
  • Platform Support:
  • Exception backtraces now default to color output when the controlling terminal is a TTY. Disable using -Xbacktrace.color=false or equivalent in .jrubyrc. #7693
  • Performance:
  • String#split has been optimized to skip regular expression use for simple split expressions. Simple ASCII strings also split faster. #7629
  • 54 Github Issues resolved for 9.4.2.0:
  • #2305 - __callee__ behaves differently from MRI
  • #7477 - Integer#chr(encoding: Encoding::UTF_8) raises a different RangeError exception message than on CRuby
  • #7480 - Cannot call SubClass#initialize_copy with an object created from the super class
  • #7615 - opt != for fixnum in JIT/indy
  • #7629 - Split opts
  • #7637 - 9.4.1.0: Wrong number of arguments with kwargs when subclassing a java class
  • #7639 - Typing @ into irb in 9.4.1.0 crashes it
  • #7641 - “Port already in use” errors when configuring remote JMX in 9.4
  • #7642 - [9.4.1.0] ArrayIndexOutOfBoundsException
  • #7643 - Use SmartBinder to set up struct calls
  • #7645 - Fixes #7637. Arity error with kwargs when subclassing a java class
  • #7650 - BigDecimal arithmetic regression [jruby-9.4]
  • #7652 - Fix Float#to_d of bigdecimal/util
  • #7653 - Fix Struct#values_at when passed an integer Range argument for edge cases
  • #7655 - JIT coverage fixes
  • #7656 - Regression: Class variables in top level methods broken compared to MRI & 9.3
  • #7657 - Pattern matching unexpectedly raises “duplicated key name” error
  • #7658 - remove deplicated key name error
  • #7659 - Fix for #7656.
  • #7662 - END blocks had regressed and was calling same block >1
  • #7663 - Array#pack unknown directive warns
  • #7664 - All these work?
  • #7665 - Arity errors for ‘call’ things in Signal#trap
  • #7666 - Array#new size boundary error not tripping
  • #7667 - Kernel#respond_to? return wrong error string but right error.
  • #7668 - Array#to_s/inspect should be same method
  • #7669 - Proc#inspect with &:foo should print that out in str
  • #7670 - Probably method_missing is not handling keyword arguments properly [jruby-9.4.1.0]
  • #7671 - Binding local_variables makes sure they are lvars
  • #7672 - jruby-9.4.1.0 issues warning about duplicated keys
  • #7674 - Fix #7672. warning about duplicated keys
  • #7675 - JIT loses line numbers in some warnings?
  • #7678 - Add –encoding command line option.
  • #7679 - Spec sweep
  • #7680 - disabling RUBYOPT processing was not hooked up.
  • #7681 - Frozen string debugging off by one.
  • #7682 - The -p command line should use print and not puts.
  • #7683 - All -I provided relative paths shold be made absolute
  • #7684 - Fixed windowsJ encoding and do not set on invalid K values
  • #7685 - Add a warn form that takes a callback
  • #7686 - Fix #7670. Coverage data goes off the rails.
  • #7687 - Passing specs
  • #7690 - Update irb to version 1.4.2+
  • #7691 - Updates irb to 1.4.2
  • #7693 - Enable color if console is a tty
  • #7694 - Mimic CRuby’s range error logic for chr
  • #7696 - Make coderange set on strings created from some IO ops
  • #7700 - Define real error methods to avoid callee
  • #7701 - Update gems
  • #7702 - Encode new and old name in aliased calls
  • #7708 - Enumerator.new takes at most one arg
  • #7709 - Eliminate 2- and 3-arity paths for Enumerator#initialize
  • #7715 - We were quoting symbols in inspect we shouldnt have
  • #7716 - Add infra to support Ruby 3.1 pattern error messages.

New in JRuby 9.4.1.0 (Feb 7, 2023)

  • Ruby Compatibility:
  • Several fixes to keyword arguments are included in this release. #7434, #7494, #7497, #7502, #7513, #7537, #7552, #7561, #7572, #7573, #7574, #7583, #7592, #7593
  • Random has been fixed to work properly with SecureRandom, which was generating all zeros. #7586, #7597, #7607, #7617
  • Standard Library:
  • The Psych YAML library is updated to 5.1.0. This version switches the JRuby extension to SnakeYAML Engine, avoiding CVEs against the original SnakeYAML and updating YAML compatibility to specification version 1.2. #6365, #7570, #7626
  • Platform Support:
  • Final changes to support the LoongArch64 architecture have been merged in. #7518
  • Performance:
  • Overall JIT bytecode size has been improved, allowing more methods to compile to JVM bytecode. The maximum IR size eligible for JIT has been increased from 1000 instructions to 3000 instructions. #7589
  • 84 Issues resolved for 9.4.1.0:
  • #5534 - irb and rails console broken on windows 10
  • #6297 - jruby-jars profile fails on Java 11
  • #6365 - Psych syntax error changed in JRuby 9.2.13.0
  • #7112 - RSpec can’t match errors in jruby-9.4.0.0
  • #7434 - [9.4.0.0] IR compiler/interpreter bug: org.jruby.ir.operands.UndefinedValue should not be used as a valid value during execution.
  • #7476 - Zlib::GzipWriter cannot be properly sub-classed
  • #7479 - Cannot sub-class Zlib::GzipWriter and call .wrap
  • #7481 - Symbol#to_s returns a frozen String
  • #7485 - JRuby 9.4 defines Hash#index, and defines Hash.ruby2_keywords_hash{,?} as instance methods
  • #7486 - Regression in 9.4 (optimizer? JIT?)
  • #7487 - Regression in 9.4 IRB parser
  • #7488 - Remove Hash index method, and fix ruby2_keywords_hash module method
  • #7489 - Symbol to_s returns frozen string
  • #7490 - Update actions/checkout version to v3
  • #7491 - Enumerator using Enumerable method with Symbol#to_proc passing wrong value to yield
  • #7492 - Possible regression in JRuby v9.4.0.0
  • #7493 - one-time-execute can sometimes contain a closure. guard it.
  • #7494 - Specific arity kwargs undefined
  • #7497 - We should not be setting callInfo anywhere but the call(site) sans (K…
  • #7499 - Warnings in Rake’s extension code to FileUtils under JRuby 9.4.0.0
  • #7500 - “Unknown node encountered in builder” error on previously working code
  • #7501 - DNodes are ListNodes and get compiled wrong in presence of a splat.
  • #7502 - Excessive kwargs duplicate key warns
  • #7503 - [refactor] make Java embed utils generic
  • #7506 - JRuby 9.4.0.0 Anonymous block argument after a splat is broken
  • #7509 - Fix syntax error in all cases where & is a param.
  • #7510 - Fixes #7479. Cannot sub-class Zlib::GzipWriter and call .wrap
  • #7511 - Fixes #7476. Zlib::GzipWriter cannot be properly sub-classed
  • #7513 - Kwargy
  • #7518 - Support for LoongArch64
  • #7520 - Error running rubocop with JRuby 9.4.0.0
  • #7521 - FFI errno spec fails on JRuby on Windows
  • #7525 - ENV encoding fixes (windows)
  • #7526 - Refinement does not self-refine properly
  • #7527 - alias winapi_error to lasterror
  • #7529 - Enumerator#inspect produces an ASCII-8BIT encoded String
  • #7531 - Enumerator#inspect: Use String concatenation not just bytelist appends
  • #7532 - Enumerator inspect tests
  • #7534 - [feat] allow enabling warnings wout changing $VERBOSE
  • #7535 - Refinement regression on 9.4
  • #7536 - Fixes #7492. define_method should use definition scope.
  • #7537 - Keyword argument regression in JRuby 9.4
  • #7539 - The :binmode keyword argument isn’t applied on Tempfile in JRuby 9.4
  • #7541 - passthrough anno added
  • #7547 - jruby-complete cannot start irb in windows
  • #7549 - [ji] support converting RubyThread to a java.lang.Thread
  • #7550 - Fix Enumerable#zip when an argument does not have each method
  • #7551 - UnboundMethod#bind should use virtual include class for module methods
  • #7552 - Fixes #7537. Kwargs arg regression.
  • #7556 - jRuby 9.4 fails to load Celluloid gem
  • #7557 - [ji] revert Thread#to_java behavior to stay compatible, for now
  • #7561 - Delegating methods must be able to set ruby2_keywords on delegate.
  • #7563 - Fix comparator of Bignum and Infinity
  • #7564 - Fix Numeric#remainder when divisor is infinity
  • #7566 - Fix Float#floor and Float#round for some edge cases
  • #7567 - Fix missing require in mri-core tests
  • #7570 - New snakeyaml vulnerability has dropped, affects jruby-complete
  • #7571 - [refactor] warnings which assumed a message is being passed
  • #7572 - Keyword arguments are catched as arguments instead of keyword arguments
  • #7573 - Fixes #7572. Blocks with only keywords losing keyword status.
  • #7574 - Simplify logic in IRBuilder for keyword arguments.
  • #7576 - yield from Enumerator raises “no receiver given”
  • #7580 - Enumerator acts differently when Symbol#to_proc is used
  • #7583 - Dir[] with multiple patterns fails if kwargs given.
  • #7586 - SecureRandom.random_number is always 0
  • #7589 - JIT size and perf improvements
  • #7591 - Fix Float#round with half even option
  • #7592 - Unexpected ArgumentError due to a JIT bug in JRuby 9.4.0.0
  • #7593 - Code was trying to make an int out of the kwargs hash.
  • #7594 - Attempt at making proper inflate error happen.
  • #7595 - Set refinement bit before building closure
  • #7596 - Java::JavaLang::ClassCastException when initializing instance variable
  • #7597 - If no seed given, use default random for seed
  • #7599 - Treat send of using or refine as refinement
  • #7601 - Fixed launch jruby in MSYS2 environment
  • #7602 - Some ranges will ‘warning: … at EOL, should be parenthesized?’
  • #7603 - Fix errant … warning
  • #7606 - Use an identity map for the partial objects
  • #7607 - Array#sample does not honor random byte gen
  • #7617 - Implement ulong random logic with random bytes
  • #7619 - Small internal optimizations found profiling CSV
  • #7620 - Use Region accessors in prep for privatizing fields
  • #7626 - Use Psych 5.1
  • #7628 - RUBY_REVISION is a short sha, not the full sha like on other Rubies

New in JRuby 9.4.0.0 (Nov 28, 2022)

  • Ruby Compatibility:
  • Compatibility is updated to Ruby 3.1 level. This includes all Ruby 2.7, 3.0, and 3.1 features except where noted below. (#6464, #6878, #7015)
  • Ractor is not yet supported. JRuby users can achieve better parallelism by using threaded libraries and frameworks.
  • The scheduler interface for IO, locks, and fibers is not yet supported. It will be added in an update release.
  • Nearly all features from CRuby’s NEWS file have been implemented. Most new tests and specs pass.
  • Remaining 3.0 and 3.1 features will be implemented in an update release. See #7459 and #7460.
  • Standard Library:
  • Much of the standard library has moved out to gems, and JRuby supports a large subset of these gems. See lib/pom.rb for the complete list of default and bundled gems.
  • Greatly improved PTY and spawn support thanks to the subspawn gem, which is included as part of the standard library. #7393
  • JVM Integration:
  • Java setFoo methods that do not match JavaBean standards (return value other than void, for example) will now also generate a foo= method when imported into Ruby. (#7340, #7352)
  • Platform Support:
  • The JRuby launcher script has been ported to POSIX shell (/bin/sh) and no longer requires Bash. (#7024)
  • Initial support for the LoongArch64 platform has been inherited from the Java Native Runtime libraries.
  • Third-party Libraries and Frameworks:
  • Initial support for Rails 7. SQLite and MySQL are largely functional, but work remains to update them and PostgreSQL.

New in JRuby 9.3.9.0 (Oct 25, 2022)

  • Standard Library:
  • rdoc has been updated to 6.3.3 to fix all known CVEs. (#7396, #7404)
  • rexml has been updated to 3.2.5 to fix all known CVEs. (#7395, #7405)
  • jruby-openssl has been updated to 0.14.0 to fix weak HMAC key hashing in bouncycastle, which itself is updated to 1.71. (#7335, #7385, #7399)
  • psych has been updated to 3.3.4 to fix CVE-2022-38752 in the SnakeYAML library, which itself is updated to 1.33. (#7386, #7388, #7400)
  • rubygems has been updated to 3.2.33 and bundler updated to 2.2.33 to address CVE-2021-43809. (#7397, #7401)
  • Github Issues resolved for 9.3.9.0:
  • #5588 - OpenSSL::PKey::RSA.new without password results in terminal input failure
  • #7335 - Upgrade jruby-openssl to 0.14.0
  • #7367 - StringIO ignores external encoding on Windows
  • #7380 - [Tiny issue] swing2.rb example at https://github.com/jruby/jruby/blob/master/samples/swing2.rb has a warning, “swing.rb:4: warning: import is deprecated; use java_import”
  • #7385 - Updating jruby-openssl to 0.14.0
  • #7386 - Update SnakeYaml to 1.32+ due to CVE-2022-38752
  • #7388 - Update to Psych 3.3.4
  • #7395 - Update embedded rexml in jruby-complete
  • #7396 - Update rdoc in jruby-complete
  • #7397 - Update bundler in jruby-complete
  • #7399 - Update bouncycastle in jruby-complete
  • #7400 - Update snakeyaml in jruby-complete
  • #7401 - [deps] update Bundler/Rubygems to latest patch
  • #7404 - Update rdoc to 6.3.3 to fix known CVEs
  • #7405 - Update rexml to 3.2.5 to fix known CVEs
  • #7406 - Time.at with fractional seconds and :in doubles timezone offset
  • #7407 - Better match CRuby zone negotiation
  • #7416 - Regexp new none option

New in JRuby 9.3.8.0 (Sep 14, 2022)

  • Ruby Compatibility:
  • Altering the visibility of an included module method no longer changes what super method gets called. (#7240, #7343, #7344, #7356)
  • Thread termination at shutdown is more robust and visits all non-main threads. (#7351)
  • Standard Library:
  • csv has been updated to 3.2.5 to pick up a fix that eliminates fiber use for simple parse_line calls. (#7346, #7348)
  • psych has been updated to 3.3.3 to address CVE-2022-25857, an element-nesting DoS. (#7342)
  • Experimental Features:
  • Fibers can now be configured to use OpenJDK Project Loom’s virtual threads, which are lightweight and do not consume a native platform thread. Virtual threads make it possible for JRuby applications to create thousands of concurrently-executing fibers. Enable this feature on Java 19 using the JVM flag --enable-preview. (#7328)
  • 27 Github Issues resolved for 9.3.8.0:
  • #7240 - Changing method visibility changes behavior for module-inherited methods
  • #7257 - chore: Set permissions for GitHub actions
  • #7262 - jar-dependencies cannot be updated out-of-band from jruby
  • #7265 - Time.at argument handling
  • #7303 - Fix included_modules method to not return wrapped modules
  • #7316 - Incompatible error when nested LoadError
  • #7317 - Oddity with the jruby parser: it warns me about “warning: found = in conditional, should be ==”
  • #7321 - Fix issue #7316 runtime error when nested raise
  • #7324 - Time::at with BigDecimal emits Java Negative Exponent exception
  • #7325 - Fix negative scale BigDecimal#to_r
  • #7326 - sum method - undefined method ‘last’ for 1:Integer
  • #7328 - Use vthreads when available
  • #7332 - defined reified classes with their parent class’s classloader as parent
  • #7333 - fix Enumberable sum when elements are array
  • #7334 - fix zlib encoding
  • #7338 - InstanceConfiguration extra loaders not thread safe
  • #7342 - Update SnakeYaml to 1.31+ due to CVE-2022-25857
  • #7343 - Fix for changing method visibility changes behavior for module-inherited methods
  • #7344 - Changing method visibility changes super_method for module-inherited methods
  • #7345 - Use thread-safe COW lists here
  • #7346 - Iterating over CSV.parse_line causes an explosion of threads/fibers
  • #7348 - Update CSV to 3.2.5
  • #7351 - Avoid accidentally killing the teardown thread
  • #7354 - Fix 7317 it warns me about “warning: found = in conditional, should be ==”
  • #7356 - Fix for method visibility changes super_method for module-inherited methods
  • #7358 - Update polyglot-maven and commit updated XMLs
  • #7359 - Fixes Time.at argument handling (#7265)

New in JRuby 9.3.7.0 (Aug 22, 2022)

  • #7120 - Gem.install caused a BootstrapMethodError
  • #7185 - Spurious constant replacement warning when using include_package
  • #7211 - require_relative doesn’t work inside Jar with 9.3.4.0
  • #7218 - Empty rescue block returns exception object instead of nil
  • #7264 - update jar-dependencies gem hooks
  • #7267 - Circular exception handling can cause infinite loop since 9.3.4.0
  • #7268 - com.sun.nio.file.ExtendedOpenOption not available in OSGi bundles on Windows since JRuby 9.3.0.0
  • #7271 - Fix BootstrapMethodError in runtime helpers
  • #7279 - simple timeout script does not work
  • #7280 - Eliminate JI-specific const replacement warning
  • #7281 - Use the wide versions of these functions always
  • #7282 - Fixes #7218. Empty rescue block returns exception object instead of nil.
  • #7288 - Clear errinfo after each finalizer runs
  • #7289 - Revert “update jar-dependencies gem hooks”
  • #7291 - update jar-dependencies 0.4.2 reference in lib/pom.rb
  • #7292 - Always pass filename into AOT root scope creation
  • #7298 - Revert “update jar-dependencies 0.4.2 reference in lib/pom.rb”
  • #7299 - Fix for issue 7256: Undefined constants when including a module that has been prepended
  • #7302 - Fix for issue 7256 (jruby-9.3)
  • #7304 - Only use NOSHARE_DELETE if accessible
  • #7306 - Syntax Error occurs in regex
  • #7314 - Fix parsing Regexp for #7306

New in JRuby 9.3.6.0 (Jun 28, 2022)

  • Ruby Compatibility:
  • Fixed a leak in the frozen string cache and now ensure frozen strings are reused correctly without reencoding. (#7166, #7229, #7242)
  • Java Integration:
  • The internal cache for nested jar file contents has been optimized and a new option added for cache expiration. (#7225, #7232, [#7259])

New in JRuby 9.1.8.0 (Mar 24, 2017)

  • Highlights:
  • Fixed intermittent DynamicScope size errors
  • Concurrency fixes to jitting of blocks (mostly seen as previous bullet).
  • Several issues fixed when running with -Xcompile.invokedynamic
  • 81 issues fixed for 9.1.8.0:
  • #4521 - Use actual impl module to test bindability. Fixes #4477.
  • #4516 - DynamicScope sizeError
  • #4513 - cgi/escape does not define CGI.escapeHTML and other methods
  • #4512 - release and upgrade BC (jruby-openssl)
  • #4511 - Fix some issues with Fiddle
  • #4509 - Fix #4463 Marshal load bigdecimal NaN fails
  • #4508 - $. never seems to change once JIT'd
  • #4507 - Actually cache the idTest on the module.
  • #4504 - Improve some of the debug logging in ConstantLookupSite.
  • #4503 - Allow reads after calling BasicSocket#close_write.
  • #4501 - JRuby native no longer loads on windows
  • #4500 - IO#close_write seems to close the read side too for unix sockets
  • #4499 - Make failed indy call sites still use specific-arity dispatch
  • #4498 - Separate varargs and specific-arity names in JIT. Fixes #4482
  • #4497 - The return value of `ARGF.file#lineno` differs from that of MRI
  • #4496 - Use ipaddr to compare the sender's address
  • #4494 - Use arity hashCode instead of proc#hash in CallableSelector
  • #4492 - YAML: Can't load files with characters in the supplementary plane
  • #4486 - Set up EWOULDBLOCKWaitReadable/Writable if not present. Fix #4473
  • #4485 - Allow refinements in one eval to be seen in the next.
  • #4484 - Rational() and IO.try_convert do not work for BasicObjects
  • #4483 - Complex() Kernel method does not consult an object's to_c method
  • #4482 - Doing require_relative too often leads to TypeError
  • #4481 - String#unpack: Unpacked string should not have an encoding
  • #4478 - Block doesn't retain it's binding through instance_eval
  • #4477 - prepending to the singleton class of a module breaks instance_method
  • #4475 - Activating refinements in binding.eval doesn't stick outside of the evaluated string.
  • #4473 - IO::EWOULDBLOCKWaitReadable Exception class not defined
  • #4472 - jrubyc broken for simple (self-executing) scripts in 9.1.7.0
  • #4471 - Make sure to iterate over all keys when cancelling keys in a SelectorPool
  • #4467 - Exception backtrace is nil when it should be present
  • #4466 - Fix #3799 again.
  • #4465 - Java Null Pointer exception while bundling
  • #4463 - Marshal load bigdecimal NaN fails.
  • #4461 - `ObjectSpace.each_object.to_a` raises `ArrayIndexOutOfBoundsException`
  • #4457 - system and spawn raise 'wrong exec redirect action' when redirecting given `out: tempfile` or `err: tempfile`
  • #4455 - Sequel fails with -Xcompile.invokedynamic=true
  • #4454 - Licensing is confusing
  • #4448 - [ji] support 'native' method arguments (e.g. org.jruby.RubyObject)
  • #4447 - Fix GzipReader "position" update for #each and #each_line.
  • #4445 - string encoding is incorrect when compiling to .class files via jrubyc
  • #4443 - LocalJumpError when creating enumerator inside GzipReader.open block
  • #4442 - Unable to re-deploy rails app (java.lang.RuntimeException: BUG: could not initialize constructor handle)
  • #4439 - Memory leaks due to overwritten local variables being wrongly kept alive on the stack
  • #4438 - fix Base64#decode64 behavior
  • #4437 - String#scrub ignores the block if the string encoding is not ASCII-compatible
  • #4435 - [ji] deterministic Java bean-style method aliases
  • #4428 - [#4353] Ignore consecutive DOUBLE_STAR in glob_helper.
  • #4423 - Kill the LocalJumpError logic for break in lambda. Fixes #4369.
  • #4413 - JRuby's impl of FFI differs in behavior from MRI; segfaults/crashes
  • #4399 - RubyHash's compare_by_identify Java method naming is confusing
  • #4393 - microsecond accuracy is not supported in class Time
  • #4392 - compile back to hard scope when closure compile/build requested
  • #4391 - Metaspace fills with java.lang.invoke.LambdaForms$ over time
  • #4353 - Dir.glob returns doubles, if used with recursive directory matchers "**"
  • #4312 - Fix JRuby embed crash after application reloading
  • #4304 - Singleton on non-persistent Java type Java::JavaLang::NullPointerException
  • #4219 - Calling super with two "_" params ignores the value of the second
  • #4028 - Base64.decode64 incorrect result when missing paddings
  • #3663 - Never-ending getaddress() call when using compressed IPv6 nameservers in /etc/resolv.conf
  • #3545 - java.lang.NullPointerException when using for loops
  • #3528 - ActiveRecord::StatementInvalid: ArgumentError: wrong number of arguments (1 for 2) for invokedynamic
  • #3350 - JRuby 9.0.1.0 has slower $global_var usage
  • #3185 - PTY.spawn doesn't pass arguments
  • #3020 - Attempt to get output from PTY.spawn periodically hangs
  • #2355 - State file use in UUID gem causes severe performance degradation
  • #2161 - Hash inspection not working as in MRI for sprintf %p
  • #1842 - Dir#glob and escaped commas
  • #1784 - OpenSSL::PKey.read throws a null pointer exception
  • #1653 - '/' works as a valid path but children don't (under windows)
  • #1643 - Cannot call a Java method whose parameter is RubyArray when it is overloaded
  • #1437 - test/mri/ruby/test_regexp.rb has regexp that fail to parse
  • #1381 - io/console and/or FFI do not load right with alternative -0 separator
  • #1368 - Need to error for unsupported keywords
  • #1321 - TracePoint thread_begin and thread_end events are broken
  • #1269 - RegexpError with look-behind
  • #1258 - Improve Bignum string parsing
  • #1149 - chmod inside of File block fails to create file
  • #1067 - [2.1] StringScanner named captures
  • #1037 - TypeError raised when trying to propagate java Throwables using Thread.raise
  • #413 - $LOADED_FEATURES.clear does not appear to clear internal set

New in JRuby 9.1.7.0 (Mar 5, 2017)

  • Highlights:
  • Fixed spurious LinkageError when using multiple threads
  • Fixed several keyword argument issues
  • Fixed several parser issues
  • Reduced memory use of the JIT
  • Update Psych to 2.2.2
  • Update jruby-openssl to 0.9.18
  • Github Issues resolved for 9.1.7.0:
  • #4433 - NullPointerException when creating tempfiles in rspec
  • #4431 - Set toplevel module
  • #4429 - corrupted JIT byte-code for method
  • #4427 - Don't allow null method names
  • #4426 - Calling super() outside of a method causes NPE
  • #4425 - Code behavior changes after being JITted at runtime
  • #4421 - Make StringIO thread-safe by synchronizing against ptr.
  • #4420 - [#4414] Fixes #4414. getVpValueWithPrec19 should raise FloatDomainErr…
  • #4418 - File.expand_path with uri:classloader still relative on Windows
  • #4417 - StringIO is not thread-safe (throws a Java exception)
  • #4416 - The i18n gem does not work in AOT mode
  • #4414 - NumberFormatException when divide BigDecimal by Float::NAN
  • #4410 - chunk_while not returning results equivalent to MRI ruby 2.3+ (jruby 9.1.6.0)
  • #4407 - Concurrent::ScheduledTask is broken on master JRuby
  • #4404 - Decreased coverage with 9.1.7.0 snapshot
  • #4390 - Specific arity jit cleanup
  • #4389 - Check permission to AccessibleObject#setAccessible(boolean) a better way
  • #4388 - Add call protocol to script body and separate non-protocol metas.
  • #4383 - warn with array should behave like puts with array
  • #4382 - Improve stack depth
  • #4381 - Remove unsafe-mock from our build altogether.
  • #4379 - Fix bigdecimal infinity round
  • #4378 - Update jnr.
  • #4369 - break within a block throws LocalJumpError in JRuby but succeeds in MRI Ruby
  • #4366 - Optimize getDefinedMessage by deduping during initialization
  • #4364 - Add regression test for shell exit
  • #4363 - Yard does not work in JRuby =>9.1.3.0
  • #4362 - change status array of ints to an int
  • #4361 - Unexpected value for `$?.exitstatus` when process exited successfully
  • #4356 - trivial: restkwargs => kwargs in FIXME comment
  • #4352 - Fix deadlock when tearing down runtime during debugging
  • #4350 - File.directory? of a uri:classloader resources ending in "/" incorrectly returns false
  • #4349 - -Xnative.enabled=false fails to load windows in kernel
  • #4348 - File.open with open mode a+ do not work
  • #4344 - Can't call a `Proc` which has a required keyword argument and a positional argument
  • #4342 - zsuper does not cope with n repeated _ well
  • #4341 - 9.1.6.0: block arguments *_ and &_ at the same time fails with DynamicScope1 only supports scopes with 1 variables
  • #4340 - Extended class clones and duplicates become unmarshable
  • #4339 - Class clones and duplicates raise StackOverflowError when listing their singleton class ancestors
  • #4336 - Fix unexpected java.lang.ArithmeticException when converting Rational to BigDecimal
  • #4332 - JRuby 9.1.6.0 tries to access O_TMPFILE under Windows
  • #4331 - Skip less specs
  • #4329 - Add missing PortUnreachable catch. Fixes #4104
  • #4324 - Crashing on attempt to convert Rational into BigDecimal
  • #4323 - Usage of `#[]=` assignment in method argument broken
  • #4321 - Fix marshaling Hash with default_proc set to nil
  • #4319 - JRuby can not interpret keyword argument when placed after positional argument in block
  • #4317 - range endpoints with () will generate an NPE
  • #4316 - --disable: should accept gem as alias for gems.
  • #4315 - 2.3 Syntax Failure: %s does not work in alias or undef
  • #4314 - 2.3 syntax failure: 'a b: 1' does not parse as method with kwarg
  • #4310 - Disable notifying travis-rubies of passing [skip ci]
  • #4308 - New syntax errors in 2.3.1/2.3.2 tests.
  • #4302 - Dumping Hash with default_proc that was reset
  • #4299 - Fixed Math.lgamma with input -0.0
  • #4286 - Interrupt ignores exception message
  • #4285 - Catch LinkageError during DynamicScope generation.
  • #4284 - MRI tests that do not appear to exist for MRI
  • #4280 - README: Ruby version manager docs link
  • #4276 - make ttymode and ttymode_yield helpers private
  • #4275 - ttymode, ttymode_yield should be private
  • #4268 - upgrade jruby-openssl to 0.9.18
  • #4266 - JRuby unable to find methods unless jar is in boot classpath
  • #4253 - Respond_to? returns private methods
  • #4196 - Update Psych to eliminate deprecated usage
  • #4123 - Fix IO#syswrite. Fixes #3799
  • #4104 - Resolv::DNS..getresource produces different errors then MRI
  • #4103 - JRuby fails in building from source when using openjdk-7-jdk trusty package
  • #3799 - Unix sockets raise exception on long writes
  • #3729 - Occasional ArrayIndexOutOfBoundsException from a line of Ruby that isn't doing array lookups
  • #2761 - JRuby 9k: simple script ~80% as fast as jruby 1.7.19
  • #2485 - proc with extra args incorrectly binds wrong post args

New in JRuby 9.1.6.0 (Nov 11, 2016)

  • Issues resolved:
  • #4272 - Stack overflow in unresolvedSuper logic from jitted code
  • #4264 - Fix unnamed socket inspect
  • #4262 - Method#owner returns wrong implementation module
  • #4261 - Mutexes should use .lock instead of .lockInterruptibly
  • #4259 - Identical Regexp are not equal to each other
  • #4256 - Revert "Format initial string to specific precision, so rounding works."
  • #4255 - jit failure: rack
  • #4252 - Also perform uninitialized check on temp locals.
  • #4251 - nil initialization missing from optionally-set argument
  • #4250 - Prepend must set method's "defined class" to the new bottom.
  • #4248 - UNIXSocket#peeraddr was fixed some time ago
  • #4247 - Garbage data in UNIXSocket path
  • #4240 - Rescue optimization over-optimizes rescue body with $!
  • #4233 - Fix clone hierarchy
  • #4231 - Cannot iterate over a Range of Times
  • #4229 - cloned singleton method exists but can't be overwritten
  • #4228 - remove_method fails to remove singleton method on cloned object
  • #4227 - Missing unit :second for Process.clock_gettime
  • #4225 - Don't dup every element in Enumerator#drop (9K)
  • #4224 - Fix the incorrect opscode mapping in f2i()
  • #4223 - Broken PHASE='-Pjruby_complete_jar_extended -Dinvoker.skip=true'
  • #4222 - BasicSocket improvements
  • #4221 - UNIX sockets improvements
  • #4220 - Handle EADDRINUSE message in IOException.
  • #4218 - Enumerable#drop calls #dup on every element
  • #4217 - JRuby 9.1.*.* on multiple platforms incorrectly handles block in `[]` method calls
  • #4216 - UDP socket improvements
  • #4215 - do not eagerly set eval-type in a thread-local
  • #4214 - [Truffle] Use the new getgroups POSIX call.
  • #4210 - **operator behavior is different from MRI
  • #4207 - Flush destination IO in IO.copy_stream
  • #4206 - Kernel#sleep swallows InterruptedException
  • #4204 - Implement Socket.socketpair to return Socket instances
  • #4203 - Get rid of code dup in ServerSocket#bind
  • #4202 - IO.copy_stream with Zlib::GZipWriter broken in 9.1.3.0 and up
  • #4199 - Replace BigDecimal#!= by BigDecimal#nonzero?.
  • #4198 - Apply patch from rubygems/rubygems#1685
  • #4193 - prime? openssl error in 9.1.5.0
  • #4190 - TCPServer#accept_nonblock improvement
  • #4189 - Implement TCPServer#sysaccept
  • #4188 - `require_relative` does not work inside a jar on Windows
  • #4187 - Fix Java::JavaLangReflect::GenericSignatureFormatError when reflecting reified annotation values
  • #4186 - JRuby accepts wrong method arguments when mixing positional with defaults and keywords
  • #4184 - Dir.tmpdir returns working directory
  • #4178 - Changing type of global variables gives TypeError
  • #4177 - Fix issues with File.dirname
  • #4176 - NoMethodError: undefined method `dedent_string' when lexing squigly heredocs in Ripper
  • #4174 - Remove premade field-based DynamicScope and generate instead.
  • #4171 - JRuby HEAD gets NPE when running `bundle install`
  • #4170 - Bring BigMath::log behaviour closer to MRI
  • #4169 - squiggly heredoc with single quotes fails to run
  • #4168 - Add paths to *DynamicScope that don't check nulls, offsets.
  • #4167 - Create a different hierarchy of DynamicScope for use in startup interp + remove null checks in the existing hierarchy since they are redundant
  • #4162 - Logger: Errno::EINVAL: Invalid argument with JRuby 9.x in Solaris
  • #4159 - Format initial string to specific precision, so rounding works.
  • #4158 - BigMath.log(Rational,...) produces garbage digits within the requested precision
  • #4153 - Fix for #4147
  • #4152 - Fix for #3229
  • #4148 - Java::JavaLangInvoke::WrongMethodTypeException when using invokedynamic
  • #4147 - Logger: log rotation inter-process lock failed. on Windows with JRuby 9.x
  • #4141 - IRB: arrow keys to move along cmd line and up/down in history not working on Windows
  • #4128 - Inspect directly into a RubyString and avoid StringBuilder/char[].
  • #4126 - Implement SignalException class
  • #4119 - Full Socket::Option support
  • #4117 - Show that ArgumentError from encoding error is recursive
  • #4040 - Setting SO_LINGER completely inconsistent
  • #4019 - gem list don't show some gems as default
  • #3954 - SignalException#signo (and signm) not defined.
  • #3886 - Collect all DNS sections by calling to each_resource instead of each_answer
  • #3817 - IO#seek and tell do not properly handle offsets larger than int32
  • #3438 - BasicSocket#getsockopt does not work with all possible Symbol combinations
  • #3343 - File.flock does not work on Solaris for 9k
  • #3326 - JRuby 9.0.1.0 vs. MRI 2.2.2 define_method inconsistency
  • #3302 - Updated doc for dumpThreads method in Runtime
  • #2768 - System.gc() is async, do not attempt to invoke it and retry sysopen
  • #2465 - Build a new pass that ensures that ruby locals / IR tmps are initialized
  • #1987 - sequester tmp directories

New in JRuby 9.1.2.0 (May 27, 2016)

  • Fixed issues:
  • #3926 - Windows symlink
  • #3923 - Use "filesystem" encoding for PATH as in MRI. Fixes #3907.
  • #3916 - RubyUDPSocket ArrayIndexOutOfBounds with v9.1.[01].0.
  • #3907 - ArgumentError: string contains null byte
  • #3905 - NotImplementedError: symlink unsupported or native support failed to load

New in JRuby 9.1.0.0 (May 4, 2016)

  • Highlights:
  • Ruby 2.3 Compatible (language and standard library) (i)
  • Fixed performance and behavior regressions from 9.0.5.0
  • Added several JIT optimizations missed in initial 9k release
  • Fixed most of the outstanding parser bugs
  • RubyGems updated to 2.6.4
  • Many improvements to our Java Integration
  • Github Issues:
  • #3838 - Compilation fails with openjdk8 u92
  • #3833 - Fixnum#bit_length - uses bit inversion when the value is negative
  • #3832 - Fix a bug where NameError#receiver raises an ArgumentError after #to_s is called
  • #3831 - Fixes Fixnum#bitLength when the value is negative.
  • #3830 - Adds method #bitLength to Bignum
  • #3829 - Fixnum#bit_length always returns 64 for negative number
  • #3827 - Bignum#bit_length is missing
  • #3820 - Error when rspec loads files using Refinements
  • #3818 - `n ** m` is slow
  • #3811 - Time.parse should coerce argument into a String
  • #3809 - bind (abstract) methods when implementing interface
  • #3802 - moving Ruby Java extensions into native
  • #3796 - Refinements causes "ArgumentError: tried to create Proc object without a block"
  • #3791 - Add option to enable ir writing on-the-fly
  • #3790 - [ji] java.util.Collection should not be to_ary convertible
  • #3789 - [ji] java.lang.Throwable should not provide to_str
  • #3787 - Recent CI snapshots give warning on load of openssl
  • #3779 - improved method arities on become_java!
  • #3777 - trycatch blocks are being defined inefficiently in the JIT
  • #3773 - cleanup NativeException
  • #3763 - Syntax error with &.< in combination with other operators
  • #3762 - File.open ignores :universal_newline options on Windows
  • #3758 - Fix strftime %Z to act like CRuby
  • #3757 - Some cases of assignment in conditional do not warn as in MRI
  • #3754 - [ji] package (internal) refactoring
  • #3752 - Removing 'new' class method from interfaces #3275
  • #3750 - load path from the command line -I should use the same splitting as for GEM_PATH
  • #3744 - Performance issue when connected to network
  • #3741 - Consider dropping -Xss from launcher
  • #3734 - compiled .rb does not handle rest kwargs right
  • #3733 - ActiveSupport EventedFileUpdateChecker wrong number of arguments in JRuby
  • #3723 - lazy secure random
  • #3722 - thread-context refactor backtrace retrieval
  • #3718 - RubyGems after 2.4.8 is broken on JRuby
  • #3711 - Passing in command line arguments containing " n" causes jruby to abort with error "%n in writable segment detected"
  • #3703 - JRuby 9.0.5.0: uninitialized variables assigned to self as default method argument cause org.jruby.ir.operands.UndefinedValue
  • #3699 - Improving error message when flock is not available
  • #3686 - Regression in overcommit's tests in JRuby 9000
  • #3682 - set ClassloaderDelegate(false) as default for OSGiIsolatedScriptingContainer + IsolatedScriptingContainer
  • #3679 - Parser seems to choke on Japanese-encoded text
  • #3676 - can not install ruby-maven on jruby from jruby-dist archives
  • #3669 - Autoload of module broken for Ruby subclass of Java class
  • #3668 - Object#try(:squeeze!) raises an array index out of bounds exception
  • #3666 - NKF still uses Charset transcoding rather than jcodings
  • #3664 - File#pos fails for files greater than java.lang.Integer::MAX_VALUE on 64-bit systems
  • #3659 - Resolv fails under load with SocketError: bind: name or service not known
  • #3658 - Implement Process::setproctitle
  • #3654 - `Exception#cause` is difference behavior with CRuby 2.3.0
  • #3653 - `system` method is different behavior from JRuby 1.7.x and CRuby 2.3.x
  • #3652 - Lock is not released at Kernel.require when Gem.try_activate throws RuntimeException
  • #3651 - Compile of method call with block return results is "is not compiled Ruby; use java_import to load normal classes"
  • #3650 - Hash#compare_by_identity does not work correctly when key is destructively changed
  • #3649 - prime? very slow
  • #3647 - Encoding::ConverterNotFoundError when using Encoding.default_internal
  • #3646 - Dir::Tmpname.make_tmpname inconsistent with Ruby 2.2+
  • #3645 - AWS SDK Uninitialized Constant Error
  • #3643 - Somehow super stopped working in jruby 9.0.5.0
  • #3639 - superclass production in parser became less restrictive in 2.3
  • #3638 - Class cast in parser
  • #3636 - DEAD: marking instr dead!!
  • #3633 - Failures in JRuby 9.0.5.0 on Sinatra build
  • #3632 - JRuby 1.7.24 - REXML bad encoding issue
  • #3631 - Override of Gem.path_separator cause gem update --system to fail
  • #3628 - Command line flag '-p' doesn't reflect changes made to $_
  • #3627 - Process#spawn error when redirecting error to stdout (jruby 9.0.4.0)
  • #3626 - 9.0.5.0 numerical computation regression
  • #3620 - JRUBY_OPTS gives misleading warning
  • #3618 - blacklist ppc64 Linux from windows installer packaging
  • #3616 - Time.at loses precision when using BigDecimal as argument
  • #3613 - LoadError with 'compiled' ruby files with JRuby9000 (using rescue)
  • #3567 - [2.3] Parser does not recognize lonely operator after do...end
  • #3565 - [2.3] Missing

New in JRuby 9.0.5.0 (Jan 27, 2016)

  • Notable updates:
  • Fixed leaks in IO.select and IO.copy_stream.
  • Implemented DATA support lost in 9k.
  • Fixed regression breaking empty-body define_method methods.
  • Windows stat crashing on 32 bit JVMs
  • 53 issues fixed for 9.0.5.0
  • Github Issues resolved:
  • #3609 - Incompatible method lookup under Kernel.load(file,true), aka wrap, on 9.x
  • #3602 - Fix cache-constructed-proxies
  • #3599 - jrubyc won't compile a file with method in outer scope (NoMethodError: undefined method `new_method' for nil:NilClass)
  • #3597 - Fix SizedQueue#num_waiting regression
  • #3591 - Unhandled Java exception: java.lang.ArrayIndexOutOfBoundsException: -3
  • #3590 - IO.copy_stream leaves opened files in ObjectSpace
  • #3588 - Leak in select for a UNIXSocket (at least)
  • #3586 - org.jruby.runtime.load.ClassExtensionLibrary.tryFind fails on certain classnames
  • #3581 - Cache proxies of newly constructed Java objects
  • #3579 - JRuby doesn't support DATA and __END__
  • #3577 - Block call IR optimization failures by 0d35995e1704bb716a9b54064208cf82ace2f150
  • #3576 - ConstructorInvoker isn't storing the proxy in the ObjectProxyCache
  • #3574 - autoload + const_defined? inconsistent with Ruby 2.0+
  • #3573 - MRI 2.2.2 / JRuby 9.0.4.0 difference given explicit `self` receiver for private method call.
  • #3564 - Rational suffix doesn't work with 0
  • #3563 - jdk9 produces warning on launcher
  • #3558 - case doesn't match empty array
  • #3542 - StopIteration does not propagate a result
  • #3540 - Fix Enumerable#{min_by, max_by} with nil
  • #3539 - Prevent to make subclass of Class
  • #3538 - Regexp match raises java.lang.ArrayIndexOutOfBoundsException in numbered backreference
  • #3537 - Fix Array#collect! that returns a sized enumerator as Array#map!
  • #3530 - Calling IO.console twice raises NoMethodError for `#open?`
  • #3527 - BigDecimal.new("5-6").to_i returns 0 on 9k where 1.7 and MRI returns 5
  • #3520 - Having Problems With Celluloid::IO / Nonblocking IO
  • #3494 - Proper support for UNIXSocket.for_fd
  • #3493 - Wrong name mangling. V8Utils => v8utils instead of v8.utils
  • #3492 - UNIXSocket#recv_io, UNIXSocket#send_io implementation using JNR
  • #3488 - forcing a nil (no) backtrace with Java APIs
  • #3483 - define_method with empty body throws RuntimeError in interpreter
  • #3478 - Print warning when JRuby.objectspace is enabled
  • #3472 - Hash keys should only be deduplicated for direct literal forms
  • #3453 - AOT compile of method with conditional return results in "is not compiled Ruby; use java_import to load normal classes"
  • #3452 - AOT compile of empty module results in NullPointerException
  • #3437 - Fix for issue 3402: String#encode with :replace option does not return correct value
  • #3433 - Getting back different values between Time#to_r and Time#to_i
  • #3412 - [Truffle] make j+tr part of the distribution
  • #3411 - Convert chinese encoding GB18030 to UTF-8 doesn't work
  • #3405 - Hash has bug to set encoding into key string wrongly when the key string is used once with different encoding
  • #3402 - String.encode :replace option does not work when encoding to UTF8
  • #3331 - Fix 3303 refactor zoneHelper into getRubyTimeZoneName
  • #3328 - remove support for aliasing Java indexed getters as Ruby readers
  • #3262 - jruby 9.0.0.0 Java::JavaLang::Character.name
  • #3209 - Correct a format string in Signal#trap.
  • #3208 - Trapping reserved signals doesn't print a meaningful message
  • #3193 - Java::JavaLang::StackOverflowError running spec which works on 2.2.1
  • #3121 - jruby 9.0.0.0.rc1 performance regressions
  • #3120 - Add some more tests for bignum pow
  • #3119 - Fix date.rewrite_frags
  • #2149 - Failing DateTime.strptime for weird dates near epoch
  • #2142 - Struct#inspect does not produce the same output as MRI 2.2
  • #940 - Implement UNIXServer and UNIXSocket.for_fd
  • #455 - RubyUDPSocket swallows exceptions

New in JRuby 9.0.4.0 (Nov 13, 2015)

  • Notable updates since 9.0.3.0:
  • Resolved various issues with stat() on Windows
  • Fixed couple of encoding/transcoding issues
  • Source with __FILE__ in it will now JIT
  • Native call subsystem will load on mixed 32/64 bit Linux distributions
  • 11 issues fixed for 9.0.4.0
  • Truffle:
  • JRuby 9000 includes an preliminary version of support for the Truffle language implementation framework and Graal VM from Oracle Labs. In future releases, Truffle will provide an extremely high performance and compatible backend for JRuby. The Truffle backend supports almost all Ruby language features and the majority of the core library, and is able to run simple gems and web frameworks such as Sinatra. It has no support for RubyGems, Rails or any database drivers, does not work on Windows, and is not ready to be tested with applications at this stage. More information on Truffle and Graal can be found in the JRuby Wiki.
  • Github Issues resolved for 9.0.4.0:
  • #3457 - stat.st_gid is unsupported on windows
  • #3449 - jirb fails to start on Windows
  • #3448 - File.stat("someunavailable").mtime returns odd result
  • #3444 - Fix TCPServer#accept NPE log
  • #3442 - String#crypt crashes when a receiver is shared String
  • #3425 - String#tr different behavior as compared to MRI Ruby
  • #3410 - Cannot install jRuby 9.0.3.0
  • #3409 - NotImplementedError: flock unsupported or native support failed to load
  • #3408 - IRB fails to start with JRuby9.0.3.0 on Windows 10.
  • #3197 - require_relative fails for relative paths within jars on Windows
  • #2381 - IO#rewind ... doesn't. (when backed by a ByteArrayInputStream).

New in JRuby 9.0.3.0 (Oct 21, 2015)

  • Major features of JRuby 9000:
  • Ruby 2.2 compatibility
  • A new optimizing runtime based on a traditional compiler design
  • New POSIX-friendly IO and Process
  • Fully ported encoding/transcoding logic from MRI
  • Notable updates since 9.0.1.0:
  • Pattern ‘foo rescue nil’ now can, at times, run 48x faster
  • Blocks can independently JIT now improving perf in some scenarios
  • define_method with non-capturing body is now 2+x faster (~same speed as def)
  • stat() on windows now supports long paths and UNC paths
  • Handful of issues fixed makes Rails master run (sans AR-JDBC work outstanding)
  • Github Issues resolved for 9.0.3.0:
  • #3397 - ArrayIndexOutOfBoundsException when utf8 string matched against regexp with with word boundary \b
  • #3399 - Can't seek when file accessed using classpath: OR uri:classloader: schemes
  • #3394 - JRuby thread stuck on IntHashMap.rehash
  • #3380 - Bad value for $$
  • #3378 - #to_ary behavior does not conform to MRI Ruby (1.7.22)
  • #3372 - FileUtils#remove_tailing_slash is a poor method name
  • #3371 - splash params lose a nesting level *only* in #_to_proc
  • #3368 - Jitted blocks do not scope evals properly
  • #3365 - test/mri/psych//test_yaml.rb fails with enable system assertions
  • #3364 - Running Rails test with Jruby 9000
  • #3362 - bar rescue nil should not fail if StandardError is removed
  • #3356 - Inconsistence when modifying return object in ensure
  • #3348 - CSV parsing performance is poor
  • #3340 - JRuby NoMethodError: undefined method `open?' for #
  • #3338 - JRuby 9.0.1.0 #to_ary should return Array
  • #3337 - support (seekable) ByteArrayInputStream#to_io.rewind
  • #3333 - handle non-public inner class retrieval
  • #3330 - Fix java_implements for multiple interfaces
  • #3327 - Issue #3324
  • #3324 - _id2ref should raise RangeError rather than return nil for no object found
  • #3319 - find-bugs 2
  • #3317 - find-bugs 1
  • #3300 - extension class does not get loaded
  • #3292 - UTF-8 encoding on MS-Windows
  • #3282 - UDPSocket Error inconsistent with MRI
  • #3279 - non-intuitive overloaded varargs matching
  • #3270 - Kernel#require cannot find compiled ruby classes in jruby 9.0.0.0
  • #3267 - Encoding issue in jruby 9.0.0.0
  • #3257 - Initial $LOAD_PATH depends on JRUBY_HOME in jruby-complete-9.0.0.0
  • #3215 - bin/jruby is not updated when bin/jruby.bash is
  • #3137 - Hash#select! inconsistency with MRI when yielding only one argument

New in JRuby 9.0.1.0 (Sep 7, 2015)

  • Notable updates since 9.0.0.0:
  • Reduced memory usage since 9.0.0.0 by 13%
  • Improved support for refinements; 70% of CRuby tests passing
  • jruby-openssl updated to version 0.9.11
  • psych updated to version 2.0.15
  • 44 issues fixed for 9.0.1.0
  • Github Issues resolved for 9.0.1.0:
  • #3288 - 9K seems to be handling all jruby.xxx properties
  • #3284 - Spec improvements
  • #3283 - Not getting SIGCHLD when a child process dies
  • #3277 - Spec improvements
  • #3276 - Class with prepended module is its own superclass
  • #3271 - bigdecimal & bigmath
  • #3265 - Updates for RSpec 3
  • #3251 - jruby: warning: unknown property jruby.{memory,stack}.max
  • #3249 - Socket.send freezes string unexpectedly (RuntimeError: can't modify frozen string)
  • #3248 - File.fnmatch doesn't match german vowels
  • #3245 - Parser fails on `assert_equal(true, (not ()))` expresion
  • #3238 - Fix Digest bubblebabble incorrect output on empty string
  • #3237 - $! gets unset by rescue, even when the rescue doesn't catch the error
  • #3233 - Rails.root set to "uri:classloader:/" for new Rails app with JRuby 9.0.0.0
  • #3228 - Fix an embedded runtime memory leak in Java7ClassValue
  • #3227 - Array#uniq behavior differs from MRI with BasicObject members
  • #3224 - removed unused FileIO class from persistence.util
  • #3221 - big decimal parser
  • #3220 - RubyInstanceConfig#setupEnvironment throws AccessControlException on Windows
  • #3218 - add to_h to the class used for ENV
  • #3211 - bignum speedup
  • #3200 - Fixing RangeError with code from 1.7 branch
  • #3198 - licensing information out of date?
  • #3189 - 9k fail ftp on Windows
  • #3188 - jruby-1_7 merge failures on master
  • #3187 - Add MRI test for proc visibility
  • #3175 - 9k fail to compile ruby code of using multibyte char on Windows
  • #3174 - ensure clause is executed before begin clause ends ?
  • #3173 - Can't reference the proc itself in a proc
  • #3165 - Fix RubyRange#initialize_copy mistakenly erroring on #dup'ing a range
  • #3163 - dup on Range regression
  • #3162 - Different results for `to_h` and `to_hash` on `ENV`
  • #3118 - Jruby 9000 RC1 throws Java::JavaLang::ClassCastException: org.jruby.RubyBignum cannot be cast to org.jruby.RubyFixnum
  • #2956 - bubblebabble is wrong for empty strings
  • #2901 - Psych fails with MBC strings in ASCII-8BIT
  • #2148 - BigMath.log fails MRI 2.2 tests
  • #2131 - Divergent behavior in MRI vs JRuby wrt Class::undef
  • #1968 - JRuby Yaml implementation (psych) fails dumping "-."
  • #1907 - Frozen
  • #1900 - "invalid byte sequence in UTF-8" after String#encode!; behavior differs from MRI (JRuby-1.7.13)
  • #1877 - Array#delete_if - no size update
  • #1770 - Wrong julian day for DateTime with a negative rational offset
  • #1328 - Encoding of symbol literals does not respect the encoding of the source file
  • #378 - Need ability to set Socket.setReuseAddress() in RubyTCPSocket.java

New in JRuby 9.0.0.0 (Jul 23, 2015)

  • Ruby 2.2 compatibility
  • A new optimizing runtime based on a traditional compiler design
  • New POSIX-friendly IO and Process
  • Fully ported encoding/transcoding logic from MRI
  • Two reverts on classloading to restore behavior to be like JRuby 1.7.x
  • Non-lambda return passing through a lambda could return improperly
  • Fixed two visibility issues on methods (#3123, #3135)
  • 39 issues fixed for 9.0.0.0 (note: some issues in list predate rc2 release)
  • Github Issues resolved:
  • #3158 - timeout method not calling Timeout::timeout
  • #3152 - Since JRuby-9.0.0.0 changes to classloaders are failing ruby-processing
  • #3151 - http.rb gem specs fail on JRuby 9.0.0.0.pre2 and greater
  • #3149 - Issue requiring 'yaml' on SwingWorker on jruby 9.0.0.0.rc2
  • #3143 - #each's return takes precendence over inner block's return with a lambda
  • #3139 - Gson gem fails to parse JSON on jruby9.0.0.0.rc1
  • #3134 - jruby-9.0.0.0.rc2/lib/ruby/maven-home/bin/mvn not executable
  • #3129 - Included Timeout crashes when module method version of timeout used
  • #3126 - load current directory file
  • #3125 - 9.0.0.0.rc2 popen3 doesn't work on Windows
  • #3123 - private method error in jruby-9.0.0.0.rc1
  • #3110 - Unable to load Sybase driver in rc1, works in pre2
  • #3062 - Unable to java_import a class on jruby-9.0.0.0.rc1
  • #3059 - Windows bin/*.bat files missing in 9.0.0.0.rc1
  • #3034 - jruby: warning: unknown property jruby.export
  • #2964 - In windows ScriptingContainerTest fails
  • #2950 - not implemented error Raspberry pi 2
  • #2762 - IO.copy_stream doesn't rewind the destination
  • #2718 - JVM6 JIT caches duplicate values multiple times per compile unit
  • #2713 - Hash#inspect differs from MRI Ruby 2.2.1; This problem occurs if Hash has double-quoted UTF8 symbol key.
  • #2684 - JRuby automatically reaps child pids
  • #2559 - 9.0.0.0-pre1: NoSuchMethodError in pg_jruby gem
  • #2499 - jrubyc command doesn't work on 9.0.0.0-pre1
  • #2497 - So Rails Rake Tasks Don't work? Preview 1 - 9.0.0.0
  • #2483 - Long generated filenames in Truffle code prevent compilation on some systems
  • #2480 - Keyword arguments arity issue
  • #2476 - truffle modular
  • #2462 - Removed unused var
  • #2416 - Remove JumpException, Next, Redo, etc. exceptions from old runtime
  • #2341 - allow for negative arity when calling curried proc
  • #2328 - [Truffle] New implementation of non-small hashes
  • #2322 - change name of files which pass rspec regression test on master
  • #2288 - security model compilation fix
  • #2287 - Fix #2137 Socket.getifaddrs returns incorrect interface list...
  • #2253 - Fix GH-1960 rspec file
  • #2252 - Fix GH-1726 on master
  • #2235 - Make AOT work on 9k
  • #2129 - Block variable shadowing and local_variables not matching up right
  • #1111 - [2.1] Comparable#== needs a recursion guard for missing

New in JRuby 9.0.0.0 RC 2 (Jul 10, 2015)

  • Major features:
  • Ruby 2.2 compatibility
  • A new optimizing runtime based on a traditional compiler design
  • New POSIX-friendly IO and Process
  • Fully ported encoding/transcoding logic from MRI
  • Notable updates since rc1:
  • Fixed cases where AOT classes were not loading
  • Various performance fixes
  • Reduced memory size
  • More parser fixes
  • Fixed rc1 eval with binding regression (aka setValueDepthZero AIOOB)
  • Fixed issues:
  • #3109 - Precompiled .class can't reflect new filename
  • #3104 - Strange error in implicit return of match variable
  • #3102 - Bundle install fails with jruby-head with a Java::JavaLang::ArrayIndexOutOfBoundsException on travis
  • #3098 - Fix for issue 3035 on master : change the hash code calculation method of SymbolTable entry.
  • #3092 - require_relative through symlinks behaves differently in jruby than in MRI ruby
  • #3090 - Create friendlier API for swapping current thread context classloader
  • #3089 - ManyVarsDynamicScope.java:145:in `setValueDepthZero': java.lang.ArrayIndexOutOfBoundsException: 0
  • #3086 - JavaLang::NullPointerException in RubySymbol.javaStringHashCode()
  • #3085 - proc {} in fcall hash with fcall receiving a do block does not parse
  • #3079 - [Truffle] Requiring paths with . for current directory doesn't work
  • #3078 - jruby 9.x jar-dependencies thwarts `gem install` prereq. to gemspec
  • #3075 - popen3 doesn't work on Windows
  • #3074 - rc1 fails on require 'psych' if .gemspec with require_relative in current directory
  • #3067 - JRuby 1.7.20.1 Socket.tcp, Addrinfo.tcp, etc. mistake port for protocol
  • #3061 - Add incrementor back PopenExecutor to prevent infinite loop.
  • #3060 - Empty intern array (%i[]) does not work
  • #3056 - java.lang.IncompatibleClassChangeError in 9.0.0.0 rc1
  • #3055 - Cannot delete file after requiring it on Windows in 9.0.0.0.rc1
  • #3054 - Process.spawn using huge amounts of memory for simple script
  • #3049 - Requiring a bare file from current directory works unexpectedly
  • #3046 - Shellescaped utf-8 string misbehaving in backticks
  • #3044 - Fix getRealMethod for WrapperMethod which wraps a WrapperMethod
  • #3042 - JRuby 9.0.0.0.pre2 raises "NameError: uninitialized class variable @@PREFIX_MAP in Object", doesn't occur in Ruby 2.2.x
  • #3040 - parameters on non-Ruby method with special arity will NPE
  • #3039 - SyntaxError: test.rb:3: syntax error, unexpected kDO_BLOCK
  • #3038 - Process.spawn with redirect causes ConcurrencyError
  • #3035 - 'あ'.to_sym == :'あ' is false
  • #3018 - LoadError with 'compiled' ruby files with JRuby9000
  • #3015 - Syntax Error on nested hash that parses with MRI 2.0 but not with JRuby 9000
  • #2973 - This is a fix for bug ID 2964. The URL to see the write up is here:
  • #2970 - add enforcer plugin to ensure we have only released dependencies on release
  • #2943 - "each_with_object({}, &lambda_logic)" raise ArgumentError
  • #2813 - jgem jruby-9000 not recognised as ~> 2.0.0
  • #2698 - Non-ascii method names getting kicked out
  • #2558 - Socket.gethostname ignores encoding settings
  • #2496 - NameError: uninitialized constant JSON::Ext::Parser using jruby-complete
  • #2487 - Dist has gotten too large due to new maven features
  • #2427 - Ripper is still 2.0 grammar and has not been updated for 2.2 changes
  • #1887 - parser bug

New in JRuby 1.7.21 (Jul 8, 2015)

  • Highlights:
  • 31 issues fixed for 1.7.21
  • Java integration performance enhancements
  • paths representing files within jars work better with core filesystem APIs
  • DateTime compat fixes
  • BigDecimal compat fixes
  • Fixed issues:
  • #3095 - "gem install" with jruby-complete results in "missing class name (`org.jruby.util.Classpath')"
  • #3093 - isOpen()/close() is racy. Simply close and ignore EBADF.
  • #3071 - when CWD is uri:classloader:/ regular absolute path do not work
  • #3041 - Zlib::GzipReader.readbyte not implemented
  • #3030 - Update rubygems to 2.4.8 to mitigate CVE-2015-4020
  • #2995 - Hash behaves differently when used with FFI::Pointer
  • #2986 - certain require do not load extension Service class
  • #2972 - creating a directory via uri-like path 'uri:classloader://new_dir' acts wrongly
  • #2969 - packing a runnable jar including rake + rspec can not execute '-S rake spec'
  • #2968 - jruby-complete can run -S rake spec:jruby or any other rspec via rake
  • #2967 - File.expand_path inside a jar can fail
  • #2966 - some File methods do not treat uri like paths consistently
  • #2948 - various issues launching script from runnable jar
  • #2946 - respond_to_missing? does not convert method to symbol
  • #2941 - DateTime.iso8601 fails with an error if a second fraction is present
  • #2940 - activesupport 4.2.1 breaks timeout.rb on jruby 1.7.19 and 1.7.20
  • #2922 - Dir['{}'] crashes with java.lang.ArrayIndexOutOfBoundsException: 0
  • #2907 - Hash#take_while wrong behavior in 1.7.19
  • #2883 - DateTime.iso8601 fails with an error (incompatibility)
  • #2873 - Class not found exception on ppc64le
  • #2856 - Some data can cause String#encode to hang
  • #2539 - Incorrect error message when BigDecimal fails to coerce during comparison
  • #2538 - BigDecimal does not coerce properly during division
  • #2373 - Redirecting $stdout to an object fails with: Errno::EBADF: Bad file descriptor - Bad file descriptor
  • #2293 - uintptr_t is wrong size on 64-bit JRuby
  • #2039 - jruby 1.7.10 raises unexpected arity error (1 for 0) when creating a java.math.BigDecimal
  • #1967 - Error when raising to a BigDecimal
  • #1718 - Pointer on Windows JRE 64bit: Fix Memory access offset=0 size=8 is out of bounds
  • #1396 - Backticks don't give exception for nonexistant command
  • #1218 - Forcing jruby-complete to execute a command.
  • #540 - Inconsistency between MRI and JRuby when private methods are called and method_missing is present

New in JRuby 9.0.0.0 RC 1 (Jun 12, 2015)

  • Notable updates since pre2:
  • Updated to Rubygems 2.4.8 addressing CVE-2015-1855
  • Several parser issues (also fixed in ripper)
  • Optimized multiple assignment
  • Several added smaller missing methods for better 2.2 compatibility
  • A couple of bugs involving nested exceptions/ensures and $!
  • Fixed issues:
  • #3022 - Don't call modify() on RubyStrings so eagerly when freezing them
  • #3019 - Small string values backed by HUGE non-shared ByteList leading to large memory usage under 9k
  • #3016 - OutOfMemoryError in 9k on code with very large methods
  • #3010 - 9k has different scoping behavior than MRI
  • #3009 - LocalJumpError: yield called out of block in JRuby 9.0.0.0.pre2
  • #3008 - Module#included is private when called with super
  • #3007 - splats with non-array like values
  • #3006 - add recursion guard in Comparable.
  • #3002 - Don't warn on private attribute accessors to match CRuby
  • #2993 - Many failures in Sequel tests on [RuntimeError] exception expected, not Class: Message:
  • #2986 - certain require do not load extension Service class
  • #2984 - Socket.pair is not implemented
  • #2983 - Net::HTTP can't ignore http.proxyHost of JVM System Property
  • #2976 - Regression: Sequel's literals contain additional quotation marks under JRuby 9k head but not under pre2
  • #2975 - Requiring Sequel triggers false warnings `already initialized constant`
  • #2974 - NotImplementedError: waitpid unsupported or native support failed to load on OS X 10.9.5 / OpenJDK 8 / rbenv
  • #2959 - JRuby 9k-pre2 throws IOError when reading from $stdin
  • #2957 - JRuby 9.0.0.0.pre2 starts hanging while reading from a socket
  • #2939 - Issue #2924
  • #2924 - Issue in org.jruby.util.TypeConverter CheckType
  • #2920 - Proc from Method breaks encoded parameter list
  • #2919 - Add another layer of try/finally around rescue/ensure to reset $!.
  • #2918 - Method#parameters doesn't annotate required parameters correctly
  • #2916 - Multiple assignment has too much overhead
  • #2910 - $! does not get cleared under certain circumstances
  • #2905 - Different Regexp behavior from MRI
  • #2904 - require 'ripper' yields const already init warnings
  • #2899 - Fix for issue 2896 on master : Symbol#inspect with utf8 encode string
  • #2887 - jrubyc failing - TypeError: failed to coerce org.objectweb.asm.ClassWriter to org.jruby.org.objectweb.asm.ClassVisitor
  • #2877 - Implementation of initialize_copy for BigDecimal (fix #2868)
  • #2871 - Enabling tty for powerpc64
  • #2869 - NameError different behavior
  • #2868 - BigDecimal can not be copied
  • #2850 - Fannkuch-redux is less than half as fast in 9k as in 1.7
  • #2772 - Make Dir raise Errno::EACCES
  • #2756 - Allow File.open and File.new with 4 arguments
  • #2744 - Syntax error with file that has OK syntax with MRI 2.2
  • #2724 - Socket.getaddrinfo reverse_lookup
  • #2616 - Fix power of 0 and 1 issues in Rational
  • #2605 - Fix File.read with UTF-16LE
  • #2603 - Add support for named captures in StringScanner (fixes #1067)
  • #2563 - RubyArray#flatten! uses `respond_to?` unlike the original [lotus]
  • #2475 - Truffle: Understand and reduce impact of Truffle on the distribution size
  • #2036 - Demonstrate pedantic option
  • #1955 - -X... and -X? options to search for properties.
  • #1629 - Another unexpected kDO_BLOCK error in parser

New in JRuby 1.7.20 (May 6, 2015)

  • Highlights:
  • 62 issues fixed for 1.7.20
  • Rubygems updated to 2.4.6
  • jruby-openssl updated to 0.9.7
  • Java integration performance enhancements
  • ppc64le & ppc64 native support added
  • obligatory M17n fixes :)
  • Issues resolved:
  • #2903 - Removing event hooks can AIOOB
  • #2902 - Enumerable#find_index gives wrong result in case with types cast
  • #2894 - Mimic MRI's openssl when jopenssl require fails.
  • #2890 - Enabling tty for powerpc64 (1_7)
  • #2881 - java_send will not invoke a method taking a CharSequence
  • #2857 - org.jruby.javasupport.JavaMethod invocation does not wrap returned JavaObject
  • #2816 - UnboundMethod#parameters for an assignment method wrongly returns blank array
  • #2812 - Add PowerPC64 little endian support in FFI on 1_7
  • #2810 - looks like org.jruby:jruby artifacts contains jruby-core
  • #2793 - FreeBSD TestPTY#test_commandline fails
  • #2790 - Jruby to use upcoming jnr-ffi release to have ppc64le TypeAliases
  • #2773 - ThreadKill not handled by ThreadFiber
  • #2759 - "warning: Unrecognized time zone: x" emitted to stderr
  • #2750 - UNIX Sockets raising Errno::ECONNRESET or EOFError ( 9.0.0.0 && 1.7.19 )
  • #2749 - some array factories do not work
  • #2748 - RubyGems of JRuby1.7.19 is v2.4.5 (should be v2.1.9)
  • #2742 - Regression in loading Java classes with upper case package names
  • #2733 - Compiling app with embedded JRuby has RELEASE_6 warning
  • #2715 - implements strict base64 encoding
  • #2658 - Java integration should call toJava or to_int for array index and value
  • #2650 - BigDecimal losses precision in JRuby 1.7.19
  • #2647 - jruby core build fails on IBM ppc64
  • #2632 - Enumerator containing range does not pass a block variable
  • #2630 - embed internal fixes
  • #2624 - java support cleanup and improvements
  • #2617 - `des-ede3` is unusable in JRuby
  • #2602 - RegexpError: invalid multibyte character for method gsub
  • #2600 - File.stat gives incorrect mode value on PPC platforms
  • #2596 - Exception java.lang.Error thrown while initializing thread_safe ConcurrentHashMapV8
  • #2595 - Issue with object form constructor by reflection.
  • #2582 - JMX MBean name collides when deploying multiple JRuby web apps to a single application server
  • #2572 - Fix uninitialized usage of File::Stat on jruby-1_7
  • #2554 - Fix for issue 2524 on jruby-1_7: [BigDecimal] Loss of precision with different execution order
  • #2551 - Base64.strict_decode64 isn't strict
  • #2549 - support for easy (Ruby) String to (Java) char conversion
  • #2510 - Explicit require of autoloaded class triggers double load
  • #2508 - upgrade to jruby-openssl 0.9.6
  • #2428 - Rack tests broken
  • #2424 - Error in File.stat
  • #2387 - absolute paths without drive letter don't work in windows
  • #2375 - JRuby subclass cannot call super with arguments if parent constructor is varargs
  • #2373 - Redirecting $stdout to an object fails with: Errno::EBADF: Bad file descriptor - Bad file descriptor
  • #2372 - system("...&&...") should work in windows
  • #2344 - rubygems 2.4.5
  • #2336 - RubyGems 2.4.5 Upgrade Triggers Bug in Java Extension Loading
  • #2321 - Fix for issue 2182 on jruby-1_7 : Struct#inspect with utf8 encode string member
  • #2314 - Infinite loop when using mutually-referential constants
  • #2301 - unable to get value of object's fields in RubyMine debugger
  • #2182 - Struct#inspect has ASCII encoding
  • #2014 - Enum#valueOf thread safety issue
  • #1897 - Add PowerPC64 little endian support in FFI
  • #1754 - JRuby 1.7.11 (bundled with LogStash v. 1.4.1) fails on FreeBSD 10.0 with NotImplementedError: stat.st_dev unsupported or native support failed to load
  • #1753 - Unsupported platform: unknown-linux (ppc64le)
  • #1719 - Cannot require 'openssl' in a signed jruby jar as of jruby 1.7.3
  • #1621 - Java class proxy creation deadlock
  • #1390 - Literal `\あ` results in invalid multibyte char error
  • #1389 - JRuby can Not load JFFI library under IBM Power 64 with PLinux platform
  • #1354 - Calling .to_java(Java::byte[]) on a RubyArray doesn't convert to a multi-dimensional byte array, but fails with a TypeError exception
  • #1270 - LocalJumpError raised on break from custom Enumerator enumeration
  • #769 - java_send on private subclass fails
  • #719 - jruby-openssl gem breaks PKCS5
  • #638 - java_send should be smart enough to unwrap the Ruby version of a Java class

New in JRuby 9.0.0.0 Pre 2 (Apr 29, 2015)

  • Notable changes:
  • Startup time has improved but is a tiny bit slower than 1.7.x.
  • Memory usage has improved but still a ways to go.
  • Straight-line performance has improved since pre1
  • Windows support improved, but still needs further work and testing
  • Many keyword arguments problems fixed
  • Fixed issues:
  • #2864 - Prepend breaks module "implementer" search
  • #2847 - JRuby not using UTF-8 for source files
  • #2846 - Psych dependency is installing non-JRuby version
  • #2842 - Hash#each_pair should be a true alias of Hash#each
  • #2840 - jrubyc blows with NPE
  • #2833 - Bad nonlocal return with re-wrapped define_method block
  • #2797 - Support respond_to_missing? in respondsTo() lookups
  • #2788 - Autoload broken by path canonicalization
  • #2787 - Returns nil instead of regex match group inside conditional
  • #2784 - rindex() fails on strings read from binary files
  • #2777 - Undefined group option during parse of mri/test_regexp.rb
  • #2776 - IR improperly masks errors in defined-guarded conditional
  • #2771 - unknown type of %string
  • #2767 - Open3.popen3 treats string command differently than MRI
  • #2766 - Open3.capture2e fails with "wrong exec option"
  • #2764 - Encoding::Converter#primitive_convert has trailing null byte
  • #2752 - JRuby doesn't define Process::Tms like MRI does
  • #2751 - Make RUBY_ENGINE_VERSION as companion to RUBY_ENGINE
  • #2736 - early return in each'd enumerator is jumping out of each and not method
  • #2726 - how do I install with Jars? Re: "deprecated. use instead jars/installer" message
  • #2716 - rb_cmpint difference from MRI
  • #2712 - Micro bench is nearly 2x slower with JIT than interp
  • #2692 - Fix for issue 2591 on master : double-quoted UTF8 hash key encoding
  • #2654 - Truffle - Compile Error until when break in case statement
  • #2652 - Truffle - Regex Parsing Error
  • #2637 - Produce a warning on private attribute accessors
  • #2636 - Fix Bignum's bitwise operations
  • #2635 - Object.const_get behaves differently from other implementations
  • #2629 - Mixed-mode execution exposes an unusual bug
  • #2627 - $stdin.tty? reports wrong value on JRuby-9.0.0.0-pre1
  • #2623 - error with bin/jruby -S gem install asd
  • #2615 - Open3 fails with ArrayStoreException after ~50 executions
  • #2598 - Unknown error in child-process gem when trying to open phantomjs browser in webdriver when running on jruby
  • #2593 - Fix IO#write frozen string issue in textmode
  • #2591 - double-quoted UTF8 hash key has the wrong encoding
  • #2589 - Fixed the errors with RubySpec
  • #2587 - simplecov triggers load error when running coverage on jruby-9.0.0.0.pre1
  • #2585 - JavaSupport refactoring API (byte-code) incompatibility with extensions
  • #2584 - Fixed arity issue with RubyMethod
  • #2583 - Make filepaths with null byte fail
  • #2581 - Error handling converting UTF-32 to UTF-8 is broken [9k] [lotus]
  • #2580 - Different Encoding behavior from all other Rubies
  • #2579 - Fix for issue 2182 on master : Struct#inspect with utf8 encode string member
  • #2578 - Binding#receiver is not implemented [9k] [lotus]
  • #2576 - Fix the bug with size with each_slice without block
  • #2574 - Parallel value assignment broken in IR builder (multi-value literals, calls, attr-assign, etc.)
  • #2570 - ClassCastException requiring minitest with JRuby 9000
  • #2569 - Fix required arguments for File.chown
  • #2568 - Exit iterator when `RubyHash#any?` short-circuits
  • #2562 - Skip block-to-proc conversion for explicit block syntax when possible
  • #2560 - Fix uninitialized usage of File::Stat
  • #2553 - Mismatch on Enumerator#size result between JRuby and MRI
  • #2547 - Dir.foreach does not allow encoding
  • #2541 - JRuby+Truffle: Keyword Arguments - "illegal recursive call"
  • #2540 - Fixed arity require in case of required keyword arguments
  • #2537 - Fix for issue 2524 on master: [BigDecimal] Loss of precision with different execution order
  • #2525 - undefined method `invoke_with_build_args' for nil:NilClass on Windows 7
  • #2524 - [bigdecimal] Loss of precision with different execution order
  • #2523 - Modified the make_wstr method so that it appends a null character.
  • #2522 - Implement pack & unpacking ipv6 address in sockaddr
  • #2521 - Require order appears to impact JRuby extensions [9k]
  • #2518 - Keyword arguments incompatibility
  • #2514 - Getting "BUG: $! and exception are not matching up" in RSpec in 9K
  • #2512 - keyword arguments incompatibilities
  • #2511 - Keyword method parameters cannot take a frozen hash
  • #2505 - IO.popen cannot run 'date' on Windows 7
  • #2500 - gem install failure on Windows
  • #2494 - Open3 fails with varying signals on 9.0.0.0.pre1
  • #2493 - Performance issue with invokedynamic + Rack + URI
  • #2492 - Implemented support for keyword and keywordrest proc /lambda parameters
  • #2491 - Minitest rails not working on 9000
  • #2489 - Proc.parameters return an empty array
  • #2486 - Implemented Enumerator#feed method
  • #2474 - truffle artifacts are not on maven central and we have a release repo in jruby-parent.pom
  • #2466 - Package Truffle stdlib files into tarball
  • #2388 - IO#ready? returns incorrect results
  • #2357 - NULL handling inconsistent with Ruby
  • #2312 - Encoding.compatible? affected by call order
  • #2210 - Fix for issue 1069 and 1390 on master: improve handling of non ascii character after backslash
  • #2185 - Bundle fails with Java::JavaLang::StackOverflowError with git-hosted gems
  • #2165 - Truffle: Kill all other threads when the main thread exits
  • #2163 - StringLiteral consumers may not be CR-aware
  • #2137 - Socket.getifaddrs returns incorrect interface list
  • #2033 - Problem with super not passing params with IR
  • #2015 - Method keyword arguments are destructive
  • #1982 - AIOOBE in ThreadContext#postYield
  • #1395 - Pre-compiled methods do not have AST available for re-compilation
  • #779 - Output unreliable from spawned processes

New in JRuby 1.7.19 (Jan 31, 2015)

  • Highlights:
  • Time.getlocal accepts fixnum as an argument (Rails 4.2 blocker)
  • A few encoding fixes
  • Socket.read(0) does not block (1.9)
  • Github Issues resolved:
  • #2528 - RegexpError: invalid multibyte character
  • #2451 - No need to synchronise a newly created local RubyArray
  • #2446 - ConcurrentModificationException from ThreadGroup.list
  • #2438 - Time#getlocal should accept Fixnum as an argument
  • #2434 - String#start_with? inconsistent with other Ruby implementations
  • #2426 - NullPointerException when trying to assign UnboundMethod using define_method & to_proc
  • #2419 - Encoding issue after v1.7.6
  • #2402 - (MAINT) fix jnr-constants version in pom
  • #2401 - (MAINT) Fix pom deps re: asm
  • #2386 - JRuby fails to display Java splash at startup on OS X
  • #2349 - Fix for issue 1675 on jruby-1_7: String#casecmp on UTF-16LE encoded string
  • #2343 - some error with RG with embedded JRuby
  • #2338 - String#b improperly updates encoding of source string
  • #2333 - ChannelDescriptor leak after close of ScriptingContainer
  • #2292 - Remove unnecessary puts for GC::Profiler.total_time
  • #1675 - casecmp on UTF-16LE encoded string produces ArrayIndexOutOfBoundsException
  • #1637 - Socket.read(0) blocks caller (but not in MRI)

New in JRuby 9.0.0.0 Pre 1 (Jan 21, 2015)

  • Major features of JRuby 9000:
  • Ruby 2.2 compatibility, minus features listed below
  • A new optimizing runtime based on a traditional compiler design
  • New POSIX-friendly IO and Process
  • Fully ported encoding/transcoding logic from MRI

New in JRuby 1.7.18 (Dec 23, 2014)

  • Highlights:
  • 20 issues fixed for 1.7.18
  • non-ASCII Symbols now have their proper encoding
  • fixed a couple of regressions from native crypt() landing
  • update stdlib to match MRI (C Ruby) patch level 551
  • Github Issues resolved:
  • #2342 - Java::JavaLang::NullPointerException: org.jruby.RubyString.crypt(RubyString.java:2660)
  • #2331 - File.realpath treats absolute "classpath:/" paths as relative paths
  • #2327 - added String#b method
  • #2316 - I/O calls do not invalidate `String#ascii_only?` cache
  • #2310 - ArgumentError: "+HH:MM" or "-HH:MM" expected for utc_offset
  • #2307 - ConstantCompilationTest.testContainerCompilation regression
  • #2304 - Unable to use JRuby with google app engine due to use of sun.misc.Unsafe
  • #2302 - Update JRuby 1.7.x to latest PL and default gems
  • #2301 - unable to get value of object's fields in RubyMine debugger
  • #2298 - Open3.capture3 still broken in JRuby 1.7.17
  • #2297 - File.executable? raises an exception if the `file_path` is non-existent and native disabled
  • #2296 - NullPointerException with JRuby 1.7.17 running rspec & simplecov in debug mode
  • #2295 - Regexp.union [] gives wrong result in ruby 1.8 mode
  • #2294 - String#crypt fails on Windows
  • #2291 - Dir[] fails if path does not exist instead of returning nil
  • #2259 - File.basename can return a string with a different encoding than the input
  • #2172 - Symbols need to support UTF-8 names
  • #2048 - Stat of an empty resource does not generate proper Exception.
  • #1941 - Symlinks in load path should remain unexpanded in LOADED_FEATURES
  • #1237 - jffi*.tmp files remain in %TMP% folder

New in JRuby 1.7.17 (Dec 10, 2014)

  • Highlights:
  • 56 issues fixed for 1.7.17
  • native crypt()
  • Fixed bad encoding of string interpolated within backticks
  • popen2+ now works properly with env hash
  • improvements to align MRI and JRuby FFI
  • updated stdlib to 1.9.3p392 (+ rexml security fixes)
  • Github Issues resolved:
  • #2271 - refactor FileResource.inputStream to be easier to use
  • #2264 - Illegal hex characters in escape (%) pattern
  • #2258 - Encoding issue with backticks
  • #2249 - Improve error message when adding file to X509Store fails
  • #2231 - Was the --indy cli option removed? (1.7.16.1)
  • #2223 - test Kernel.system on windows
  • #2219 - JRuby Complete 1.7.16.1 does not move asm to other package
  • #2173 - on jboss wildfly when starting a rack application: stat unsupported or native support failed to load
  • #2169 - Upgrade jcraft/jzlib dependency
  • #2123 - Fix for issue 2050 : BigDecimal and nil multiplication
  • #2120 - require 'win32/registry' fails
  • #2115 - Limit searches for service libraries to once per baseName, rather than once per suffix.
  • #2088 - Allow partial but not actual esoteric interpolation sequences to be regexp values
  • #2079 - Error running rspec (LoadError: load error: jopenssl/load -- java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DERBoolean)
  • #2078 - Very large retained heap size for org.jruby.RubyRegexp$RegexpCache in JRuby Rails App
  • #2077 - jruby can't be used w/ jdk 9
  • #2075 - Provide better error message when using :: in java_import (fixes #2074)
  • #2074 - java_import does not accept :: for static nested classes
  • #2072 - Old tzdata in JRuby
  • #2068 - Made Exception#set_backtrace compliant with Ruby documentation
  • #2064 - improve handling of non ascii character after backslash
  • #2060 - Instance_eval tramples over block's binding's ivars
  • #2057 - Rubygems broken due to psych problem for 1.7.16 in 1.8 mode
  • #2055 - extensions found on classpath do not load
  • #2042 - Gem class missing in jruby-complete 1.7.16 when running from network folder (Windows only)
  • #2040 - jruby -S irb broken on solaris in 1.7.16 with JDK 7
  • #2032 - JRuby 1.7.16's complete.jar has a path regression from 1.7.15
  • #2017 - load path with jars not working anymore with 1.7.16
  • #2016 - java.library.path on Fedora
  • #2011 - Fix for issue 1695 : BigDecimal and Rational multiplication
  • #2008 - Implemented multi args 'system' method on Windows fix #1074
  • #2006 - Coding Conventions guide uses wrong link for sun java coding standards
  • #2004 - jruby-complete-1.7.16.jar includes /Users directory
  • #2003 - fix enums to return nil on unknown symbol
  • #2002 - tweak include order
  • #1999 - Land master File.readlink fix (084eef9c25860cccdd65b625a877e7e230414175)
  • #1983 - java -jar jruby-complete.jar -S irb doesn't work anymore
  • #1962 - Array() does not coerce according to MRI 1.9 logic
  • #1954 - FFI::Library#enum_value difference between MRI and JRuby
  • #1934 - Deprecate overloaded `setProfile`, prefer `setProfilingMode`
  • #1919 - Call Exception#set_bactrace when raising exception
  • #1875 - __FILE__ is wrong when using PathType.CLASSPATH so require_relative can't work
  • #1870 - Module#ancestors now includes singletons themselves
  • #1869 - ScriptingContainer.parse(PathType.CLASSPATH, "some.rb").run() fails
  • #1791 - scriptingcontainer native memory leak?
  • #1768 - OpenSSL cipher list mismatch
  • #1758 - Binding bug
  • #1752 - warning: Tempfile#unlink or delete called on open file; ignoring
  • #1695 - BigDecimal and Rational multiplication rounds the rational number
  • #1681 - Optimize SipHash using sun.misc.Unsafe
  • #1549 - openssl issue with rails and installed default gems
  • #1547 - Passing environment hash to Open3#popen3 causes IOError
  • #1290 - JRuby 1.7.8 (1.9) Open3 `capture3` bug
  • #1074 - Kernel#system with two parameter on Windows fails
  • #1035 - String#crypt behaving differently that in MRI
  • #957 - Time marshaling is incorrect

New in JRuby 1.7.16.1 (Oct 30, 2014)

  • Changes:
  • This is our seventeenth update release since JRuby 1.7.0. The primary goal of 1.7 point releases is to fill out any missing compatibility issues with Ruby 1.9.3.
  • This is a security fix release for CVE-2014-8080. All users are strongly recommended to upgrade. For more information, check out the excellent write up on www.ruby-lang.org.
  • There is one other small change in this release to strip out extra unused files from jruby-complete.jar. jruby-complete.jar is back down to a normal size again.

New in JRuby 1.7.16 (Sep 26, 2014)

  • Changes of note:
  • 20 issues fixed for 1.7.16
  • Fixed regression which improperly wrote wrong version for OSGi bundles
  • Fixed several regressions involving symbolic links and Ruby loading
  • Doubled performance of FileTest.directory?
  • Github Issues resolved for 1.7.16:
  • #1997 - Tempfile behavior change in 1.7.15
  • #1995 - Regexp regression in 1.7.15 from 1.7.13
  • #1994 - Snapshot builds of jruby-1_7 jruby-jars.gem have the wrong file name
  • #1991 - Allow launch.inproc=true to expand glob patterns
  • #1989 - Files in axiom-types and descendants_tracker gems use 400 and 440 modes
  • #1986 - String#slice on multibyte chars raise Exception
  • #1983 - java -jar jruby-complete.jar -S irb doesn't work anymore
  • #1977 - jrubycomplete - OSGi DynamicImport-Package breaks Adobe AEM
  • #1975 - nil TypError on bundle install, regression 1.7.14+
  • #1973 - Bundle package broken after 1.7.14
  • #1971 - jruby-core 1.7.14 isn't a valid OSGI bundle anymore
  • #1965 - Gemfiles that use `:path` broken between 1.7.13 and 1.7.15
  • #1963 - Array#product does not coerce incoming arguments properly
  • #1953 - openssl ignores OpenSSL::X509::DEFAULT_CERT_FILE
  • #1950 - All RubyFileTest methods have a race condition
  • #1945 - File.exists?("broken_symlink") returns true
  • #1942 - Bundle not working with two gemspecs - bug introduced in 1.7.14
  • #1715 - IOError with OpenSSL #connect_nonblock: Writing not possible during handshake
  • #1700 - NPE in Ripper with $ special variables
  • #541 - JRuby 1.7.2 with authlogic 3.x fails to boot (OpenSSL)

New in JRuby 1.7.15 (Sep 4, 2014)

  • Changes of note:
  • 8 issues fixed for 1.7.15
  • Potential memory leak resolved when reloading JRuby apps in Java App servers
  • jruby-jars gem did not have their embedded jars within it
  • rvm install of jruby would not properly follow gemset symlinks
  • Windows exec works again
  • lstat did not honor native.enabled property and always invoked native
  • Github Issues resolved for 1.7.15:
  • #1940 - Symlinks in load path get expanded when they should not
  • #1939 - Update jnr-ffi dependency version
  • #1936 - Pathname object in $LOAD_PATH causes error (1.7.14)
  • #1935 - Add ScriptingContainer accessors for ProfileOutput
  • #1930 - JRuby 1.7.14 relies on HOME in the environment - change in behaviour from 1.7.13
  • #1927 - jruby-complete 1.7.14 appears to be missing some files
  • #1926 - jruby-jars 1.7.14 gem seems to be missing jar files.
  • #1115 - control-c in cmd while running webrick rails app does not kill jruby.exe

New in JRuby 1.7.14 (Aug 28, 2014)

  • Fixed potential memory leak with Jar file resources
  • Due to slow startup on Rails apps invokedynamic is no longer on by default
  • load/require internals refactored and simplified
  • Small smattering of compatibility fixes
  • #1923 - String#start_with? returns false when using an empty string
  • #1905 - Tempfile and deleteOnExit
  • #1899 - Can't call static method on Java 8 interface
  • #1898 - Fix the memory leak and actually close the resources.
  • #1889 - NPE from org.jruby.java.proxies.ArrayJavaProxy.to_a
  • #1888 - native memory leak when reading files from inside a .jar
  • #1859 - JMX tries to double-bind a port when using bundle exec
  • #1858 - JRuby with Java 8 4 to 10 times slower than Java 7
  • #1852 - JRubyClassloader seems to have a problem with file urls pointing to jar ...
  • #1850 - embedded jars do not get loaded
  • #1846 - Fix $LOAD_FEATURES paths for 1.8
  • #1818 - fix ArrayJavaProxy#to_a failure on arrays containing null
  • #1813 - can not load resources from jar anymore with jar uri
  • #1809 - apply minor enebo's comments
  • #1808 - Fix BigDecimal#round behavior with NAN and INFINITY
  • #1805 - Zlib crc improvements
  • #1803 - Fix minor bug in `setNativeEnabled`, and expose it in ScriptingContainer
  • #1802 - Fix Encoding::Converter#inspect output
  • #1799 - mvn -Pall fails at the documentation step
  • #1790 - Make Time#to_r consistent with MRI
  • #1777 - ServerSocket#accept_nonblock returns the server's port, not the client's
  • #1772 - avoid sub-classing ThreadLocal since it will leak in envs such as .wars
  • #1765 - added a java_field method for use in the jrubyc command.
  • #1762 - enhanced the java_class compiler so it can handle multiple constructors
  • #1750 - Refactor LoadService to make use of resources
  • #1729 - no valid struct layout for Ethon::Curl::Slist
  • #1676 - Empty hash optimization
  • #1580 - IO.select raises CancelledKeyException on shutdown
  • #1520 - Date comparison as java objects
  • #1435 - bouncy-castle-java JARs missing when warbling with JRuby 1.7.10

New in JRuby 1.7.13 (Jul 5, 2014)

  • Changes of note:
  • 58 issues fixed for 1.7.13
  • jruby-openssl 0.9.5 bundled
  • Ability to upgrade jruby-openssl as a gem
  • New custom profiler API
  • Several BigDecimal fixes
  • Github Issues resolved for 1.7.13:
  • #1757 - new krypt gem release
  • #1749 - ??? jruby-opensll snapshot build not working properly on 1.7 branch
  • #1748 - openssl load 1.8 (and possibly 1.9 compatibility) fix
  • #1747 - Openssl is broken in 1.8 mode due to IO::WaitReadable
  • #1743 - Ruby 1.9+ will use nil not false for type argument of set_trace_func
  • #1731 - [GH-1726] - File.read should raise an Errno::ENOENT when the file is an empty String
  • #1726 - JRuby 1.7.12: File.read("") throws Java ArrayIndexOutOfBoundsException
  • #1725 - Make behavior of Array#eql? more closely match MRI
  • #1722 - Strange FloatDomainError
  • #1714 - String#rindex should handle matchdata strings
  • #1711 - quote variables so works with directories with spaces
  • #1708 - add spec for array coercion
  • #1707 - * Treat SSL NOT_HANDSHAKING as FINISHED.
  • #1705 - jruby-openssl gem version inconsitency
  • #1703 - Fix for issue #1695
  • #1699 - StringIO.set_encoding may change shared ByteList encoding
  • #1698 - jruby-lib build fails in windows
  • #1697 - Do not rescue java.lang.Error using StandardError
  • #1696 - Rescue StandardError rescues Java errors
  • #1688 - String rindex does not work properly with matchdata
  • #1684 - Fix for issue #1517
  • #1679 - Regression in compiling with default 1.8 mode
  • #1677 - Use pwd -P to work on systemlinked locations.
  • #1673 - ArrayJavaProxy#to_a now returns nested arrays where applicable
  • #1670 - (more) OpenSSL cleanup
  • #1667 - Kernel#fail should handle java exceptions
  • #1666 - Fix #1664 for Hash#compare_by_identity and Hash#store
  • #1664 - when Hash#compare_by_identity is called, it should not copy the keys
  • #1663 - BasicSocket#shutdown should accept strings or symbols
  • #1661 - minor (infrastructure) openssl cleanup
  • #1650 - require 'net/https' fails on 1.7.12 and master if jruby.native.enabled=false
  • #1649 - Triplicate BouncyCastle jars in the build
  • #1648 - GH-1633 - BigDecimal operations should throws TypeError when the first argument is nil
  • #1646 - GH-1551 - Fixing: Fixnum#to_s seems to generate strings immune to #[]=
  • #1645 - Fix jar entry path expansion (https://github.com/jruby/jruby/issues/321 issue)
  • #1641 - fail and raise behave differently
  • #1638 - "Regexp Interrrupted" Typo
  • #1636 - Static JavaProxy#getJavaClass needs to clear $!
  • #1633 - Erroneous BigDecimal operations
  • #1631 - BigDecimal#{round,truncate,floor,ceil} with no args returns to_i
  • #1630 - Add support for symbol rounding mode arguments
  • #1622 - Refactor channeldescriptor to use FileResource
  • #1616 - Actually use Java7ClassValue when using Java 7+.
  • #1602 - api for custom profiler
  • #1596 - Uninitialized constant OpenSSL::SSL::SSLContext::METHODS in 1.7.x
  • #1590 - Hash#hash fails when keys & values are the same
  • #1579 - BasicSocket.shutdown() is not compliant for >= 1.9.x
  • #1578 - Result of operation between BigDecimal and Rational differs.
  • #1566 - loading (default) gems varies between jruby 1.7.x versions
  • #1551 - Fixnum#to_s seems to generate strings immune to #[]=
  • #1543 - openssl 'BC' (security provider) leak
  • #1542 - fix initialize visibility
  • #1538 - ArgumentError: comparison of Class with Class failed
  • #1517 - Time#to_s with different UTC offset gives local hour with given offset
  • #1299 - Enumerator.peek throws NullPointerException after the last item (1.7.8)
  • #389 - OpenSSL::ASN1.decode results vary from MRI (and fail)
  • #357 - OpenSSL::PKey::RSA.new returns the wrong value
  • #210 - File.readlink cannot read dangling symlinks

New in JRuby 1.7.12 (Apr 18, 2014)

  • Changes of note::
  • 39 issues fixed for 1.7.12
  • Mostly small 1.9.3 compatibility fixes
  • Fixed a small leak if throwing lots of X509Errors
  • Improved loading speed of Ruby files from jar files.
  • Github Issues resolved for 1.7.12:
  • #1626 - Fix compare_to for to_java'ed Ruby objects
  • #1625 - Array#pack(cC) should not raise RangeError when argument is bignum
  • #1618 - Enum.java:238:in `valueOf': java.lang.IllegalArgumentException: No enum constant jnr.constants.platform.AddressFamily.AF_AF_INET
  • #1612 - jruby affected by libyaml CVE-2014-2525?
  • #1608 - Inconsistent parsing of long strings to integers between JRuby and MRI
  • #1607 - index.txt for s3 files
  • #1606 - Exception when comparing Time with nil using ===
  • #1605 - syslog FFI constants not generated for Syslog class on FreeBSD
  • #1603 - Remove [@] syntax to add IBM i compatibility
  • #1600 - Enums.... round three
  • #1599 - Fix dynamic rescue on Java exceptions (issue #1598)
  • #1598 - Dynamic rescue blocks don't catch Java exceptions
  • #1595 - "gem install bundler" fails using 2.0 or 2.1 mode
  • #1592 - Fix definition of JavaUtilities::ModifierShortcuts#static?
  • #1589 - Rand fix master
  • #1588 - fix Random.rand(1.0) behavior
  • #1587 - Refactor channeldescriptor to use FileResource
  • #1583 - Random.rand is broken with floating point values vs 1.9.3
  • #1575 - mvn build error for [INFO] JRuby Lib Setup ................................... FAILURE
  • #1573 - Fix exponential perf degradation in Time.parse and Time.strptime.
  • #1564 - String#{to_r,to_c} should not use backref when calling gsub internally
  • #1563 - Calling String#to_r causes loss of Regexp.last_match data
  • #1557 - Pathname doesn't have to_path in 1.8
  • #1556 - Dir.home returns LOGDIR env var instead of HOME or user.home
  • #1546 - Implement jar directory snapshot caching.
  • #1534 - NPE in RubyIO.fwrite(RubyString buffer)
  • #1532 - Potential runtime leak from X509Error$ErrorException
  • #1529 - Krypt 0.0.2.rc1 update
  • #1526 - Change to use FileResource to get entries for RubyDir
  • #1523 - unexpected ArgumentError in curried Proc
  • #1508 - fix spinning indefinitely on partial TLS record (issue #1280)
  • #1507 - Processdottimesfix
  • #1506 - Better messaging with NameErrors
  • #1478 - Array#pack difference between jruby 1.7.10 and ruby 1.9.3
  • #1460 - org.jruby.ext.pathname.RubyPathname class doesn't properly support instance_variable_set method
  • #1280 - jruby-openssl spins endlessly trying to read from a non-blocking SocketChannel while no data is available.
  • #1210 - Unbundle bouncy-castle-java
  • #1207 - Unbundle krypt libraries
  • #1100 - When inside a .JAR, __FILE__ returns a URI-like string that isn't understood by some keywords

New in JRuby 1.7.11 (Feb 26, 2014)

  • Changes of note:
  • 54 issues fixed for 1.7.11
  • Miscellaneous encoding fixes
  • Several fiber edge cases fixed
  • Fiber thread pool reinstated
  • More Ruby-friendly Java backtraces
  • Issues resolved for 1.7.11
  • #1519 - Catch/throw and exceptions do not propagate out of fibers
  • #1515 - Make JRuby\'s RubyTime argument checking be same as MRI
  • #1512 - Fixing encoding problem with string format.
  • #1511 - Encoding problem with string format
  • #1510 - Resurrect replacing '\' with '/' in JRubyFile for windows.
  • #1504 - Unreadable stacktraces when exceptions occur within Java code
  • #1501 - Time.utc can't handle hour 24
  • #1499 - Warning in Win32api.rb - check fails in Ruby 2.0 mode
  • #1498 - do not install jruby-launcher on mvn \-Pbootstrap for windows
  • #1494 - Refactor RubyFileStat and RubyFileTest to use FileResources
  • #1489 - Error Installing Gems in jruby 1.7.11-SNAPSHOT java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DERBoolean
  • #1488 - fiber GH-1463 regressed
  • #1485 - NPE not being caught or is printing out for no reason
  • #1483 - Fix uniq/uniq\! with block for array slices
  • #1481 - jruby-complete.jar broken on master
  • #1477 - Bugfix for issue #1248
  • #1475 - BUILDING.md: Added info about incremental compiling, cleaning after switching branches
  • #1474 - Strange encoding differences with UTF-8 strings
  • #1473 - Java NullPointerException raised inside Proc gets printed out even though it was rescued
  • #1470 - Building JRuby: some classes are not rebuilt properly by "mvn package"
  • #1468 - Fix jar globbing for real now.
  • #1463 - Raising an exception on a thread that is in a Fiber causes a NullPointerException
  • #1454 - Removed the custom glob code and added "defacto" expectations
  • #1453 - Dir.glob is broken for files inside jar
  • #1450 - Make warnings show the right line number
  • #1448 - Fix Gem.ruby singleton method on Windows
  • #1446 - Line number in runtime warnings is one greater than the actual line number
  • #1445 - [2.1] Return in a lambda always returns from the block, even when &-ified
  • #1443 - Fibers don't seem to reuse threads
  • #1442 - Fixed issue 1441. Forced check that value was of an appropriate type.
  • #1441 - Subtracting nil from a BigDecimal returns nil
  • #1440 - Enumerator#each_with_object should provide the yielder\'s return value to its block
  • #1439 - Restore hex and random_bytes to SecureRandom 1.8 \- fixes Travis
  • #1436 - Allow Travis on select branches
  • #1434 - uniq! returns nil when it is after a shifting operation.
  • #1424 - Incorrect line number reported in "already initialized constant" warining
  • #1421 - Need ByteList release for 1.7.11.
  • #1417 - Ripper error "lex_p < tokp" caused by multi-byte character
  • #1416 - mvn -Pbootstrap fails to build JRuby Integration Tests?
  • #1414 - Cache DecimalFormatSymbols instances to reduce lock contention
  • #1412 - Fix ffi buffer
  • #1410 - main.inspect returns wrong value.
  • #1406 - Further improvements to SecureRandom
  • #1403 - Hash cleaned when used as named parameters (JRUBY_OPTS=--2.0)
  • #1402 - Opening a class body doesn't reset the value of __method__
  • #1400 - Reduce locking in VariableTableManager#initObjectId
  • #1399 - Reduced the number of String allocations for the NONE parameterList case.
  • #1392 - NullPointerException loading rouge gem
  • #1377 - Implement Addrinfo.getaddrinfo
  • #1361 - invalid bytes in ascii string result in ArrayIndexOutOfBoundsException on chars
  • #1248 - Problems with paths containing space characters
  • #1181 - Thread leak or expected behavior with fibers
  • #1098 - Program that works under C Ruby fails under JRuby
  • #272 - Bad error message for block pass through with return statement

New in JRuby 1.7.10 (Jan 10, 2014)

  • Changes of note:
  • 22 issues fixed
  • Windows require_relative regression fixed.
  • Accidental SNAPSHOT dependency fixed
  • A couple of Marshalling bugs involving encoding fixed.
  • Issues resolved for 1.7.10:
  • #1385 - Socket::SOMAXCONN
  • #1380 - test-extended failing
  • #1375 - Global eventually ignores assignment
  • #1374 - require_relative fails when called from classpath:/ path file on Windows in JRuby 1.7.9
  • #1363 - Compiling from source at 1.7.9 fails due to unsatisfied maven dependencies
  • #1355 - Exception starting new thread after set_trace_func call
  • #1349 - bin/{rake,rdoc,ri} broken by default in jruby 1.7.9
  • #1345 - UnmarshalStream: Look for encoding information in all instance variables
  • #1338 - UnmarshalStream: Fixed two off-by-one errors in unmarshalInt
  • #1336 - Fixing Enumerator#peek behaviour
  • #1335 - Array#repeated_permutation should have arity 1
  • #1334 - #enum_slice and #enum_cons are 1.8-only
  • #1323 - Snapshot dependency in released jruby-core 1.7.9
  • #1322 - Dir resolves symlinks
  • #1317 - 1311 datetime comparision
  • #1312 - File.expand_path("NUL") broken
  • #1311 - DateTime comparision at sub-millisecond resolution
  • #1252 - Range#size missing from JRuby 1.7.8 in 2.0 mode
  • #1184 - undefined method `__ruby_object' for interface implementation
  • #1156 - jruby-openssl spins endlessly trying to write to a socket which is in state CLOSE_WAIT
  • #1129 - IO#read_nonblock blocks sometimes for SSL Sockets
  • #480 - JRuby does not Handle UTF-8 Source Files

New in JRuby 1.7.9 (Dec 7, 2013)

  • Changes of note:
  • 36 issues fixed
  • Windows File.size fixed
  • Windows now will properly display to console windows codepage
  • Fixed regression which broke Compass (or anything which depended on FSSM)
  • A few more encoding issues fixed
  • Lots of Enumerable method improvements
  • Issues resolved for 1.7.9:
  • #1300: Fix #1222, StringIO.gets w/ utf8
  • #1295: Don't set java.net.preferIPv4Stack in shell scripts #1286
  • #1293: Adding spec for JRUBY-5946
  • #1292: subList toIndex should be exclusive, not inclusive. (fromIndex is inclusive.)
  • #1291: Sidekiq: Minitest error: NoMethodError: unmocked method :==, expected one of []
  • #1282: Blockless Struct#select should return an enumerator
  • #1275: Quote a JSON key so it's valid JSON.
  • #1274: RubyArray.subList should treat toIndex as exclusive, not inclusive.
  • #1272: File.size (org.jruby.RubyFile.size() ) impacts underlying file handle
  • #1271: Fix arrays with overridden each
  • #1267: Removes Logger customizations in JavaUtilLoggingLogger
  • #1265: StackOverflowError overriding Array.each since 1.7.5
  • #1264: Fix Enumerable#chunk arg handling
  • #1263: Fix Enumerable#take_while arg handling
  • #1262: Fix Enumerable#slice_before arg handling
  • #1257: mvn clean package wipes out installed jruby launcher
  • #1255: StringIO Encoding Issue
  • #1254: String#encode raises different errors on 1.7.8 than on 1.7.4 (and both are different from MRI)
  • #1251: "Stub gems" missing/wrong in JRuby 1.7.8
  • #1246: Fixing String#concat(symbol) should raise TypeError
  • #1245: Undefined method exception when using `compass watch' in jruby 1.7.8.
  • #1242: UTF-8 string interpolation in US-ASCII string sometimes returns wrong US-ASCII string
  • #1239: Compiled method bodies do not scope defn/defs correctly
  • #1238: JRuby 1.7.8 fails to initialize OpenSSL::PKey::RSA.new with encrypted key
  • #1236: Erroneous files in JRuby 1.7.8 "bin/" directory.
  • #1234: Fix any_spec
  • #1231: Fix count_spec (1.7.x)
  • #1229: duplicate class definition when reifying classes
  • #1222: CSV parse fails when string with mutibyte character terminates with CR-LF
  • #1221: openssl: add handling for base 0 to new and to_s
  • #1209: Pathname#dup is broken in 1.7.5.
  • #1204: Regression: Encoding error saving YAML with Norwegian characters
  • #1198: String encoding
  • #1032: Build error using Java 8 on OS X
  • #901: Enumerable arg handling issues for `#chunk`, `#slice_before`, and `#take_while`
  • #770: file size error on windows

New in JRuby 1.7.8 (Nov 15, 2013)

  • Highlights:
  • 21 issues fixed
  • Fixed Windows ‘rails new’ regression (bundle install exits)
  • Fixed OpenSSL gem bootstrapping problem
  • Fixed Google App Engine bootstrapping problem
  • A few missing 1.9+ Pathname features added
  • Issues resolved:
  • #1214: Support for ISO-8859-16
  • #1213: Remove README.md notes on junit.jar
  • #1201: Pathname#delete alias missing / not working
  • #1199: Softlink jruby to jruby.bash instead of hard copy.
  • #1182: incorrect RubyHash multithreaded behaviour when marshalling
  • #1180: Move the guard before the use of metaclass.
  • #1176: Array(array) returns a copy instead of array itself
  • #1171: Rails new failed with JRuby on Windows 7
  • #1170: `rindex` performance improvement
  • #1167: "print" called with no arguments prints "nil"
  • #1165: Bug 1092 fix
  • #1163: File.expand_path should fail if ENV['HOME'] isn't an absolute path
  • #1157: Fix compatibility wiht Bouncy Castle 1.49.
  • #1154: Pathname.new(Dir.new('dir_name')) raises a TypeError
  • #1153: Dir[*[]] behaves differently in jruby 1.7.6 the in MRI 1.9.3p448
  • #1151: Too many files in JRuby 1.7.6
  • #1150: rails 3.2.x with jruby-openssl in Gemfile gives uninitialized constant OpenSSL::Digest::OPENSSL_VERSION_NUMBER
  • #1148: Commit c7c7c7 broke AppEngine
  • #1139: ClassCastException when reading non String value from Java System.properties
  • #1136: JRuby 1.7.5 doesn't compile valid class files
  • #1117: #name method on java classes strips the outer class

New in JRuby 1.7.6 (Oct 23, 2013)

  • Changes of note:
  • Restored some missing .bat files for Windows
  • Fibers no longer throwing uncatchable errors
  • Removal of already initialized warnings from OpenSSL
  • Issues resolved for 1.7.6:
  • #1145 - Process.respond_to?(:fork) returns true when profiling is enabled
  • #1142 - Threading fixes
  • #1141 - Error Messages Seem Different Compared to YARV
  • #1138 - Files missing from JRuby 1.7.5
  • #1135 - Round method not consistent with jruby 1.7.5 compared to 1.7.3
  • #1133 - Tempfile no longer unlinks created files upon garbage collection
  • #1128 - strformat corrupt cyrillic symbols
  • #1121 - Bigdeciment 1.9+: to_s sometimes has extra trailing zeroes
  • #1118 - Arrays duplicated by splats (e.g. a_dup = [*a]) share structure, but shouldn't
  • #1116 - Ignore AccessControlException while setting network stack system property
  • #1106 - Java exceptions raised in fibers cause the fiber to die without notifying parent
  • #1088 - JZlibRubyGzipWriter doesn't handle nil arguments gracefully
  • #1071 - Lots of already initialized errors from jruby-openssl
  • #1044 - Allow whitespace between -> and () in lambdas in 2.0

New in JRuby 1.7.5 (Oct 8, 2013)

  • CHANGES OF NOTE:
  • Compatibility:
  • Many many encoding/M17n issues resolved.
  • Improved transcoding support
  • Fiber fixes
  • Ripper support
  • Performance:
  • Faster pathname implementation
  • Faster date/time implementations
  • Improved call performance for magic globals ($~ and $_)
  • Block/proc creation and dispatch performance improvements
  • Moved build to Maven from Ant. See BUILDING.md.
  • Updated RubyGems to version 2.1.5
  • Moved several standard libraries out as default gems
  • JIRA ISSUES RESOLVED FOR 1.7.5:
  • JRUBY-7101: BigDecimal / => Infinity
  • JRUBY-6409: Open3.popen3(...) is broken in 1.9 mode
  • JRUBY-6874: Successive writes to SSLSocket are not read
  • JRUBY-7190: Incorrect encoding on result string read from File introduced in JRuby 1.7.4
  • JRUBY-7151: Array#drop fails for arrays containing floats in 1.8 mode
  • JRUBY-6996: jirb tab completion not working in Windows
  • JRUBY-7095: Time overflowing since 1.7
  • JRUBY-7173: IO#stat from IO.pipe didn't work
  • JRUBY-7148: Division with BigDecimal not working
  • JRUBY-7167: Regexp match not thread safe when called in a lambda
  • JRUBY-7176: "org.jruby.RubyNil cannot be cast to org.jruby.RubyMatchData" in multithreaded program
  • JRUBY-6763: Incorrect handling of arguments by method object
  • JRUBY-7149: Socket information is wrong with IPv6
  • JRUBY-7185: IllegalArgumentException when converting to utf-16
  • JRUBY-7007: Inconsistent String#encode behavior for binary to UTF-8 conversion
  • JRUBY-7142: failed to load valid utf-8 yaml file
  • JRUBY-6994: exec() in chdir block doesn't inherit cwd
  • JRUBY-5290: Thread#priority= resets negative values to 1
  • JRUBY-7056: Thread#backtrace sometimes reports backtrace for wrong thread
  • JRUBY-7188: Nested Fibers in 1.7.4 incorrectly raises error: resuming fiber from different thread
  • JRUBY-7054: NullPointerException in Thread#backtrace for adopted(?) Java threads
  • JRUBY-7195: REXML gives 1 character strings BINARY text encoding
  • JRUBY-7172: Java::JavaLang::NullPointerException when calling super in method in duped module included in subclass
  • JRUBY-7166: invalid multibyte char (UTF-8) caused by '\’'
  • JRUBY-7189: invalid byte sequence in US-ASCII
  • JRUBY-7013: JDK8 CHM incompatibility
  • GITHUB ISSUES RESOLVED FOR 1.7.5:
  • #1078: Delegate does not pass block through when object does not implement method
  • #1076: Enumerator lifecycle needs a test
  • #1075: Fiber finalizer fix
  • #1072: Latest 1.7.5 snapshot breaks DateTime + method
  • #1071: Lots of already initialized errors from jruby-openssl
  • #1065: Valid DateTime treated as invalid
  • #1054: Fixes for keyword argument handling
  • #1053: Remove the special invokedynamic default case for IBM J9
  • #1049: [2.0] Incorrect arity checking for methods with kw arguments
  • #1047: Passing nil as the value of a keyword argument causes JRuby to act as if there were no such keyword argument
  • #1046: profile output in json
  • #1041: JRuby inlining causes bugged behavior (Regexp globals)
  • #1038: jruby-jars missing from http://ci.jruby.org/snapshots/master/
  • #1034: Disable invokedynamic for Java 7
  • #1029: Fix italics syntax in BUILDING.md
  • #1022: Fix string representation of an Edge object
  • #1020: Begin fixing osgi metadata for maven build
  • #1019: some version updates
  • #1017: Capistrano Issue
  • #1015: Deadlock occurs on Thread.kill
  • #1014: memory increase needed when using jruny-head jdk7u40 +indy
  • #1012: com.github.jnr:jnr-posix:jar:3.0.1-SNAPSHOT needs a release
  • #1009: jruby master gem install jasmine-core does not work
  • #1008: StringIO doesn't work with frozen strings in 1.7.5.dev
  • #1007: NPE loading Rails console
  • #1006: Can't require jars with leading underscores
  • #1005: Application failure after updating to Java 7u40 with invokedynamic
  • #1004: ArgumentError: wrong number of arguments calling `eql?` (1 for 0)
  • #1002: Update to RubyGems 2.1.2
  • #1001: dist artifacts must not install jruby-launcher
  • #1000: NullPointerException bug: openssl.Digest
  • #998: 1.7.5.dev: error for rake spec for shoes4 (bundler/setup IllegalAcceError to_path)
  • #996: IR Event Handling
  • #995: YAML file fails to load if JVM character set is MS932 (common on Windows)
  • #993: Can't require in two threads at once in JRuby 1.7.5.dev
  • #992: BigDecimal#* returns Float (should be BigDecimal)
  • #990: Dist archive must use jruby.bash instead of native binary for bin/jruby
  • #989: Pathname#realpath is returning a String instead of a Pathname
  • #988: Fix failing time tests
  • #982: Document the purpose of `localrepo`
  • #979: Always compute Enumerable#count through enumeration for 1.9+
  • #977: rspec refactor for ffi to use expect inspite of should to make it better
  • #972: Package jay/yydebug should only be in jruby-core not jruby-stdlib
  • #970: Ruby 2.0 parser doesn't intern symbol strings in literal symbol array
  • #968: Re factor compiler specs to use 'let','match_array','expect',be_nil'
  • #966: use expect instead of should in rspec
  • #961: Comma in the file name results in JIT compile error
  • #960: remove rspec should also use let for input stream
  • #959: [jruby-jars gem] lib/jruby-jars.rb not same as source, and fails to load "jruby-jars/version"
  • #955: Bug with RubyRegexp when pass it a block.
  • #954: JIT-compile methods named 'none'.
  • #953: .jrubyrc file not supporting `cext.enabled=true`
  • #950: ThreadGroup#enclose does not guard against thread addition
  • #949: jruby --properties generates confusing comments in .jrubyrc
  • #948: Test failures in the MRI 1.9 suite (Time class) when TZ is set
  • #945: In Ruby 2.0, String#lines returns an Array, rather than an Enumerator
  • #944: Add RVM step to build instructions
  • #943: Fix typo in testing documentation
  • #941: Enumerator#inject() is broken
  • #939: Marshal load loses correct encoding for string subclass
  • #937: Strange (JIT?) behaviour causing assignment function to be called twice in Rails
  • #936: sprintf formatting with "%+.2d"
  • #935: incompatible character encodings: ASCII-8BIT and UTF-8
  • #934: rubygems version with jruby does not obey 'no_proxy' ENV
  • #928: More arg-handling improvements for Enumerables
  • #927: super inside def self.new behaves incorrect when called via alias
  • #923: Document --2.0 flag.
  • #922: Enumerator#count returns nil
  • #919: JRuby cannot decrypt a private key using the AES-256-CBC cipher
  • #917: Scheduler for controlling the Execution of IR Passes
  • #912: dist and jar-complete targets
  • #907: add the latest gems version in pom file
  • #905: IR Specs broke because use of Ruby 1.9 Hash syntax. Fixed it by using 1.8 Hash syntax
  • #904: Custom spec helpers for IR specs related to Vertex.java
  • #902: Time zone conversion overflow
  • #898: More arg handling fixes for Enumerable methods
  • #897: Convenient debug flags for IR
  • #896: upgrade gems version in pom file
  • #894: Fix a naming conflict jrubyc can introduce in generated java.
  • #893: Use rspec opts for IR specs
  • #892: Added flag for IR visualizer
  • #890: Date library using Joda-Time (v2)
  • #889: Don't overwrite rspec_opts. Instead of that append to it.
  • #888: Add index/rindex to java lists (java.util.List)
  • #887: Update site with developer, license, CI info. Update some deps and plugins.
  • #886: String#byteslice can raise an inappropriate ArrayIndexOutOfBoundsException
  • #884: More IR Specs related to Vertex.java
  • #883: Upgrade RSpec to latest version
  • #882: Date library using Joda-Time
  • #881: String#encode with undef replace options problem
  • #880: Fix parent hierarchies and plugins for the 'all' profile
  • #878: Fix Unmarshaling of Date objects marshaled with MRI 1.9+
  • #877: Issues generating checkstyle report
  • #876: bin/ast Add of IR Debugging Features
  • #875: Maven site can now be published to github pages
  • #874: Add javafx as predefined package for java 8
  • #873: script with long DATA block hangs
  • #872: NameError is thrown by method_missing when using self
  • #869: Customize checkstyle to make it more lenient.
  • #867: Use for junit. Updated other deps.
  • #866: Separated the two comparison cases by parenthesis and added explanation
  • #865: Use in parent pom so that all plugins (and their versions) for the project can be centrally managed.
  • #864: Move Maven site reporting to parent pom. Fixed parent hierarchy.
  • #863: Direct Memory Buffer Leak in File IO
  • #862: Compilation with Maven is slow
  • #858: Interface incompatibility in BiVariableMap on Java 8
  • #857: Hybrid (native/ruby) pathname library
  • #856: JRuby 1.7.x String.encode not using Unicode replacement character
  • #854: Add Maven Site reporting
  • #852: Fixed a bug in checking the type of edges in EdgeTypeIterator
  • #850: Added Maven Site reports
  • #849: Komax refactoring factor methods
  • #848: Komax codestyle override annotations
  • #847: Komax codereview
  • #844: Removed comment about assert[ci skip]
  • #839: alias_method not preserving UnboundMethod#parameters
  • #837: Provide a convenient way to incorporate the latest tzdata
  • #835: method(:require).parameters is [] during Minitest run
  • #834: Strange defined? error with ::BasicObject
  • #833: Added Specs for IR and renamed a method in Vertex.java
  • #832: Restructure openssl artifact to separate out BC jars
  • #831: readline, openssl jar, yecht in place, copy jlin, bouncy-caster jar into stdlib
  • #830: RuntimeError: no local gem found for mocha
  • #827: File::EXCL is not thread safe
  • #826: Support foo.jar that is linked to extensionless jar files
  • #824: fix #823
  • #823: X509Cert.set_serial breaks for Certificate SerialNumbers with MSB=1
  • #822: fix slice_before on empty enumerable
  • #817: Fixed JRubyClassLoader to not require protective domain access check
  • #816: Need to unwrap exception before checking for security exception
  • #815: Fix enum arg handling in Enumerator Nexter
  • #814: JRuby 1.7.4 Regression, defined? fails for ::BasicObject
  • #813: JRuby's Ripper omits the :paren s-expression on method definition
  • #808: jrubyc: cannot find symbol lockAndRequire
  • #807: Fix each_with_index argument handling
  • #806: Chatty output while running RSpec
  • #805: "ArgumentError: wrong number of arguments calling `const_get` (2 for 1)" for java constants
  • #802: Weird JIT behaviour causing Rails to fail serving request
  • #801: Jruby 1.7.4 Timezone is inverted when creating a Time object
  • #800: Tag unreliable specs unstable rather than fails
  • #798: Named based constant cache invalidation
  • #797: Fix for BigDecimal#/
  • #796: Remove qualified const_get test
  • #795: Invalidate constant cache if included module has constants
  • #794: Fix String performance regression
  • #793: Fix the timezone string parser so it won't choke on TZ=JST-9, etc.
  • #792: jruby-1.7.3 Timeout is not working with long string and regexp.
  • #788: jnr-constants update needed for JRuby 1.7.5
  • #787: All command-line options should be configurable via JVM properties
  • #786: Pack roundtrip through BER ( w ) yields incorrect type
  • #784: add typecasting to RTEST macro
  • #780: Tag intermittent spec failures
  • #775: IPv4 stack should be preferred to IPv6
  • #773: Resolv.getaddress fails w/ 'connect: name or service not known' on Windows
  • #772: BigDecimal#hash returns different value for numerically equal numbers
  • #771: Checking for size of outgoing and incoming edges of the vertex after removing a single edge
  • #768: raise ArgumentError when IO.new/IO.open last argument is not a hash or nil
  • #766: IO.sysopen accepts mode & permission that are nil
  • #764: add support for options and not truncating offset for IO.write
  • #763: binwrite should pass write only when options are not empty but don't have a "mode"
  • #760: Remove a bad assert and untag some tests it was affecting
  • #759: Implements #614
  • #758: spec/regression/JRUBY-5811_case_insensitive_loaded_features_spec.rb fails on case-insensitive filesystem
  • #757: Untag a number of passing specs
  • #756: String#concat should preserve encoding
  • #754: Added a missing 'y'.
  • #750: Fix IOInputStream single-byte read
  • #749: Fix dash_s_spec
  • #748: Fix dash_c_spec
  • #747: 1.7.4 Regression: Time::localtime broken
  • #746: rake spec:compiler failing since ba4df82
  • #745: Fix precision issues in Time by avoiding conversions to nanoseconds.
  • #744: TypeError with Prime.each_with_index and mass assignment
  • #741: Update OSGi classloader
  • #740: Make Time#to_date compliant with MRI 1.9-2
  • #739: Improve GzipReader#gets performance.
  • #738: Added rake task for running IR specs
  • #736: Dispatching a string through send to method_missing causes encoding to revert to ASCII
  • #735: Synchronize profile printing.
  • #734: Fix RubyString#byteslice on substring.
  • #732: jline2 bundled jansi needs update after fixing security issue
  • #731: strftime "-" flag affects more than one field at a time (inconsistent with MRI)
  • #730: Fixing write specs
  • #727: Fix string concatenation with a number as per rubyspec behaviour.
  • #723: IO.copy_stream should handle objects that respond to read or write. Fixes #437
  • #722: REFACTORING: supporting flag about receiving an offset or not.
  • #702: Untag passing Marshal.dump specs
  • #694: Regexp #== and #eql? is true if self does not specify /n option and other does and vise versa
  • #692: Use hash rather than full sexp for cache key to significantly reduce mem...
  • #690: Raise a RangeError when codepoint is invalid for the default internal encoding
  • #678: TempFile#unlink: do not work if #close is not called right before, even if nothing has been done over the file.
  • #652: BC Date (with ActiveSupport) regression
  • #648: Division with BigDecimal not correct
  • #644: Error in Division of BigDecimal
  • #641: jruby/thread_dump fails in JRuby 1.7.2
  • #640: Fixing hashing consistency across JVM instances.
  • #631: About 60 RubySpecs fail if the entire suite is run.
  • #624: Field annotations
  • #623: Java classes with signatures should be reified
  • #614: KindOf implementation using Class.isInstance() instead of instanceof
  • #603: #caller returns `__send__' as one of the callers
  • #563: Encoding error when parsing UTF-8 CSV in (1.7.3: 1.9 mode)
  • #561: Differences between XML string encoding in MRI and JRuby
  • #520: New ng.exe required before release
  • #483: Psych yaml parser can not parse uppercase ÄÖÜ but äöü can parse
  • #474: YAML weirdness
  • #461: String#encode hard errors without replacement for ASCII 8-bit range to multibyte
  • #460: add multiple assignment support to java.util.Collection's Fixes #459
  • #456: Marshal.load encoding error
  • #415: Getting this error: "LocalJumpError: yield called out of block"
  • #406: Gathering global thread backtraces fails often on CentOS with JRuby 1.7
  • #375: String#encode fails with :invalid => :replace option
  • #332: Open3.popen3 doesn't return a thread object in jruby 1.7.0-rc1
  • #302: DRegexp creates too many transient objects
  • #264: JRuby19mode behavior is different with CRuby. When Enumerator has mulltiple values for a block paramter.
  • #218: rspec related out of bounds array access in multi-character string splitting
  • #168: 1.9 mode runs "threaded reverse" bench slower than MRI

New in JRuby 1.7.4 (May 17, 2013)

  • Dozens of 1.9-mode compatibility fixes
  • Many IO and encoding issues fixed
  • Transcoding support for :xml entity encoding
  • Proc and block dispatch perf improvements
  • Fiber and Enumerator#next improvements and fixes
  • Fixed a regression in windows java native launcher
  • Experimental Ruby 2.0 support (most features and stdlib included)
  • 90%+ complete Ripper support
  • OpenSSL fixes and updated to newer Bouncy Castle library
  • Updates and fixes to FFI subsystem (compat with C ext, AIX support, etc)
  • Long running regexp can be interrupted by Thread#kill and raise
  • Jira Issues resolved for 1.7.4:
  • JRUBY-7112 - Fiber exception handling regression in JRuby 1.7.3
  • JRUBY-7121 - String#encode(:xml => :attr) encoding differs from MRI
  • JRUBY-5742 - Fails to use UTF-8 encoded source with BOM.
  • JRUBY-7102 - Time.now == "" should return false and not nil
  • JRUBY-7117 - Dir.foreach should list entries in JAR root and in JAR directories ending in slash like "file:myjar!/test/"
  • JRUBY-7033 - yielding from fiber fails when running jruby with --debug
  • JRUBY-7127 - Ripper bug when parsing "::Object"
  • JRUBY-4820 - [windows] File.size is completely broken on Windows
  • JRUBY-6136 - Changing jnr-posix to use errno() value unconditionally has created lots of failures in windows
  • JRUBY-7122 - File.realpath does not handle classpath:/ path on Windows
  • JRUBY-7157 - IO.copy_stream broken for non-seekable source streams
  • JRUBY-7143 - FileUtils.cp, FileUtils.copy, FileUtils.copy_stream bug on windows when copying from jar files
  • JRUBY-7145 - FileUtils.mkdir_p creates extra directory named after drive letter
  • JRUBY-7161 - NPE in socket connection
  • JRUBY-7113 - Setting ssl_timeout on a Net::HTTP instance throws an exception
  • JRUBY-7130 - Missing support for Time.getlocal(utc_offset) method in JRuby
  • JRUBY-7134 - Dir.exists? sets $! when directory does not exist
  • Github Issues resolved for 1.7.4:
  • #737 - require_relative fails in jars
  • #733 - Inconsistency between MRI and JRuby with begin/rescue/else
  • #729 - Fixing IO.binwrite specs, parsing options.
  • #728 - Refactored directed graph specs
  • #726 - IO.binwrite doesn't truncate the file if an offset is given
  • #725 - IO.binwrite doesn't truncate the file if an offset is given
  • #724 - When offset passed return RandomAccessFile when not return FileOutputStream
  • #717 - Add fails tag to failing Kernel.spawn spec
  • #716 - Add fails tags for Process.{get,set}rlimit
  • #715 - Bignum#/ should not raise ZeroDivisionError if other is zero and is a Float
  • #714 - Some rubyspec additions
  • #712 - Complex#/ with a Numeric which responds to #real? with false should coerce the passed argument to Complex and divide the resulting elements
  • #711 - Exception#== should return true if the two exceptions inherit from Exception but have different classes
  • #709 - NullPointerException on calling java_* methods on java interface impl in Ruby
  • #708 - Fix failing rubyspecs for Encoding#compatible?
  • #707 - Kernel#singleton_methods should return a unique list of methods
  • #706 - Kernel#open should correctly handle objects that responds to to_open
  • #704 - Kernel.exec should raise an ArgumentError if the command includes a null byte
  • #703 - Kernel.abort should set the exception message to the given message
  • #701 - Untag passing Math.cbrt and Math.gamma specs
  • #700 - Numeric#div should raise ZeroDivisionError for 0
  • #699 - Range#each should raise a TypeError if the first element is a Time object
  • #698 - Range#first should raise an ArgumentError when count is negative
  • #697 - Supporting IO.ungetbyte
  • #696 - Regexp#initialize should raise a SecurityError on a Regexp literal
  • #695 - Regexp#options should include FIXEDENCODING and NOENCODING when enabled
  • #693 - using bytelist instead of a linkedlist for a better performance
  • #691 - Implement String#to_sym special cases.
  • #689 - Thread#initialize should raise a ThreadError when already initialized
  • #688 - Fixing IO.ungetc tagged specs!
  • #687 - Time methods should coerce the day, hour, minute, or second with #to_int
  • #686 - jcodings release needed for JRuby 1.7.4
  • #685 - REFACTORING: supporting a list of bytes
  • #684 - Fix some failing rubyspecs for String#encode
  • #683 - Fix unseekable stream implementation of IO.copy_stream in RubyIO.java
  • #682 - Verifying if character is corrupted, meaning that one more char is needed.
  • #681 - Untag passing float rubyspecs
  • #680 - StringIO#puts should print newline when passed nil 1 or more times
  • #679 - StringIO#set_encoding should set the encoding to default external when passed nil
  • #677 - TempFile path consistency vs the rest of the Ruby implementations
  • #676 - Fix eclipse problems
  • #675 - Fix failing rubyspecs for String#unpack
  • #674 - My stab at fixing JRUBY-7122
  • #673 - Remove required argument constraint from StringIO#readpartial
  • #672 - Fix Etc rubyspecs
  • #671 - Untag passing conditional variable rubyspecs
  • #669 - Fix BigDecimal#div rubyspecs
  • #668 - Fix float rounding issues.
  • #667 - Do not display class name for an anonymous struct.
  • #666 - LoadError#path not implemented
  • #665 - NameError for version when loading gemspec in 2.0 mode
  • #664 - GzipReader#rewind should reset the position of the stream pointer
  • #663 - Tempfile#size should return the size of self even if self is closed in 1.9
  • #662 - Add license header to anno package classes.
  • #661 - Bignum failing specs
  • #660 - Fixing IO.foreach rubyspec, set env variable $_ to nil
  • #659 - Ruby 2.0 Compatibility - NET:HTTP
  • #658 - Math.gamma should return -∞ for -0.0
  • #656 - Fix #645 by calling Java Math.cbrt directly.
  • #655 - Io foreach
  • #654 - [FFI] FFI::AutoPointer#free causes FFI::AutoPointer#autorelease? to cast NullPointerException
  • #653 - Ant integration causes exception trace on failed build
  • #651 - Kernel#__dir__ missing from 2.0 mode
  • #650 - File/IO readlines supporting new params limit, and open mode
  • #647 - Using Enumerable#cycle causes a background thread to be created but never destroyed.
  • #645 - Behavior of Jruby Math.cbrt(number) does not match MRI
  • #643 - FIXES #235 Fix for relative require from within a gem on the classpath.
  • #639 - Project files fix
  • #637 - Updated shared module dependencies.
  • #635 - remove double assignment and addition to 0
  • #634 - Implemented OpenSSL::PKCS7::write_smime
  • #630 - [FFI] Struct Arrays behave differently on JRuby vs FFI gem
  • #628 - OpenSSL::TestPKCS12 failure on OpenJDK 6
  • #627 - ant integration breaks with ant 1.9.0
  • #626 - jruby dies with fatal error on jdk8-ea-b83 on ubuntu
  • #622 - Added new option jruby.timeout.thread.pool.max to control the max number...
  • #617 - An object's ID is not copied
  • #615 - Restore $! when catching exception.
  • #613 - Ruby 2.0 caller API
  • #612 - [FFI] FFI::Struct.by_ref mapped type accepts arbitrary structs in it’s #to_native
  • #611 - Timeout worker pool size
  • #609 - Add support for Floats as the first argument in Time.at.
  • #608 - [FFI] FFI::Pointer#slice is not defined
  • #607 - [FFI] FFI::Pointer.size is not defined
  • #602 - RSpec 2.13 doesn't load in 2.0 mode
  • #601 - Ant integration DSL issue
  • #600 - Fixing RubyBasicObject#compareTo bug.
  • #599 - Recursive annotation visiting
  • #595 - Fixing build problem introduced by removing encryption jars
  • #591 - Time.new: the UTC offset is always negative
  • #590 - Consistent hash code values between JVM instances
  • #587 - AIX 6.1: stat.st_gid unsupported or native support failed to load
  • #583 - Method#parameters returning empty array for some Object methods
  • #580 - [windows][jruby-complete] Resolv.getaddress fails
  • #579 - Don't include imports from previously processed ruby files in every generated java file.
  • #578 - Update psych to edf05c9f40e0c566e391f7e04b4a30327c31a828
  • #575 - Require paths with .. in them are not normalized
  • #571 - Fix so require_relative can handle an absolute path.
  • #569 - Ruby 2.0: locations and caller APIs can take ranges now
  • #568 - [Ruby 2.0] Kernel#caller_locations
  • #566 - Ruby 2.0: Range#bsearch
  • #565 - Time.at broken in 1.7.3 when passed (Time, 0)
  • #556 - RbConfig.expand is missing
  • #554 - Fixes issue #549 (OpenSSL sockets spin indefinitely on timeout in handshake)
  • #553 - show build status from travis [ci skip]
  • #552 - Zlib::GzipWriter.wrap in 1.9 mode accepts only one argument
  • #551 - Fi JRUBY-5122_nonblocking_io_spec on Fedora 19 by raising chunk size
  • #550 - JRuby 1.7.3 breaks Sidekiq (DeadTaskErrors on startup)
  • #549 - OpenSSL sockets spin indefinitely on timeout in handshake
  • #546 - Remove unused call to `String#replaceAll()`.
  • #544 - replacing a hash with itself returns an empty hash in ruby 1.9 compatibility mode
  • #539 - Time::new should treat numeric offsets as the GMT offset in seconds.
  • #530 - JRuby is quick to show version number, slow to exit
  • #523 - Java integration failures in 1.9 mode
  • #522 - Generate new empty RubyString's with US-ASCII encoding.
  • #515 - Dir.foreach fails in jar files
  • #497 - JRuby behaves different from MRI and Rubinius when it comes to setting Module#name
  • #471 - File.directory? should handle IO's
  • #405 - jruby-1.7.0 Dir::tmpdir returns current directory if it is not world writable.
  • #189 - OpenSSL::SSL::SSLError when talking to github

New in JRuby 1.7.3 (Feb 22, 2013)

  • Changes of note:
  • Security fix (no CVE) for DOS using entity expansion in REXML
  • Security fix (CVE-2013-0269) for unsafe object creation using JSON
  • Relicensed from CPL to EPL
  • Fixed one regression in windows java native launcher
  • A few encoding issues resolved
  • 42 issues fixed for 1.7.3
  • Jira Issues resolved:
  • JRUBY-7058 - NPE in BiVariableMap.getLocalVarNames() after clear()
  • JRUBY-6887 - Thread.current.object_id inside an Enumerator is different from outside it
  • JRUBY-7048 - Kernel#gsub is not available when -p/-n command line option specified.
  • JRUBY-7068 - StringIO.open should accept any number of arguments
  • JRUBY-7069 - Dir.home(nil) should be my home
  • JRUBY-7079 - Uninitialized constant NameError should store a symbol and not a string
  • JRUBY-6793 - Update bouncycastle jars to the latest version. (1.47)
  • JRUBY-7081 - Thread.current does not remain consistent between Fibers
  • JRUBY-7091 - Infinity should not be roundable
  • JRUBY-7035 - Rails 4 master doesn't start on JRuby 1.7.1 (OpenSSL::PKCS5)
  • JRUBY-7001 - maven jruby-rake-plugin classpath goal fails on windows
  • JRUBY-7084 - Interaction between oh-my-zsh configuration and jruby shell script
  • Github Issues resolved:
  • #537 - Add the complete text of the Eclipse Public License
  • #536 - Fix occasionally failing spec.
  • #534 - Fix Enumerable#find_each block arity
  • #533 - Default indy off for early IBM Java 7 releases #477
  • #532 - Current head switches on +indy before 1.7update14
  • #529 - Combination of Enumerable#each_slice and Array#transpose raises TypeError
  • #528 - fix samples/mvm.rb
  • #526 - Move to EPL from CPL
  • #525 - Unexpected behaviour of `Enumerator#find_index` with block (1.9 mode and HEAD)
  • #519 - nailgun missing in src package
  • #518 - Fix typos in "1.9/io/console.rb"
  • #517 - Rational/Float/Fixnum/Bignum `.to_s.encoding` is US-ASCII
  • #516 - krypt is not 1.8-compatible
  • #512 - Update json to 1.7.6
  • #511 - tty issue with drip
  • #508 - added Junit test to help fixing bug #7058
  • #506 - throw stringifies the name
  • #504 - Infinite loop (or performance issue) writing using MultiByteEncoding
  • #494 - FFI::MemoryPointer#free may cause JVM crashes
  • #492 - Add missing throw to default_internal=.
  • #485 - Resolve #482 Array#zip with infinite enum results in OOM
  • #482 - Combination of Array#zip and Array#cycle result in OOM
  • #479 - Fix write loss on concurrent ivar table growth
  • #477 - IBM J9 VM should also have INVOKEDYNAMIC_DEFAULT = false
  • #470 - Bignum#div raise ZeroDivisionError if the argument is Float zero
  • #466 - Bunch of fixes for IO.copy_stream
  • #465 - Add const_get to java package Fixes #435
  • #464 - [rfc] Support unmarshaling hashes created in MRI 1.9.1 with US-ASCII strings
  • #457 - Accept Encoding object for Encoding.compatible?
  • #435 - support for const_get() in java_package_module_template

New in JRuby 1.7.2 (Jan 5, 2013)

  • Changes of note:
  • Reworked openssl ext to allow updating from gem
  • Improved performance of constants and global variables
  • Improved performance of Java arrays accessed from Ruby
  • Many miscellaneous 1.9 compatibility fixes
  • 32 issues fixed for 1.7.2
  • Jira Issues resolved for 1.7.2:
  • JRUBY-6973 - Release jruby-openssl-0.8.0 gem
  • JRUBY-7039 - net/protocol in Ruby 1.8 mode loads Ruby 1.9 version of socket
  • JRUBY-6951 - Unable to encrypt data and then decrypt it in MRI Ruby
  • JRUBY-7017 - OpenSSL::HMAC transcodes data to iso-8895-1 before signing
  • JRUBY-7018 - sha1 library file, SHA1 top level class, and sha1 class method missing in Ruby 1.8 mode
  • JRUBY-7032 - Time#strftime %3N doesn't limit sub-seconds to 3 digits
  • JRUBY-7029 - add_parameter_annotation broken
  • JRUBY-7037 - Files containing literal '[' or ']' will not be required from LOAD_PATH
  • JRUBY-6953 - --ng-server fails if you have JRUBY_OPTS set
  • JRUBY-7046 - unable to copy files > 2GB
  • JRUBY-7043 - Test failures, again.
  • JRUBY-7016 - There's a "t" missing in the output from --profile.json
  • Github Issues resolved for 1.7.2:
  • #473 - File.truncate should not move write pointer
  • #467 - glib2 doesn't compile under jruby 1.9.7
  • #452 - Implement loaded feature caching to reduce load path searching.
  • #447 - Javadocs mangles some HTML in org.jruby.util.Pack
  • #445 - Requiring an empty string causes AIOOB with RubyGems active
  • #441 - jruby-7029: fix add_parameter_annotation, it was untested and broken.
  • #440 - Constant lookup falls off top scope in new compiler scoping logic
  • #439 - String#upcase and downcase fail for multibyte characters
  • #436 - Fix Readline.get_screen_size before Readline.readline
  • #434 - Update psych to tenderlove/psych@d5757ea
  • #433 - strftime does not implement %-flag in 1.8 mode.
  • #431 - Include runtime version in site dir
  • #429 - Setup .gitattributes for eol normalization
  • #428 - Directed graph library specs
  • #427 - Don't override default_exec_format method for rubygems
  • #426 - Trie impl is slower on JRuby than other Rubies
  • #425 - Fixed implicitly creating a vertex if it is absent while removing a edge or vertex
  • #360 - Non-ASCII character escape sequence in string_content results in SyntaxError
  • #215 - 10 argument variant of `Time.local` mishandles timezone.
  • #174 - [JRUBY-6668] StringScanner#scan_until spins forever on UTF-8 data

New in JRuby 1.7.1 (Dec 4, 2012)

  • Changes of note:
  • New hashing algorithm to address CVE-2012-5370
  • Update standard lib to match MRI patchlevel 1.9.3p327
  • Several fixes to new io/console.rb implementation
  • system/spawn/popen fixes and additional options hash fixes
  • Several SSL fixes (jruby-openssl release coming soon for 1.6.8 users)
  • IO.select not erroneously reporting data to be read
  • Psych YAML engine updated to latest
  • 43 issues fixed since 1.7.0
  • Jira Issues resolved since 1.7.0:
  • [JRUBY-5529] - [1.9] undefined method `read_nonblock' for # (NoMethodError)
  • [JRUBY-5986] - $! is not set to nil in an ensure block where no exception is raised
  • [JRUBY-6339] - JRuby can't load from JAR files on a path with a '#' symbol (breaks Tomcat 7 Parallel Deployment)
  • [JRUBY-6346] - Error establishing SSL connections: OpenSSL::SSL::SSLError: Socket closed
  • [JRUBY-6391] - undefined method `write_nonblock' for OpenSSL::SSL::SSLSocket
  • [JRUBY-6581] - "yield called out of block" for Enumerators created with enum_for
  • [JRUBY-6636] - OpenSSL::X509::Certificate and OpenSSL::PKey::RSA constructors don't accept File objects
  • [JRUBY-6744] - We are at p204 but 1.9.3 is only at p194
  • [JRUBY-6777] - RubyFixnum.java - two methods fail to detect some long integer overflows
  • [JRUBY-6870] - IO.select says there is data but read_nonblock raises 'read would raise' using SSLSocket
  • [JRUBY-6949] - system() silently fails when options are passed
  • [JRUBY-6954] - Time.new does not respect UTC offset in the 7-argument form
  • [JRUBY-6960] - Failure to start ant from JRuby 1.7.0*
  • [JRUBY-6961] - Loading jruby-openssl gem on jruby-1.7.0 can cause "private method `verify_mode' called for #

New in JRuby 1.7.0 (Oct 23, 2012)

  • 1.9.3 is now our default runtime mode (–1.8 is needed for 1.8.7 support)
  • Ruby standard library updated to 1.9.3p286
  • Many 1.9.x compatibility fixes
  • Support for invokedynamic
  • Performance and concurrency improvements throughout
  • Java 5 support dropped (Java 6+ required)
  • All known 1.9 encoding issues resolved
  • Kernel#exec now does a true native exec on all platforms
  • Improvements and fixes to Java integration and embedding
  • Native features now better supported on Solaris, ARM Linux, and others
  • Update to Rubygems 1.8.24
  • Update to Rake 0.9.2.2
  • Issues resolved since RC2:
  • [JRUBY-3294] - Ruby code can make JRuby fail with java.lang.ArrayIndexOutOfBoundsException, Stack trace of SystemStackError is errorneous
  • [JRUBY-6732] - FFI+InvokeDynamic and wrong number of arguments produces java backtrace
  • [JRUBY-6796] - Please provide a list of versioned dependencies (including bundled JARs)
  • [JRUBY-6811] - Time.at rounding errors below milliseconds
  • [JRUBY-6845] - FFI: IndexError in AbstractMemory#write_string
  • [JRUBY-6857] - Upgrade to newer Joda-time version
  • [JRUBY-6904] - IO.popen '' throws wrong exception
  • [JRUBY-6907] - Regression: ruby,java(thread),ruby exception path results in nilClass exception
  • [JRUBY-6917] - "already initialized constant ClassReader" when embedding JRuby
  • [JRUBY-6923] - UTF-8 string is not matching //i properly
  • [JRUBY-6926] - zlib corruption in 1.9 mode
  • [JRUBY-6930] - yaml escaping of non-printable characters
  • [JRUBY-6932] - ruby block without arguments for itemStateChanged in 1.9 can fail
  • [JRUBY-6933] - String#split fails after doing a regex on UTF-8 chars.
  • [JRUBY-6936] - JRuby doesn't seem to run on ARMv5-platform
  • [JRUBY-6937] - unable to use JAVA_HOME pointed to a jre in windows 7
  • [JRUBY-6946] - Object.id still exists in 1.7.0.RC2
  • [JRUBY-6947] - Call to "free" wrapped up via FFI causes JVM to exit with a malloc error.
  • [JRUBY-6952] - Time#+ gives off-by-one error with fractional microseconds
  • [JRUBY-6906] - error message for Process.kill 'EXIT' is wrong
  • Github Issues resolved since RC2:
  • #316 String#gsub not matching when string read from file in 1.9 mode core
  • #317 regex fails for foreign characters when offset is last character core

New in JRuby 1.7.0 RC 2 (Oct 10, 2012)

  • Bug fixes:
  • [JRUBY-5732] - Error with selector: java.nio.channels.ClosedChannelException
  • [JRUBY-6140] - Net::POP3 (and possibly other things) cannot verify certificate using JRE's trust anchors
  • [JRUBY-6510] - String#encode! not correctly implemented.
  • [JRUBY-6838] - Kernel#rand(Range) not supported
  • [JRUBY-6912] - __FILE__ has an extra preceding slash in windows
  • [JRUBY-6913] - with jdk 7, system commands run in windows use wrong line endings
  • [JRUBY-6914] - Rake Tasks no longer work with Bundler under JRuby 1.7.0.RC1
  • [JRUBY-6918] - Ant: "instance vars on non-persistent Java type Java::OrgApacheToolsAnt::UnknownElement"
  • [JRUBY-6922] - Regexp#match interpets pos parameter in term of bytes instead of chars
  • Improvements:
  • [JRUBY-5451] - Unessesary late error message when subclassing a packaged class with no public constructors.
  • [JRUBY-6915] - Improve performance of the Equals operator in the RubyComparable class for objects of different types.
  • Github Issues resolved:
  • 337: Fix indentation in: e2c3728.
  • 330: mprove performance of the Equals operator in the RubyComparable class for objects of different types
  • 329: only new up kernel32 instance once per jvm
  • 324: Fix #276. For good.
  • 320: Windows Process.kill ‘KILL’
  • 319: Windows signal
  • 312: Nested timeout supercedes enclosing timeout
  • 311: Fix edge case where rescued Exceptions may be nil
  • 295: Fix: Added support for the Java cacerts trust anchors
  • 292: Apply ‘-’ behaviour to blank padded format directives.
  • 291: Add encoding annotation to test_unicode_path
  • 278: fix some error message in Struct#[]
  • 270: JSON format profile printer
  • 255: JRUBY-6510 fix String.encode!

New in JRuby 1.7.0 RC 1 (Sep 26, 2012)

  • 1.9.3 is now our default runtime mode (–1.8 is needed for 1.8.7 support)
  • Many 1.9.x compatibility fixes
  • Several IO transcoding issues
  • Improvements and fixes to Java integration
  • 113 ISSUES RESOLVED:
  • Bug:
  • [JRUBY-3622] - newInstance and getDeclaredConstructor fail to respect class overridden in JRuby
  • [JRUBY-3765] - DummyDynamicScope should never be used for backref storage
  • [JRUBY-3786] - RubyGems tests are not green; fix remaining failures/errors
  • [JRUBY-4732] - Clean up anything that calls dataGetStruct on a wrapped Java object to get the object
  • [JRUBY-4756] - Interface that has abstract methods final in Ruby hierarchy break "real class" implementation
  • [JRUBY-5226] - ri error while installing Rails -- Cannot create a file named '

New in JRuby 1.7.0 Pre 2 (Sep 19, 2012)

  • 1.9.3 is now our default runtime mode (–1.8 is needed for 1.8.7 support)
  • Many 1.9.x compatibility fixes
  • invokedynamic has been disabled for now on Java 7 (still on by default on Java 8)
  • Performance and concurrency improvements
  • Java 5 support dropped (Java 6+ required)
  • Several IO transcoding issues
  • YAML now encodes scalars properly instead of using Java locale
  • Kernel#exec now does a true native exec on all platforms
  • Improvements and fixes to Java integration and embedding
  • Fix several native support issues on Solaris
  • 122 issues resolved

New in JRuby 1.6.8 (Sep 19, 2012)

  • Updated to RubyGems 1.8.24
  • Fixed a resource leak in LoadService
  • No more accidental GC of runtime state in unusual situations
  • Various 1.9 compability fixes

New in JRuby 1.6.5 (Oct 28, 2011)

  • Notable Changes:
  • Many –1.9 encoding issues resolved
  • .jrubyrc support for storing convenient execution options
  • New cext.enabled property to turn off only C extentions but not native support
  • C extension support now uses less memory
  • Updated to Rubygems 1.8.9
  • -rjruby/thread_dump adds a USR2 Ruby thread dumper
  • Improved peformance interacting directly with Java Maps
  • Improved fiber performance and support for JVM coroutines
  • Improved zlib support
  • 36 Issues resolved
  • Issues Resolved:
  • JRUBY-5324 StringScanner should be 1.9 aware
  • JRUBY-5499 Update to rubygems 1.5.2 since 1.5.0 has severe bugs
  • JRUBY-5735 I18n handling of Rails 3.0 differs between 1.9 and 1.8 compatibility mode
  • JRUBY-5758 bundler not working in jruby 1.6.1 (ruby-1.9.2-p136) — works in 1.8 mode
  • JRUBY-5763 Encoding::CompatibilityError with UTF-8 encoded ERB template
  • JRUBY-5778 net http and gzip decompression in 1.9
  • JRUBY-5793 java.lang.ArrayIndexOutOfBoundsException installing chicken_little gem
  • JRUBY-5794 1.9: Bundler fails to install certain gems from github
  • JRUBY-5861 Installing gems that have unicode characters in the gemspec cause an error in 1.9 mode
  • JRUBY-5885 java.util.Map#[]= is up to 20 times slower than #put
  • JRUBY-5927 JRuby in 1.9 mode fails text-hyphen’s test/test_bugs.rb the same way that 1.8 mode does
  • JRUBY-5946 IO.select is returning write array with nil elements
  • JRUBY-5994 Bad performance using hash accessors on ConcurrentMap
  • JRUBY-6017 Undocumented windowBits feature of Zlib::Infrate/Deflate
  • JRUBY-6019 A Ruby instance is not fully unregistered from the BeanManager on teardown
  • JRUBY-6030 After calling const_set, setting const name didn’t set Class.name
  • JRUBY-6031 ActiveRecord::JDBCError in JRuby 1.6.4
  • JRUBY-6034 NullPointerException at RubyProc.java:248
  • JRUBY-6036 REXML fails on XML with UTF-8-chars on jruby in 1.9-mode
  • JRUBY-6049 Bignum#[] returns an incorrect result when Bignum is given
  • JRUBY-6050 Fixnum#[] blows when small Bignum is given
  • JRUBY-6053 [1].pack(“b2”) returns an 1-length string
  • JRUBY-6060 NKF converts strings into wrong encoding
  • JRUBY-6064 Builder gem incompatible in –1.9 mode
  • JRUBY-6070 TCPSocket#new issues with local_addr and local_port
  • JRUBY-6075 ant dist fails on both master and jruby-1_6 branches
  • JRUBY-6077 Allow loading a Ruby source file from the class path using the fully qualified name
  • JRUBY-6079 gherkin.lexer.LexingError running cucumber example i18n/it jruby using compatibilty mode 1.9
  • JRUBY-6101 JSR 223 code execution breaks with JRuby 1.6.4/1.6.3 with no error message
  • JRUBY-6108 bin/jruby script has incompatible bourne shell syntax
  • JRUBY-6116 Errors on String#lines
  • JRUBY-6118 Dir.glob duplicate folder names
  • JRUBY-6135 CASEFOLD systems magically screw up globs with . or .. in them
  • JRUBY-6139 JRuby 1.9 mode encoding problem on to_yaml method
  • JRUBY-6141 All MatchData objects resulting from an invocation of String#scan are updated with the current match
  • JRUBY-6144 1.9 RubySpec failures on BEGIN

New in JRuby 1.6.3 (Jul 29, 2011)

  • Notable Changes:
  • 1.9 language and core class fixes
  • Ruby object construction performance boost
  • Require performance improvements
  • Windows native exec fixes
  • 39 Issues resolved
  • 1.6.3 Issues Resolved:
  • JRUBY-2457 Instantiation of Ruby subclass of Java class does incorrect constructor argument check
  • JRUBY-5511 1.9: Failing character iteration specs for StringIO in 1.9 mode
  • JRUBY-5669 RubySpec: String#strip failures (1.9 mode)
  • JRUBY-5716 Enumerable should provide each_with_object
  • JRUBY-5719 Trivial patch to bin/jruby to allow spaces in the path
  • JRUBY-5722 Duplicate class definition issue in 1.9 mode
  • JRUBY-5724 jrubyc generates classes with the wrong names
  • JRUBY-5743 Build fails to run on OpenJDK build on OS X 10.6
  • JRUBY-5768 apparent bug in mkmf logic
  • JRUBY-5773 assignment in a method with default argument strip off other arguments.
  • JRUBY-5807 1.9: String.rstrip brokes UTF-8 string.
  • JRUBY-5813 FFI::AutoPointer occasionally calls releaser proc when GC’d, even if autorelease is set to false
  • JRUBY-5820 HashMap#map does not splat the arguments to the block
  • JRUBY-5824 exec(env, command) and Process.spawn(env, command) throw Errno::ENOENT exception
  • JRUBY-5827 FFI enum always maps the value 0
  • JRUBY-5828 FFI Structs no longer support bools
  • JRUBY-5833 $LOAD_PATH scanning slowness
  • JRUBY-5835 ruboto: File#read fails with jruby-jars-1.6.2
  • JRUBY-5837 Building jruby in git-free environment fails
  • JRUBY-5839 Enumerable#map is picky about it’s internal block arguments in –1.9 mode
  • JRUBY-5840 Rails won’t start with -X+C
  • JRUBY-5841 Call to ScriptingContainer#setCurrentDirectory is ignored after a call to ScriptingContainer#put
  • JRUBY-5844 jruby -x (executing ruby embedded into a message) fails
  • JRUBY-5849 make JAVA_VM to be set from environment
  • JRUBY-5850 jruby –1.9 : Exception in thread “RubyThread-1: threadtest.rb:1” java.lang.LinkageError: loader (instance of org/jruby/util/JRubyClassLoader): attempted duplicate class definition for name: “threadtest$block_0$RUBY$true?”
  • JRUBY-5853 Added WIN32OLE_EVENT#off_event
  • JRUBY-5854 conflicting license info in FFI
  • JRUBY-5856 CLONE -Kernel.exec will not use a modified ENV PATH to locate commands on Windows
  • JRUBY-5857 Should not be able to set ENV keys that contain an =
  • JRUBY-5863 Named captures cause crash when there is no match
  • JRUBY-5864 jruby bash scripts do not work with msys/mingw
  • JRUBY-5871 java.lang.NegativeArraySizeException from RubyEnumerator (after JITed)
  • JRUBY-5875 extending Struct and override initialize would make Marshal fail
  • JRUBY-5878 Enumerator.map is not yielding all values
  • JRUBY-5883 Hash Subclass#== not respected when checking equality of collections.
  • JRUBY-5887 Strange error in classloader
  • JRUBY-5888 missing File#readbyte
  • JRUBY-5889 Problem running JRuby 1.6.2 (via jruby-jars.gem) on 32-bit Systems
  • JRUBY-5900 java.lang.ClassFormatError: Invalid method Code length

New in JRuby 1.5.0 RC3 (May 12, 2010)

  • JRUBY-3742: Java native threads are not added to ThreadService.rubyThreadMap after being adopted.
  • JRUBY-4264: threadContextMap leaks RubyThread on death of adopted thread

New in JRuby 1.4.1 (May 12, 2010)

  • Now Compatible with Ruby 1.8.7
  • New windows installer
  • New embedding api
  • Improved 1.9 support

New in JRuby 1.4.0 RC1 (Oct 16, 2009)

  • Now Compatible with Ruby 1.8.7
  • New windows installer
  • New embedding api
  • Improved --1.9 support

New in JRuby 1.3.1 (Jun 18, 2009)

  • Fixes a recently discovered security bug in BigDecimal
  • Fixes a regression in timeout (0-1 second timeouts truncate to 0)
  • Fixes a regression Thread.wakeup where the thread would not wake up