Skip to: Site menu | Main content

JRuby

Java powered Ruby implementation

Home Print

JRuby

JRuby is an 100% pure-Java implementation of the Ruby programming language.

Features

  • A 1.8.6 compatible Ruby interpreter written in 100% pure Java
  • Most builtin Ruby classes provided
  • Support for interacting with and defining java classes from within ruby
  • Bean Scripting Framework (BSF) support
  • Distributed under a tri-license (CPL/GPL/LGPL)

Recent news

Last changed Apr 22, 2008 16:25 by Thomas E Enebo

The JRuby community is pleased to announce the release of JRuby 1.1.1!

Homepage: http://www.jruby.org/

Download: http://dist.codehaus.org/jruby/

JRuby 1.1.1 is the first point release of JRuby 1.1.  The fixes in this

release are primarily obvious compatibility problems and performance

enhancements.  Our goal is to put out point releases more frequently for

the next several months (about 3-4 weeks a release).  We want a more

rapid release cycle to better address issues brought up by users of JRuby.

Highlights:

  • interpreter method dispatch speedup
  • reduced memory consumption (permgen)
  • fixed nasty concurrency bottleneck
  • stat()/lstat() 300% faster
  • improved startup time
  • improved bigdecimal support
  • 42 issues resolved since JRuby 1.1

JRUBY-1628        Compiled ruby programs do not know how to interpret the directoy path in a require statement.

JRUBY-2093     JI: matching_method sometimes selects method with wrong arity for overloaded method

JRUBY-2111     test_thread failure in run-junit-compiled-threadpool

JRUBY-2254     Can't run JRuby with GCJ

JRUBY-2270     Deadlock With ReentrantLock and Java Integration

JRUBY-2316     Range#step doesn't work with custom object that only respond to #succ, #<=>

JRUBY-2330     define_method + super very broken at the moment

JRUBY-2337     Latest build (6366) jruby.bat does nothing

JRUBY-2339     ArrayIndexOutOfBounds running Rubinius bm_glob benchmark

JRUBY-2340     File.open in write mode on read-only files raises Errno::ENOENT, should be Errno::EACCES

JRUBY-2343     InheritedCacheCompiler does not use inherited call site fields, causing some permgen waste

JRUBY-2344     static callCount field used for "every 256 calls" thread event polling interferes with parallelization

JRUBY-2345     Marshal.load should raise EOFError if the file to load from is empty

JRUBY-2350     Rbconfig's Config::CONFIG provides non-standard platform names

JRUBY-2352     Various Process methods breaks JRuby hard on Windows

JRUBY-2355     Etc.getlogin blows up JRuby, but works OK in MRI, on Windows

JRUBY-2356     Most of Etc methods (except for getlogin) blow up JRuby on windows

JRUBY-2357     File#truncate blows up JRuby on files from within JAR files

JRUBY-2358     "A = 12; class A::B; end" crashes JRuby

JRUBY-2361     Kernel.load and Kernel.require can't handle paths with ~/ and ~username/

JRUBY-2362     StringIO#rewind doesn't clear EOF flag, fails new rubyspec

JRUBY-2363     Kernel.exit! does not work from within Rails running under Webrick

JRUBY-2365     update_rubygems "shebang" points to /Users/headius/NetBeansProjects/jruby/bin/jruby

JRUBY-2367     JRuby 1.1 is not compatible with IBM JDK 5.0 or 6.0

JRUBY-2371     src dist is not including Rakefile

JRUBY-2372     Sample script java2.rb doesn't neccesarily open the correct file

JRUBY-2379     Symbol#inspect fails two new rubyspecs

JRUBY-2381     Zlib is *VERY* slow on big files, affects gem installation severely in some cases

JRUBY-2385     expect.rb

JRUBY-2388     Calling Module.start resolves to org.jruby.RubyGC#start.

JRUBY-2390     Input stream not closed in org.jruby.runtime.Constants

JRUBY-2393     Env.to_hash should return new hash instance

JRUBY-2394     File.stat should follow the symbolic link and report the stat for the file pointed by the link

JRUBY-2397     File#chown and File.chown should allow nil as first argument

JRUBY-2402     Ant build on Windows is broken

JRUBY-2405     Zlib::GzipFile.wrap has bad signature

JRUBY-2406     StringIO.new "", "r+" (rb+) is not open for writing

JRUBY-2407     StringIO.new does not accept MODE constants

JRUBY-2412     shared-1.1.pom has cyclic property declaration

JRUBY-2413     org.jruby.util.io.NullChannel does not update Buffer position

JRUBY-2427     Add a --profile flag to JRuby that can run a simple Java-based instrumenting profiler.

JRUBY-2428     Add a --debug flag that can enable JDB for anyone wanting command-line debugging capabilities.

Posted at 22 Apr @ 4:25 PM by Thomas E Enebo | 0 comments

The JRuby community is pleased to announce the release of JRuby 1.1!

Homepage: http://www.jruby.org/

Download: http://dist.codehaus.org/jruby/

JRuby 1.1 is the second major release for our project.  The main goal for 1.1

has been improving performance.  We have made great strides in performance

during the last nine months.  There have been more and more reports of

applications exceeding Ruby 1.8.6 performance; we are even beating Ruby 1.9

in some microbenchmarks.  Please try your applications against JRuby 1.1 and

give us feedback.  If you find poor performance or a compatibility problem,

then we want to know about it; message us on IRC, email our mailing list, or

file a bug.

Other major features include:

- Compilation of Ruby to Java Bytecode (in AOT and JIT modes)

- Oniguruma port to Java

- Refactored IO implementation

- Improved memory consumption

- Thousands of compatibility fixes

As always, the community has been the driving force behind JRuby's progress.

Thousands of reported issues and unending IRC conversations has helped keep

JRuby focused on doing what is most important: Making Ruby applications work

well.  We want to thank all people who have helped and encouraged others to

give JRuby a try.  It is ready for production use today.

Posted at 05 Apr @ 6:08 AM by Thomas E Enebo | 0 comments

The JRuby community is pleased to announce the release of JRuby 1.1 RC 3

Homepage: http://www.jruby.org/

Download: http://dist.codehaus.org/jruby/

JRuby 1.1RC3 is the third and final release candidate of JRuby 1.1.  

JRuby 1.1 represents a concerted focus on speed and refinement.  Ruby code

can completely compile in an Ahead Of Time (AOT) or Just In Time (JIT) mode;

yielding a faster Ruby!  It also uses less memory than our previous releases.

We need people to download JRuby 1.1RC3 and give us feedback. Only uncovered

severe issues (common library crashing, memory leak) will hold us from

promoting this as JRuby 1.1 final.  Please try your applications out and report

all issues you encounter.

Highlights:

- 58 issues resolved since JRuby 1.1RC2

- ri/rdoc w/ documentation included in distribution

- More IO corner cases fixed (popen, reopen)

- Several small bottlenecks fixed

We want to thank all the people who gave us feedback this last release cycle.

We ended up resolving a tremendous number of issues in a short period of time.

Issues fixed since 1.1RC2:

JRUBY-884       Create and consolidate extension and non-standard options

JRUBY-1104     Our system implementation shouldn't run everything with Ruby in the name with JRuby

JRUBY-1143     rails executable was inapproprite permissions

JRUBY-1173     FindBugs issues

JRUBY-1199     STI should fall back to normal invocation when visibility changed

JRUBY-1259     Method access is not threadsafe

JRUBY-1260     'loop' reports wrong line for position

JRUBY-1267     Java 1.5.0_12 causes "yield called out of block" error during ant test on Windows and Linux

JRUBY-1352     ActiveRecord::ConnectionAdapters::JdbcConnection#columns returns empty array on MS SqlServer

JRUBY-1442     ZenTest (autotest) fails to run

JRUBY-1527     Tempfile fails to clean up because of lack of finalizer support

JRUBY-1546     Rails fails to run when using +C. jruby.jit.threshold=0 works fine.

JRUBY-1557     Using backquotes to run commands with shell redirects sometimes passes the redirects to the called program

JRUBY-1604     Rubinius Hash specs conflict with 1.9 iteration behavior

JRUBY-1609     Thread.abort_on_exception is broken on windows

JRUBY-1629     retry out of the method leads to endless loop consuming a lot of CPU resources

JRUBY-1739     gem update --system fails - need gem version 0.9.5 for rails 2.0.2

JRUBY-1799     Thread pool should have configurable min/max

JRUBY-1888     Multiple tests in JRuby OpenSSL suite are not running during test runs

JRUBY-1916     Rake file prints error after running task

JRUBY-1951     -s flag not supported

JRUBY-1958     Update OS_NAMES in RbConfigLibrary with additional mappings for other likely host OSes

JRUBY-1961     Stop paying any attention to a pre-existing JRUBY_HOME

JRUBY-1975     bin files with - (minus) in the name trip up the -S command

JRUBY-2035     Op assignment much slower than MRI

JRUBY-2072     IO#stat on non-file objects breaks JRuby hard

JRUBY-2078     $stdin.dup doesn't work

JRUBY-2125     silence_stderr fails trying to create /dev/null

JRUBY-2129     UNIXServer.open fails in JRuby

JRUBY-2130     instance_eval not treated specially by ASTInspector, leads to bad eval framing and scoping

JRUBY-2142     improved retroweaver support for jdk 1.4

JRUBY-2150     Cannot open nor stat non-ASCII file names

JRUBY-2154     jruby script/console in RoR randomly stops taking in characters when typing

JRUBY-2156     Weird behavior of rails console

JRUBY-2159     dev/null file handled incorrectly in many cases

JRUBY-2164     WEBrick on Linux randomly gets empty content-length for POST

JRUBY-2166     Regression: jirb on windows doesn't provide history anymore

JRUBY-2177     attr assign as in array[1,2] = 3 is much slower than MRI

JRUBY-2193     Numeric bignum + float and float + bignum performance very slow

JRUBY-2194     Bignum performance in rubinius's bm_bignum way slower than it should be

JRUBY-2195     Coercing Fixnum and Float to Bignum is really slow

JRUBY-2206     "Bad file descriptor" error when running jruby and rails + JA-SIG CAS ruby package

JRUBY-2216     Running AOT compiled Scripts in a Jar get a Class Not Found Exception.

JRUBY-2217     Regression: Can't stop mongrel running rails by Control-C

JRUBY-2218     Visibility problem introduced in r6078

JRUBY-2231     TCPServer.new (and possibly other servers) should coerce port to string and do equivalent of getservbyname to get the port number

JRUBY-2237     define_method call in rcov causes RuntimeException

JRUBY-2241     Comipled Codewith a require can not find the spcified files in the jar

JRUBY-2246     Compiler fails to compile 500+ line script

JRUBY-2255     IO reopen problem when running RI

JRUBY-2257       Marshal.dump and load don't treat ints the same

JRUBY-2258     r6160 Tempfile implemenation breaks default Ruby 1.8.6 behavior

JRUBY-2259     can't convert nil into Fixnum in CSV

JRUBY-2266     Reflection based execution is broken

JRUBY-2273     NPE when attempting to set Java primitive field to nil

JRUBY-2274     File.lchmod causes UnsatisfiedLinkError on unsupported platforms

JRUBY-2277     Module#alias_method raises exception in some cases when java support has already been loaded

JRUBY-2284     Distribute rdocs in our distribution

Posted at 19 Mar @ 10:57 AM by Thomas E Enebo | 2 comments

The JRuby community is pleased to announce the release of JRuby 1.1 RC 2

Homepage: http://www.jruby.org/

Download: http://dist.codehaus.org/jruby/

JRuby 1.1RC2 is the second release candidate of JRuby 1.1.  JRuby 1.1

represents a concerted focus on speed and refinement.  Ruby code can

completely compile in an Ahead Of Time (AOT) or Just In Time (JIT) mode;

yielding a faster Ruby!  It also uses less memory than our previous releases.

We need people to download JRuby 1.1RC2 and give us feedback.  Test your

applications and help us make JRuby 1.1 a great release.

Highlights:

- 260 issues resolved since JRuby 1.1RC1

- Large IO refactoring

- Memory improvements for JIT'd methods:

  - Control total number of methods JIT'd

  - Support a JIT cache between runtimes to return permgen

  - Reduce codesize of generated methods (50-70% reduction)

Vladimir Sizikov has been added as a core committer.  His amazing work

on fixing rubyspec failures has made him a welcome addition to the team.

We want to thank all the people who gave us feedback this last release cycle.

We ended up resolving a tremendous number of issues in a short period of time.

Issues fixed since 1.1RC1:

JRUBY-251       Concurrency Issue with IRuby.evalScript(), require etc.

JRUBY-334     Process module does not implement some methods

JRUBY-781     Can't reference java classes that start with a lower case character

JRUBY-864     ant test does not run successfully with thread pooling enabled

JRUBY-867     Iconv character set option //translit is not supported

JRUBY-919     autoload?, autoload, const_defined? do not work well with Colon2's (e.g. autoload Object::Foo, 'blah.rb')

JRUBY-939     Improve automatic conversion between JRuby BigDecimal and java.math.BigDecimal

JRUBY-1003     Rubinius string_spec failures

JRUBY-1047     IO.for_fd missing

JRUBY-1050     If there is a file named date.rb in the same dir that contains a file that requires 'yaml' an exception is thrown when you run the file requiring 'yaml'

JRUBY-1057     Rubinius core/exception_spec failures

JRUBY-1064     Rubinius core/object_spec failures

JRUBY-1067     Rubinius core/thread_spec failures

JRUBY-1068     Rubinius core/time_spec failures

JRUBY-1103     Settting -Xmx and -Xss through environment variable would be more convient

JRUBY-1106     Process.euid() not implemented, causes MailFactory failure

JRUBY-1114     Exception when running instance_eval on a Java Object

JRUBY-1124     Import broken with Rake

JRUBY-1128     Regular expression bug

JRUBY-1142     #! shebang in cygwin uses cygwin paths

JRUBY-1145     Testcase: testBasicStringScalarLoad(org.jvyamlb.YAMLLoadTest): FAILED

JRUBY-1148     Array#== doesn't use custom to_ary method for RHS arguments

JRUBY-1151     BigDecimal to_s displays incorrect number when number has no whole part

JRUBY-1188     JRuby base64 encoding methods appear as both public and private methods.

JRUBY-1214     The behaviour of File.flock is not same with C Ruby

JRUBY-1222     Net::HTTP response error using SSL connection

JRUBY-1272     UNIXSocket not available on JRuby

JRUBY-1277     Mongrel clashes with JVM for the right to handle SIGUSR1

JRUBY-1279     Serialization/Persistence Fix

JRUBY-1294     crash starting jar-console on trunk, r4214

JRUBY-1304     Problem talking to processes. JRuby's read hangs.

JRUBY-1358     Failure in ruby_test String#aset test

JRUBY-1361     Failure in ruby_test Numeric#to_int test

JRUBY-1362     Failure in ruby_test Numeric#truncate test

JRUBY-1371     testTime.rb doesn't work correctly on some configuration

JRUBY-1373     Cannot run JRuby through 'java' when having space in path in JRuby's home

JRUBY-1397     testUTF8Regex.rb doesn't even run anymore

JRUBY-1399     Reflection-based execution is totally broken

JRUBY-1402     spurious warning messages when yaml is analized with debug option.

JRUBY-1414     ArgumentError using to_time string conversion

JRUBY-1433     File::Stat.uid needed for rubyzip

JRUBY-1455     Cloning ARGF in IRB results in a java.lang.ClassCastException

JRUBY-1471     YAML dumping or loading is mucking up object IDs

JRUBY-1485     Some names not being interned by parser / eval

JRUBY-1493     Methods do not always have the right line number in the AST

JRUBY-1495     When a negative Float is YAML::dump'ed, the negative sign is lost.

JRUBY-1496     Update to 1.8.6 stdlib

JRUBY-1501     Update to current RubyGems, hopefully the long-awaited version currently in beta

JRUBY-1502     Trap not returning a proc as the previous handler

JRUBY-1507     Ruby String aset ([]=) with 3 args does not work is start index is one past string length

JRUBY-1509     0o00 is broken

JRUBY-1511     bad shebang line in gem

JRUBY-1516     FileTest#chardev? is not currently implemented.

JRUBY-1517     Embedded null characters in source cause premature EOF

JRUBY-1524     Dynamic classes/classloaders may not be using the appropriate containing classloader, resulting in permgen leaks

JRUBY-1526     NullPointerException when deriving non-existant (lowercase) java-class

JRUBY-1530     Some conflict when using JSON Pure to create a JSON string from a Hash with non-ASCII character

JRUBY-1532     String#chomp misbehaving in 1.1b1

JRUBY-1534     ThreadLibrary Queue#num_waiting and Zlib to_io method not bound correctly.

JRUBY-1535     <clinit> must be generated with static modifier

JRUBY-1536     Giving YAML.load a non-IO object raises a Java error instead of a Ruby error

JRUBY-1537     Sun JVM-specific signal handler should be used only when available

JRUBY-1540     Process.pid does not give the correct PID

JRUBY-1545     Trying to extend an interface (e.g. class Foo < Interface) NPEs and gives no clue

JRUBY-1552     /o regexp modifier (Ruby compatibility)

JRUBY-1553     Generator sometimes hangs up

JRUBY-1554     Time.gm should not allow negative

JRUBY-1558     RubyBigDecimal does not dump/load properly when Marshalling

JRUBY-1560     ArrayIndexOutOfBoundsException -1 in RubyString.split(RubyString)

JRUBY-1563     RubyYaccLexer not returning EOF properly

JRUBY-1564     AbstractVisitor doesn't provide empty implementation for visitPreExeNode

JRUBY-1567     StringScanner missing #get_byte

JRUBY-1568     File.symlink shells out to /bin/ln unnecessarily

JRUBY-1571     Calling map on string causes java.lang.ArrayIndexOutOfBoundsException

JRUBY-1581     Signal#trap doesn't handle failure of trapping gracefully.

JRUBY-1585     Incompatible behavior in Comparable#==

JRUBY-1586     Array#initialize_copy is public, but should not be

JRUBY-1589     Float#coerce fails when invoked with String argument

JRUBY-1590     Completely wrong Float::MAX_10_EXP value (negative)

JRUBY-1593     Range#step produces wrong error message

JRUBY-1594     Range#new breaks when 3rd parameter is not boolean

JRUBY-1596     Range#eql? works incorrectly for char ranges

JRUBY-1597     Struct#new behavior differs from MRI

JRUBY-1598     Struct#select allows for non-block arguments

JRUBY-1599     Symbol#to_int should produce warning in verbose mode

JRUBY-1600     Serious incompatibility in Thread#join(limit)

JRUBY-1601     JRuby incorrectly/incompatibly handles "TZ" environment variable (Time spec failures)

JRUBY-1605     Hash#[]= and Hash#store don't follow dup semantics for keys

JRUBY-1607     File#truncate works incorretly deleting entire file content

JRUBY-1610     DynamicScope could benefit from some custom impls that use Java fields rather than an array

JRUBY-1611     Variable access with depth > 0 should be more static

JRUBY-1612     File#truncate creates a new file if the file doesn't exist

JRUBY-1614     File.open should throw Errno::EACCES when opening non-permitted file

JRUBY-1617     RubyZip Zip::ZipFile#read raises TypeError under JRuby; does not do so under MRI

JRUBY-1618     rescue doesn't work with SystemExit exceptions (Regression)

JRUBY-1619     File.open(1) throws TypeError

JRUBY-1625     File.fnmatch works incorrectly with case sensitivity

JRUBY-1626     IO.popen("ruby") hangs

JRUBY-1635     Bug in generators

JRUBY-1640     Generator created from empty Enumarable, just hangs during construction

JRUBY-1643     Generator.new can't handle blocks, and its yield method works incorrectly

JRUBY-1645     Process.kill support through JNA

JRUBY-1652     Time#gmt_offset returns incorrect values for DST

JRUBY-1653     JRuby incorrectly calculates / and divmod against Rational number

JRUBY-1655     JRuby fails built-in unit tests from time.rb lib

JRUBY-1658     Float's multiplication is incorrect when used with non-built-in type (like Rational)

JRUBY-1659     YAML.load can't handle some valid input

JRUBY-1661     JRuby 10x slower than Ruby on "Wide Finder" script

JRUBY-1663     IO.each_line incorrectly reads empty lines

JRUBY-1664     IO.read(1) after ungetc always returns nil

JRUBY-1665     Unhandled Java exception from jMongrel running Rails

JRUBY-1669     IO.puts doesn't follow the specification

JRUBY-1671     jruby bash script fails with bash 2.03 (Solaris 8)

JRUBY-1675     Rails hangs occasionally with JRuby

JRUBY-1682     JRuby files should work with limited functionality within Jar files

JRUBY-1684     Numerous StringIO spec test failures

JRUBY-1686     OutOfMemoryException while reading from a FIFO

JRUBY-1689     Tempfile class random behavior and "Bad file descriptor (Errno::EBADF)" exception

JRUBY-1696     test_dir fails under Windows

JRUBY-1700     rio gem problems

JRUBY-1702     NegativeArraySizeException starting JIRB (ByteList/RubyString)

JRUBY-1704     Broken stdin ( java.lang.OutOfMemoryError ) in Linux environment

JRUBY-1706     [PATCH] Bad format for "frozen" error messages

JRUBY-1708     Compiler blows up with "NoVarsDynamicScope cannot be grown; use ManyVarsDynamicScope"

JRUBY-1715     Incompatible behavior for ||= in Hashes

JRUBY-1723     String#initialize and String#replace on frozen strings behave incompatibly with MRI

JRUBY-1736     Jruby on rails application crashes when starting mongrel

JRUBY-1769     Constructing a transient singleton class should hold the receiver until complete

JRUBY-1776     Exception when installing mongrel gem

JRUBY-1784     The JNA library bundled with JRuby is built against glibc 2.4+

JRUBY-1798     JRuby JIT should have an upper limit on how many methods can be compiled, to avoid eating too much permgen

JRUBY-1808     uninitialized constant OpenSSL::X509::Store

JRUBY-1810     JIT should attempt to locate a previously-compiled method of the same name and position before creating a new one

JRUBY-1821     jruby-webstart integration: open-uri (actually net/http.rb) causes java.security.AccessControlException

JRUBY-1822     jruby-webstart integration: copy and paste via system clipboard in jirb.jnlp does not work

JRUBY-1865     java.lang.LinkageError: attempted duplicate class definition for name: "append_features28277251_29404618Invokerjava_class__8Fixed0"

JRUBY-1874     HttpOutput flush doesn't send headers

JRUBY-1879     Random Empty Response with Rails 2.0

JRUBY-1891     JRUBY-1890 Cloned IO objects can be closed independently

JRUBY-1892     JRUBY-1890 pipes should not flush write to read when not in sync mode

JRUBY-1893     JRUBY-1890 Missing method: File#isatty

JRUBY-1894     JRUBY-1890 Missing flush after File.open with a block?

JRUBY-1896     JRUBY-1890 Missing method: IO#stat

JRUBY-1902     AOT compiler does not produce usable output

JRUBY-1907     Monitor synchronize hangs

JRUBY-1908     IO#reopen with File with File::CREAT mode fails

JRUBY-1909     IO#reopen should be able to handle argument of arbitrary type if it responds to "to_io"

JRUBY-1910     IO#reopen incorrectly handles self as an argument

JRUBY-1911     YAML short-hand hashes cause the parser to crash

JRUBY-1915     Failure to load Yaml

JRUBY-1917     File#link and File#symlink should not accept non-string arguments

JRUBY-1918     File#link and File#symlink never report any errors

JRUBY-1919     File#symlink? returns false on broken symlinks

JRUBY-1921     File#link and File#symlink break hard on Windows

JRUBY-1922     Pathing issues (pathname? realpath?) on Windows with GlassFish gem

JRUBY-1923     STDIN not working under Kernel.system

JRUBY-1925     Incompatibility: JRuby 1.1 can't run Glassfish gem

JRUBY-1926     File.new doesn't accept Pathname as its argument

JRUBY-1927     File.lstat on MS Windows should be the same as File.stat

JRUBY-1928     FileUtils.fu_windows? doesn't return true

JRUBY-1933     NullPointerException in SSLSocket.java

JRUBY-1934     divmod with 0.0 argument should raise FloatDomainError: NaN

JRUBY-1939     UnsatisfiedLinkError: Native Library libjnidispatch.jnilib already loaded in another classloader

JRUBY-1940     Fixnum#+ and Fixnum#* return Fixnum in cases when Bignum is needed

JRUBY-1941     ThreadLocal caches for regexp in RubyString and joni cause classloader leaks in app servers

JRUBY-1943     FileUtils.cp_r incorrectly produces "same file" error when files to be copied already exist in destination directory

JRUBY-1945     The "y" or "-include-dependencies" is not needed anymore with the most recent rubygems.

JRUBY-1946     -0 flag not supported

JRUBY-1947     -C flag not supported

JRUBY-1948     -c flag not supported

JRUBY-1952     -T flag not supported

JRUBY-1953     -W flag not supported

JRUBY-1955     Lucene index search causes major memory bloat + slowdown in 1.1RC1, but not 1.1b1

JRUBY-1956     Class#inherited gets invoked regardless of visibility

JRUBY-1957     IO#dup behavior shows channels should be loosely held by IO objects

JRUBY-1959     Rubyspecs failures for Array#pack with 'ils' patterns

JRUBY-1963     gem install activerecord-jdbc-adapter hangs while installing ri doc on clean svn co and build of JRuby r5607

JRUBY-1965     Problem with glob test running under bamboo

JRUBY-1966     AR models backed by views fail to work

JRUBY-1970     Time.now has low precision

JRUBY-1971     Time#getgm and Time#getlocal work incorrectly when usecs present

JRUBY-1979     NullPointerException when tracing script requiring java module

JRUBY-1980     Marshal#dump incorrerctly serializes objects that respond to _dump.

JRUBY-1983     File.utime and File.mtime

JRUBY-1984     TCPServer.new should allow a single port parameter

JRUBY-1985     TCPServer.accept should set thread status to 'sleep' before waiting

JRUBY-1986     String extracted with a regular expression cannot be used as pattern in File.fnmatch

JRUBY-1987     dup'ed stream reopened by IO.new stream from file descriptor appears to get lost

JRUBY-1988     Kernel#exec should return subprocess exit value and immediately bubble out of caller

JRUBY-1989     Can't create Zip files using RubyZip

JRUBY-1990     File.dirname, File.link and File.symlink failed rubinius spec test

JRUBY-1992     Date::Infinity handling is incorrect

JRUBY-1993     ObjectSpace#define_finalizer behavior does not match MRI

JRUBY-1994     higher javasupport "threads step on each other" test now failing regularly

JRUBY-1995     Warnings from redefining Java classes is annoying

JRUBY-1998     Regression: JRuby prints Exception in thread "main" when it shouldn't

JRUBY-1999     Time#strftime week of year is broken on some systems

JRUBY-2000     IO#tty? returns false for "/dev/tty"

JRUBY-2001     Kernel#sprintf returns result in incorrect register with 'x' pattern

JRUBY-2002     rexml/document references undefined variable

JRUBY-2004     Const definition on non-class/module breaks JRuby hard

JRUBY-2005     Buffered writes in IOHandlerNio (sockets, stdio, other non-file IO) are corrupt

JRUBY-2009     -S script does not set $0 to script launched

JRUBY-2010     Errno errors should allow no-arg constructor

JRUBY-2013     YAML doesn't like serializing ActiveRecord has many associations

JRUBY-2017     Dir.chdir raises a SystemCallError if the original directory no longer exists

JRUBY-2019     YAML.tagged_classes retuns very few items compared to MRI

JRUBY-2021     Thread Problem: Exception in thread ... attempted duplicate class definition..

JRUBY-2023     Serious NIO-multithreading breakage in print/puts on Windows

JRUBY-2024     IO#open, IO#popen, File#open with block should not raise error when io is closed inside the block

JRUBY-2025     jirb_swing not working (r5707), regression in r5665

JRUBY-2026     Update retroweaver jars to 2.0.3

JRUBY-2030     Attempt to load broken Java class breaks JRuby

JRUBY-2031     SystemCallErorr rubyspec regressions and new specs failures

JRUBY-2033     Attribute assignment is twice as slow as MRI

JRUBY-2034     loading a gem (hpricot) which requires a jar not working in webstart with jrubygems

JRUBY-2036     Spec failure in TCPSocket on Mac

JRUBY-2037     String#unpack with "Q/q" patterns always returns Bignums even for small values

JRUBY-2038     IO#seek/pos=, StringIO#seek with non-Fixnum args break JRuby

JRUBY-2039     Various socket spec failures

JRUBY-2043     Temp local variable indices overwriting normal local variables in stack and boxed variable compilers

JRUBY-2044     IO#write breaks JRuby when writing object with special to_s implementation

JRUBY-2045     IO#write should not really check if IO is writable if nothing to write (e.g. empty string)

JRUBY-2046     Ranges in conditions are broken

JRUBY-2050     List module does not allow [Range] and [Num, Num] getters

JRUBY-2052     FileUtils.mkdir_p is broken on Windows

JRUBY-2054     File#join can't handle recursive arrays

JRUBY-2055     Time - () explodes

JRUBY-2056     Time#<=> behavior is incompatible with MRI

JRUBY-2057     Array#join can't handle nested recursive arrays

JRUBY-2060     Eval positioning information from binding is incorrect again.

JRUBY-2061     JRuby should support Unix Domain Sockets

JRUBY-2062     Add ids and convenient data to SyntaxException and IRubyWarning interface to make their life easier

JRUBY-2064     Array.shift leaks

JRUBY-2066     RubyIO and RubyFile have bad conditional translating /dev/null to Windows NUL: device.

JRUBY-2067     AOT Compiler does not Function

JRUBY-2068     rbconfig missing localstatedir

JRUBY-2069     Instantiating Java subclasses is excrutiatingly slow

JRUBY-2070     IO#syswrite can't write non-string objects

JRUBY-2073     IO#foreach failures and crashes with rubyspecs

JRUBY-2075     IO#gets failures with latest rubyspecs (tainting, lineno, $.)

JRUBY-2076     RubyBigDecimal.getValue() needed

JRUBY-2077     File#lineno= breaks JRuby if non-integer argument supplied

JRUBY-2081     Gem server fails

JRUBY-2083     Yaml parsing error with application in JRuby (war format of application)

JRUBY-2084     RubyUNIXSocket read() cases IllegalArgumentException

JRUBY-2085     visibilty faiure on class method defined with 'class << self'

JRUBY-2088     Using the simple package-class syntax for JI gives unintuitive answers when giving arguments

JRUBY-2090     Passing readonly mode to File.new gets File not found error.

JRUBY-2092     Upgrade to jline-0.9.93 fixes 64-bit Windows jirb.

JRUBY-2095     Test failure in run-junit-precompiled (trunk, WinXp)

JRUBY-2096     File#open should not change permissions of existing file, even when permissions specified in arguments

JRUBY-2097     File#umask blows up on Windows

JRUBY-2101     Fix deprecation warning in build on clean target

JRUBY-2104     7 rubyspecs failures for $~ due to recent changes

JRUBY-2105     Method and UnboundMethod do not strictly behave like in MRI

JRUBY-2106     Regression after recent JI changes: Some unit tests cannot be executed, just exit

JRUBY-2109     JRUBY-1890 Rubicon test_io's test_reopen1 fails after IO reorg

JRUBY-2113     Regexp behavior differs a bit from MRIs

JRUBY-2118     File#truncate crashes JRuby with NPE when invoked on closed file

Posted at 16 Feb @ 3:49 PM by Thomas E Enebo | 0 comments
Last changed Jan 08, 2008 16:02 by Thomas E Enebo

The JRuby community is pleased to announce the release of JRuby 1.1 RC 1

Homepage: http://www.jruby.org/

Download: http://dist.codehaus.org/jruby/

JRuby 1.1RC1 is the first release candidate of JRuby 1.1.  JRuby 1.1

represents a concerted focus on speed and refinement.  Ruby code can

completely compile in an Ahead Of Time (AOT) or Just In Time (JIT) mode;

yielding a faster Ruby!  It also uses less memory than our previous releases.

We need people to download JRuby 1.1RC1 and give us feedback.  Test your

applications and help us make JRuby 1.1 a great release.

Highlights:

- 143 issues resolved since JRuby 1.1b1

- Landing of Java port of Oniguruma (Joni)

- Most Posix methods supported (e.g. stat, kill, getuid)

- Latest Rubygems 1.0.1, RSpec 1.1.1, and Rake 0.8.1 gems

- Updated standard library to be Ruby 1.8.6 compatible

A huge round of thanks goes to Marcin Mielzynski for porting Oniguruma. 

Porting Oniguruma to Java (resulting in a sub-project called Joni)  was a

tremendous amount of work and it turned out great.  We also want to

acknowledge Vladimir Sizikov for the large number of Rubyspecs failure fixes

during this development cycle.  He has been tenacious in getting patches to

us on a daily basis.

Issues fixed since 1.1 beta 1:

JRUBY-15  :  Implement File::Stat.ino and File::Stat.dev

JRUBY-1052: Rubinius binding_spec failures

JRUBY-1058: Rubinius core/file_spec failures

JRUBY-1061: Rubinius core/kernel_spec failures

JRUBY-1226: JRuby does not work in Web Start because it does not set the ProtectionDomain of Java proxy classes when it creates them

JRUBY-1366: Names when compiling scripts are mangld in some cases

JRUBY-1404: Unstable behavior with ARes in Rails 2.0 PRE1

JRUBY-1415: Proc#to_s should display the position info for the block

JRUBY-1438: Create JNA-based implementations of fstat/lstat

JRUBY-1453: All IO operations in JRuby need to mirror MRI's heavy use of select for all operations

JRUBY-1458: ARGF.rewind blows up (and it shouldnt)

JRUBY-1461: require './NonExistantRequiredFile' causes StringIndexOutOfBoundException instead of LoadError

JRUBY-1462: test_trace_func crashes interpreter

JRUBY-1464: java.lang.ArrayIndexOutOfBoundsException - Exception in thread "Ruby Thread24338914"

JRUBY-1487: weakref.rb could (should?) be implemented in Java

JRUBY-1488: Add ant tasks for running JRuby, and for profiling and debugging code within NetBeans

JRUBY-1497::undefined method for Thread:class. for compiled Jruby classes

JRUBY-1503: disabled objectspace causes failures in Net/HTTP

JRUBY-1506: Blocking Java calls don't work with timeout

JRUBY-1508: Dir#[] and Dir#glob incompatibilities

JRUBY-1515: Compiler is failing to compile files with nonstandard paths

JRUBY-1522: Retry argument evaluation incompatibility

JRUBY-1528: ant Javadoc error when using target create-apidocs

JRUBY-1541: The warinig message is not displayed when useless use of a quote symbol.

JRUBY-1580: Pathname#unlink complains "<file> is not a directory"

JRUBY-1592: Math.Asinh is wrong with negative arguments

JRUBY-1620: File.link needs to be implemented

JRUBY-1621: rss/maker doesn't compile

JRUBY-1622: File.expand_path cannot resolve a relative change to a path inside a jar

JRUBY-1636: JSON_PURE with the new Joni regex fails with array in a Hash, I guess

JRUBY-1641: Cannot run unsigned in Web Start due to accessing system properties

JRUBY-1660: JRuby is 10x slower than MRI on Time objects creation

JRUBY-1666: JRuby needs a test target that attempts to compile all stdlib files, to confirm compiler is at least that complete and not blowing up

JRUBY-1672: JRuby File.rename() behavior different from Ruby, causes log rotation issue

JRUBY-1673: We need to KILL MethodCache.

JRUBY-1680: nailgun slows way down when

JRUBY-1683: attr_reader, attr_writer, and attr_accessor should have arity 0

JRUBY-1684: Numerous StringIO spec test failures

JRUBY-1689: Tempfile class random behavior and "Bad file descriptor (Errno::EBADF)" exception

JRUBY-1695: JRuby in applet fails due Boolean.getProperty security permission

JRUBY-1706: [PATCH] Bad format for "frozen" error messages

JRUBY-1715: Incompatible behavior for ||= in Hashes

JRUBY-1719: String#capitalize! handles frozen empty string incompatibly

JRUBY-1721: String#slice and #[] on tainted string might incorrectly return untainted string

JRUBY-1722: String#<=> doesn't handle non-string arguments, but in MRI it does

JRUBY-1723: String#initialize and String#replace on frozen strings behave incompatibly with MRI

JRUBY-1726: String#inpect and String#dump behavior is different from Ruby

JRUBY-1730: String#slice! and String#[]= with negative ranges behave differently than Ruby

JRUBY-1732: String#rindex works incorrectly with FixNum parameters

JRUBY-1733: String conversions with 0dNNN and 0oNNN formats are incorrect

JRUBY-1734: Memory leak in trap()

JRUBY-1737: String#% can't handle some string arguments with underscores

JRUBY-1738: Kernel.sprintf with argument of some non-standard type doesn't invoke to_int on it

JRUBY-1740: Usage text says ObjectSpace is both enabled and disabled by default

JRUBY-1741: joda-time does not marshal months correctly

JRUBY-1742: String#% with %s and %p handles tainted status of ar

JRUBY-1743: =begin and =end should not be case insensitive

JRUBY-1744: END { } in method should generate a warning and not an error

JRUBY-1745: String#slice! can't handle Float and non-standard numerics as arguments

JRUBY-1746: Various String methods handle tainted flag incorrectly

JRUBY-1748: String#unpack with Z* pattern is incorrect

JRUBY-1750: String#succ! behaves differently from Ruby 1.8 which is also different from MRI 1.9

JRUBY-1751: retroweaver tasks should use verify option

JRUBY-1752: String#* returns incorrect class when used with String subclasses

JRUBY-1754: Regression in specified Time behavior with Joda Time changes

JRUBY-1757: String#dump and String#crypt handle string subclasses incorrectly

JRUBY-1758: String#% incorrectly handles null bytes right after '%' in the pattern

JRUBY-1759: JRubyFileStat gives an NPE for the root directory

JRUBY-1760: Joda Time error installing rails with RubyGems 1.0.0

JRUBY-1762: IRBApplet fails to start due to various security restrictions

JRUBY-1764: unsafe allocation of module and symbol ids

JRUBY-1765: YAML cannot load string with hash symbol

JRUBY-1766: Yaml.load returns obects of different type compared to MRI

JRUBY-1768: RubyGems 1.0.0 hack may be due to yaml_initialize not getting called

JRUBY-1771: gem install mongrel broken

JRUBY-1774: String#% with 'g/G/e/E' patterns produces incorrect output different from MRI

JRUBY-1777: WebStart sample should be provided

JRUBY-1778: Regression: String#match after String#gsub (and vice versa) with the same string work incorrectly

JRUBY-1779: String#unpack with Q pattern is incorrect

JRUBY-1780: String#unpack with X pattern is incorrect

JRUBY-1781: test_higher_javasupport threading test fails periodically

JRUBY-1782: error running sample/jirb.jnlp with signed version of jruby-complete.jar

JRUBY-1785: Failure in test_glob_inside_jar_file

JRUBY-1786: yaml_initialize is not called

JRUBY-1806: String#inspect works incorrectly when KCODE is set

JRUBY-1807: Lots of spec failures for Time

JRUBY-1809: IRBConsole doesn't fully exit the VM when its window is closed

JRUBY-1811: Kernel#` (backtick) should call to_str on the passed string

JRUBY-1812: Kernel#load should accept a second "wrap" parameter that wraps the load in a new anonymous toplevel self

JRUBY-1813: Object#methods should return only singleton methods when passed false

JRUBY-1814: Object#singleton_methods should only return singleton class methods and module methods included into singleton

JRUBY-1815: FileTest#identical? is not implemented

JRUBY-1816: Native File Stat mode comparisons + filetype is borked

JRUBY-1817: native filestat isReadablehave small logic error

JRUBY-1818: Method and UnboundMethod inspect/to_s not quite right

JRUBY-1819: Kernel#require should try to to_str coerce the provided object

JRUBY-1820: Dir.mkdir does not honor mode bits

JRUBY-1823: Proc arity failures for lambdas with a single argument receiving 0 or >1 argument

JRUBY-1824: module_eval should coerce to string

JRUBY-1825: UnboundMethod.clone ends up becoming a Method

JRUBY-1826: UnboundMethod/Method.== fails for some Rubinius specs

JRUBY-1827: Range failures in ruby specs: step and each must have "succ" defined on begin (if not an integral type), each must use spaceship for comparisons

JRUBY-1828: Module.<=> should return nil when other is not a module

JRUBY-1829: eval + friends do not honor line number argument

JRUBY-1830: Dir.open(..) with block should return last value/returned value of block

JRUBY-1831: ObjectSpace spec test fails from time to time

JRUBY-1832: StringIO spec failures: reopen should truncate actual string, reset mode flags

JRUBY-1833: Time should roll over too-high hours to days and too-high days to months

JRUBY-1834: String#unpack with "m" pattern is incorrect

JRUBY-1835: Proc.new should return the existing proc associated with a block if one has already been created

JRUBY-1836: AIOOB in String#each spec running with +C

JRUBY-1840: Complex default args that define methods not defining in correct class

JRUBY-1841: throw that bubbles all the way to the top of a non-main thread should result in a ThreadError instead of a NameError

JRUBY-1842: Modifications to $LOADED_FEATURES should be reflected in require behavior

JRUBY-1843: Implement File::readlink

JRUBY-1844: Fix all Dir.glob issues in current Rubinius spec

JRUBY-1845: Implement Kernel::fork (for experimental purposes only)

JRUBY-1848: Bignum#[] should not throw exceptions even when the argument is very big

JRUBY-1849: $defout and $deferr are not changed when $stdout and $stderr modified

JRUBY-1850: UnsatisfiedLinkError with 'mkdir' while running gem

JRUBY-1851: Exception raised while attempting to retrieve a plain text document from a https service.

JRUBY-1857: how to get mac address, gem uuidtools 1.0.2 not working

JRUBY-1858: JRuby reports wrong position in stack trace

JRUBY-1862: Missing constants in Errno

JRUBY-1863: String#% should raise ArgumentError or print a warning when $DEBUG or $VERBOSE are set

JRUBY-1866: [PATCH] RubyGC singleton methods

JRUBY-1867: Module#autoload must validate arguments

JRUBY-1868: Signal.list must list all (short) signal names and their values in a hash

JRUBY-1869: JRuby must be compatible with Ruby 1.8.6 instead of 1.8.5

JRUBY-1870: Object#extend should extend in order from last arg to first

JRUBY-1871: Kernel#proc should raise argument error when no block present

JRUBY-1873: Kernel#exec should raise a SystemCallError if cmd cannot execute

JRUBY-1874: HttpOutput flush doesn't send headers

JRUBY-1875: Integer overflow in Array#fill

JRUBY-1876: Array#initialize should not modify frozen array

JRUBY-1877: Marshalling of Gem::Specification broken under Rubygems 1.0

JRUBY-1878: Failing to send mails to msmtp mail server using IO.popen. For instance impossible to send mails to GMail using msmtp. This is a regression.

JRUBY-1880: Kernel#trap sometimes throws Java-base exception

JRUBY-1881: support stdlib yaml/store

JRUBY-1883: RubySignal should be modified to not try to load Sun-specific Signal classes when they are not present

JRUBY-1885: Reopen of a filename after close should succeed

JRUBY-1898: YAML loading incorrectly returns the same instances for strings

JRUBY-1914: Class file has wrong version 50.0 on Maven repository

Posted at 08 Jan @ 12:35 PM by Thomas E Enebo | 0 comments