Steve.
Thomas E Enebo wrote:
> The JRuby community is pleased to announce the release of JRuby 1.4.0
> Homepage: http://www.jruby.org/
> Download: http://www.jruby.org/download
> After three very helpful release candidates we have a final 1.4.0 release.
> This release ends a long release cycle in which we resolved a huge number of
> issues. The headline feature is a move to Ruby 1.8.7 support, in line with
> Rails' own plans to make 1.8.7 the required minimum version of Ruby.
> We have also gotten more serious about out 1.9 support (--1.9). The
> bigger applications mostly just work at this point, but we still have a
> ways to go on 1.9 support. Please try your 1.9 code in JRuby and help us
> firm things up.
> 1.4.0 Highlights:
> - JRuby is now compatible with 1.8.7 patchlevel 174
> - Windows Native Launcher
> - Solves many reported bugs with our old .bat scripts
> - New YAML parser Yecht (bug-for-bug compatible with Syck!)
> - Improved Java Integration Support
> - faster
> - new java_method, java_send, and java_alias methods
> - Windows installer
> - New embedding framework
> - Java 6 scripting out of the box
> - New org.jruby.embed package to supersede JavaEmbedUtils
> - Many 1.9 mode (--1.9) fixes
> - updated stdlib to 1.9.2preview2
> - Rubygems now working
> - Rails 2.3.3 simple apps working (2.3.4 has 1.9 bug)
> - rubygems 1.3.5
> - Much better error reporting
> - shorter backtraces with less Java
> - Ruby-compatiable syntax error reporting
> - 307 bugs fixed since 1.3.1
> We want to thank all the users who have been helping us to get a better
> release out. Special thanks to Hiro Asari, David Calavera, and
> Roger Pack for their recent activity in the project. We also want to
> welcome Yoko Harada as a committer to the project. Her work and
> support of our embedding efforts has been great.
> Key Summary
> JRUBY-382 Better error output from parser
> JRUBY-558 Integration method matching needs more help with nulls
> JRUBY-937 JRuby does not honor RUBY_OPTS or RUBYOPT
> JRUBY-1316 Command line doesn't recognize KEY=value construct on WIndows
> JRUBY-2232 UNIXSocket doesn't work on Solaris
> JRUBY-2324 AST Node positions and content incorrect when passing
> down Multibyte content to lexer
> JRUBY-2349 Bug in constant lookup on non Module or Class
> JRUBY-2398 We should strive to implement the 1.8.7 improvements
> JRUBY-2419 Argument application within block is not parsed
> correctly (for Range literals)
> JRUBY-2525 Dir.glob ordering inconsistent with Matzruby
> JRUBY-2587 [1.8.7] Hash.[] should call to_ary if only one argument
> is provided
> JRUBY-2604 [1.8.7] Implement Binding#eval method
> JRUBY-2626 Many rubyspec failures for SortedSet
> JRUBY-2654 File pty.rb is not part of the JRuby distro, but is
> part of the Ruby standard lib
> JRUBY-2666 Issues with Socket#getaddrinfo
> JRUBY-2694 [1.8.7] Ability to specify suffix/extension for Tempfile
> JRUBY-2839 Eight new BigDecimal RubySpec failures
> JRUBY-2866 Set .include? method behavior differs between JRuby
> 1.1.3 and Ruby 1.8.7
> JRUBY-2895 Wildcard arguments not properly expanded on Windows
> JRUBY-3024 Better handling if suppressAccessChecks is not permitted
> JRUBY-3030 jruby/test/rubicon/test_object_space.rb fails on Windows XP SP 2
> JRUBY-3081 CLASSPATH append problem in bin/jruby script under cygwin
> JRUBY-3123 Java primate arrays no longer respond to 'first'
> (Array) from ruby
> JRUBY-3150 Execution variable $: does not include on the taint
> check level > 1
> JRUBY-3154 Net::HTTP.read_timeout is ignored, timeout is intinite
> instead (leading to massive accumulation of sockets and reading
> threads)
> JRUBY-3159 -e option does not work with iterator blocks
> JRUBY-3165 Add stream/reader based methods to
> JavaEmbedUtils.RuntimeAdapter as convenience methods
> JRUBY-3215 BSF does not retain local scope between eval calls
> JRUBY-3240 YAML: active_support dump of BigDecimal differs from MRI
> JRUBY-3245 Java exceptions not caught when converting java objects
> to ruby objects
> JRUBY-3263 imcompatibility with Ruby-1.8.6 in YAML parsing
> JRUBY-3266 undefined method 'add_ruby_type' for YAML:Module
> JRUBY-3297 Array.new with (size, object=nil) returns the value
> passed to break
> JRUBY-3306 --1.9 mode doesn't know define_singleton_method
> JRUBY-3319 Date spec failures
> JRUBY-3321 matrix rubyspec failures
> JRUBY-3323 rational rubyspec failures
> JRUBY-3327 Possible YAML parsing error
> JRUBY-3346 Need pointers of Ruby blocks (JRuby FFI)
> JRUBY-3350 JRuby .bat scripts do not correctly find Java without
> JAVA_HOME env var
> JRUBY-3352 JNA-based FFI fails to load for specs on Windows
> JRUBY-3368 java.util.List[range] is broken
> JRUBY-3380 New 1.9 Enumerator methods
> JRUBY-3389 RubySpec: Hash#update raises a TypeError if called on a
> non-empty, frozen instance
> JRUBY-3412 YAML.dump loses the timezone when dumping Time instances
> JRUBY-3419 JRuby Fails (MRI 1.8.6 works) in Sinatra "helpers" when
> no arguments
> JRUBY-3433 Encoding.default_internal and Encoding.default_external missing
> JRUBY-3435 Enumerable missing fiber-related next, rewind, with_index methods
> JRUBY-3442 1.9 allows trailing commas in method invocations
> JRUBY-3453 Make import not complain if Java already has already
> imported the specific Java class
> JRUBY-3473 RubySpec: OpenStruct frozen failures
> JRUBY-3478 Dir.new does not work for directories inside jar file
> JRUBY-3499 File.expand_path (from inside a jar) uses %20 instead
> of space characters
> JRUBY-3505 Can't install hpricot (0.7) gem
> JRUBY-3518 yaml_initialize not called for subclasses of standard types
> JRUBY-3524 Erroneously redirecting stdout when running jgem
> JRUBY-3545 ArrayIndexOutOfBoundsException when opening
> Bio::FlatFiles (bioruby gem)
> JRUBY-3546 ~/.hoerc results in parsing error
> JRUBY-3550 strftime breaks unicode characters in format string
> JRUBY-3558 RubySpec: Defining instance methods on an eigenclass
> define public methods
> JRUBY-3559 the integratated joda time version should be in a
> distinct package hierarchy
> JRUBY-3567 RubySpec: The __FILE__ constant equals a relative path
> when required using a relative path
> JRUBY-3575 File permission errors installing gems in 1.9 mode
> JRUBY-3576 utf-8 string becomes macroman on os x
> JRUBY-3577 File and FileTest methods should use to_path to coerce
> non-string parameters
> JRUBY-3591 Hexadecimal constants do not have the same equal?
> behaviour between JRuby and CRuby
> JRUBY-3592 Regression test failure (test_grpowned)
> JRUBY-3605 [1.9] IO.initialize missing option hash parsing
> JRUBY-3606 [1.9] IO.set_encoding is stubbed out
> JRUBY-3607 [1.9] IO.external_encoding stubbed out
> JRUBY-3611 RubySpec: "StringIO#sysread when passed no arguments" failures
> JRUBY-3612 RubySpec: Array#to_s returns '[...]' for the embedded
> array in a recursive array
> JRUBY-3627 Parsing related methods and class/interdace should have
> ManyVarsDynamicScope to share local variables
> JRUBY-3653 RubySpec: Hash failures "computes equality for complex
> recursive hashes"
> JRUBY-3654 RubySpec: Array failures relating to recursive arrays
> JRUBY-3662 JavaEmbedUtils should have methods to set/reset Standard I/O
> JRUBY-3682 Hashcodes for Hash objects break compatability with MRI
> JRUBY-3687 Bundle JSR 223 support in JRuby
> JRUBY-3688 IO.read fails to read files in /proc filesystem on Linux
> JRUBY-3700 test/externals/ruby1.8/yaml/test_yaml failures
> JRUBY-3702 The method methods
> JRUBY-3703 TestCommandLineSwitches fails on Windows
> JRUBY-3705 Rubyspec: behavior of $: under safe > 1
> JRUBY-3706 Rubyspec: method arity behavior
> JRUBY-3707 Rubyspec: Process egid behavior
> JRUBY-3713 TwoVarDynamicScope only supports scopes with two variable
> JRUBY-3718 FFI: put_pointer and put_array_of_pointer fails to send
> :to_ptr to their argument
> JRUBY-3721 sub-optimal IO#read after IO#getc
> JRUBY-3722 block parameter problem
> JRUBY-3731 --debug causes problems. Methods are missing.
> JRUBY-3733 Accessors arity
> JRUBY-3736 JRuby won't load a .jar if a .so is found too.
> JRUBY-3738 jruby 1.3.0 windows vista issues: doesn't output
> helpful error if JAVA_HOME undefined, and JAVA_HOME path defined in
> quotes not supported
> JRUBY-3745 RubySpec: Hash#rehash causes a RuntimeError to be
> raised if called inside an iterator block
> JRUBY-3747 String#gsub! with pattern and block raises a
> RuntimeError when self is frozen
> JRUBY-3748 RubySpec: Kernel.Integer raises an ArgumentError if
> there is a space between the + and number
> JRUBY-3750 JRUBY_OPTS="--1.9" results in error "jruby: unknown option --1.9"
> JRUBY-3751 YAML.load fails for Struct objects with non-standard initialize
> JRUBY-3757 String.split is broken
> JRUBY-3759 syslog not available for JRuby --1.9
> JRUBY-3761 FileUtils.chown_R produces ArgumentError when the
> directory contains a symlink
> JRUBY-3766 update .classpath for building jruby with eclipse
> JRUBY-3773 CLONE -custom YAML serialization ignored by JRuby
> JRUBY-3774 >>define_method :name do | &blk | << ignores
> JRUBY-3776 The install-gems goal throws exceptions
> JRUBY-3777 Exception on Solaris loading ruby gems
> JRUBY-3778 clone of stderr and stdout not working
> JRUBY-3782 BSF interface - apply nonfunctional with