JRuby

Testing errors in test_java_mime.rb

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: JRuby-OpenSSL 0.3
  • Fix Version/s: JRuby-OpenSSL 0.4
  • Component/s: OpenSSL
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

Calling method first() on a Java::JavaUtil::ArrayList

The fix first casts the java array to a ruby array before calling first()

Activity

Hide
Charles Oliver Nutter added a comment -

Moving to 1.1.7 version.

Show
Charles Oliver Nutter added a comment - Moving to 1.1.7 version.
Hide
Charles Oliver Nutter added a comment -

Adjusting release versions for JRuby-OpenSSL.

Show
Charles Oliver Nutter added a comment - Adjusting release versions for JRuby-OpenSSL.
Hide
Charles Oliver Nutter added a comment -

Fixed in r1137 by using [0] instead of .first. We don't decorate lists with .first, though we may have in the past. .first on Enumerable is a 1.9-only feature.

Show
Charles Oliver Nutter added a comment - Fixed in r1137 by using [0] instead of .first. We don't decorate lists with .first, though we may have in the past. .first on Enumerable is a 1.9-only feature.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: