JRuby

Including more than one java interface stops Test::Unit execution

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.1.5
  • Fix Version/s: JRuby 1.2
  • Component/s: Java Integration
  • Labels:
    None
  • Environment:
    jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-03 rev 7996) [x86_64-java]
  • Number of attachments :
    0

Description

By including two java interfaces in a ruby class, Test::Unit's at_exit hook is never run.
Printing $! at the end shows #<TypeError: <=> requires JavaClass (NilClass given)>

See http://gist.github.com/33726 for a more detailed example.

Activity

Hide
Jari Bakken added a comment -

Works on trunk as of 2009-01-23

Show
Jari Bakken added a comment - Works on trunk as of 2009-01-23
Hide
Charles Oliver Nutter added a comment -

Setting fix version.

Show
Charles Oliver Nutter added a comment - Setting fix version.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: