JRuby

Each value of SCRIPT_LINES__ contains two redundant empty lines

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.1.1
  • Fix Version/s: JRuby 1.1.2
  • Component/s: Parser
  • Labels:
    None
  • Number of attachments :
    0

Description

Try e.g.:

$ cd ~/tmp
$ echo -e "class A\nend" > 2_lines.rb
$ jruby -e "SCRIPT_LINES__ = {}; load '2_lines.rb'; p SCRIPT_LINES__"

I've ended up around LexerSource#captureFeature and InputStreamLexerSource#wrappedRead. Surely you can do more quickly so passing

Encountered in the debugger test suite. Likely I can workaround there until fixed in JRuby.

Activity

Hide
Thomas E Enebo added a comment -

Fixed in commit 6753

Show
Thomas E Enebo added a comment - Fixed in commit 6753

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: