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
  • Description:
    Hide

    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.

    Show
    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 - 26/Apr/08 2:04 PM

Fixed in commit 6753

Show
Thomas E Enebo added a comment - 26/Apr/08 2:04 PM Fixed in commit 6753

People

Dates

  • Created:
    25/Apr/08 4:14 AM
    Updated:
    04/Jul/08 9:07 AM
    Resolved:
    26/Apr/08 2:04 PM