Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 19, 2012
  1. @BanzaiMan @enebo

    Fix JRUBY-6892: Calling #drop on an Enumerator doesn't work properly

    BanzaiMan authored enebo committed
    When "drop" is called on an Enumerator, the memory locations for the members of the return value were reused.
    This resulted in a wrong result that the ticket describes. We address the problem by calling dup() whenever appropriate.
  2. @enebo
Commits on Sep 18, 2012
  1. @enebo
  2. @enebo
  3. @enebo
  4. @enebo
  5. @enebo
Commits on Sep 16, 2012
  1. @BanzaiMan

    Fix JRUBY-6892: Calling #drop on an Enumerator doesn't work properly

    BanzaiMan authored
    When "drop" is called on an Enumerator, the memory locations for the members of the return value were reused.
    This resulted in a wrong result that the ticket describes. We address the problem by calling dup() whenever appropriate.
Commits on Sep 14, 2012
  1. @enebo

    Up the dose on windows JRE

    enebo authored
  2. @enebo

    Bump for new version of jffi

    enebo authored
Commits on Sep 13, 2012
  1. @enebo

    Bump for upcoming release

    enebo authored
Commits on Sep 12, 2012
  1. @headius
Commits on Sep 10, 2012
  1. @enebo

    Revert non-proc allocator fix because it breaks tb. Work with them fo…

    enebo authored
    …r different soln for 1.7.0
Commits on Sep 7, 2012
  1. @enebo
  2. @enebo

    Fix JRUBY-6452 - CallStaticLongMethod instead of CallStaticObjectMethod

    Wayne Meissner authored enebo committed
  3. @enebo

    Update this test to match master to remove the printStacktrace (and p…

    enebo authored
    …resumably make this pass on windows)
  4. @enebo
  5. @headius
  6. @enebo
Commits on Sep 6, 2012
  1. @enebo

    Does this look safe to you?

    enebo authored
Commits on Sep 5, 2012
  1. @headius

    Fix #162

    headius authored
    Ruby.recursiveKey is never set, so it doesn't need to be a
    ThreadLocal. Thanks to Ben Browning for the fix.
  2. @headius

    Partial solution for #162.

    headius authored
    This clears the ThreadLocal objects out, so they can GC, but it
    causes the referenced objects to linger because ThreadLocal's weak
    referencing still requires a few GC cycles. The better fix will be
    to not use Ruby objects in the thread-locals, but that requires a
    reimplementation of the recursion logic.
  3. @bbrowning @headius

    Fix recursiveKey usage across multiple threads (JRUBY-6621)

    bbrowning authored headius committed
    Instead of calling recursiveKey.set when the runtime is initialized,
    we implement getInitialValue of ThreadLocal to supply the default
    value when recursiveKey.get() is called for the first time on a given
    thread.
    
    This avoids an NPE when a runtime is initialized on one thread and
    subsequently used on another thread under 1.9.
  4. @headius

    Use thread-local state for all recursive checks.

    headius authored
    Backport from 46c59ad. Partial fix for #162.
Commits on Sep 4, 2012
  1. @headius

    Merge pull request #283 from dekellum/1-6-backport-6865

    headius authored
    1.6 backport: JRUBY-6865
  2. @headius

    Merge pull request #284 from dekellum/1-6-backport-6860,6863

    headius authored
    1.6 backport: JRUBY-6860, JRUBY-6863
  3. @headius

    Merge pull request #285 from dekellum/1-6-backport-6872

    headius authored
    1.6 backport: JRUBY-6872
  4. @headius

    Actually fix JRUBY-6872.

    headius authored committed
  5. @headius

    Fix JRUBY-6872 and remaining math excludes.

    headius authored committed
    Behavior of Math.sqrt(Float::NAN) does not match MRI
  6. @headius

    Fix JRUBY-6860

    headius authored committed
    String#slice on strings with multibyte chars fails
    
    String#slice was missing range checks on the length that would
    prevent walking off the end in unguarded methods it called. Added
    those checks.
  7. @headius

    Fix JRUBY-6863

    headius authored committed
    multibyte strings after String#slice get wrong result on String#index(rindex)
    
    Patch and test by Tsuyoshi Yamane <yama.tsuyo@gmail.com>
  8. @headius

    Fix JRUBY-6865

    headius authored committed
    JRuby allows invalid attr_accessor (MRI raises exception)
    
    Our test for local variable names (which applies in both JRuby and
    MRI to attr names) did not check for trailing ?. I added that one
    case.
    
    Note that in MRI all of this passes through ID parsing, which has
    logic for checking the type of ID I did not attempt to sort out.
    There are other cases we probably let through that MRI does not.
    
    Test submitted to MRI via ruby/ruby#171
Commits on Sep 3, 2012
  1. Work around some old jffi bugs with struct-by-value params to fix JRU…

    Wayne Meissner authored
    …BY-6876
Commits on Aug 28, 2012
  1. Update to jnr-netdb 1.0.7 (fixes multi-threaded getservbyname() crash…

    Wayne Meissner authored
    …es on linux)
  2. @headius

    Merge pull request #254 from dekellum/1-6-backport-gh224

    headius authored
    1.6 backport: gh224
Something went wrong with that request. Please try again.