JRuby

Rubinius -bad instanceof tests in RubiniusMachine for attempt at fast path evaluation

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.1.6
  • Fix Version/s: JRuby 1.2
  • Component/s: Interpreter
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

The same instanceof test is performed twice in an if statement. The patch provides what I think was intended.

This was highlighted in the recent FindBugs work under JRUBY-2292.

Activity

Hide
Thomas E Enebo added a comment -

Fixed in commit 8380. Thanks for the patch James.

Show
Thomas E Enebo added a comment - Fixed in commit 8380. Thanks for the patch James.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: