Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 65f125337e98
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c39e9b125d52
Choose a head ref
  • 2 commits
  • 7 files changed
  • 1 contributor

Commits on Jan 6, 2016

  1. Remove buffering for input source.

    If it's an inline script, it is in the form of a byte[] and does
    not need to be buffered.
    
    If it's a file or stdin, it will be read via a RubyIO, which does
    its own buffering.
    
    If it's coming from a jar file, it's already buffered or will be
    buffered by RubyIO.
    
    Removing this buffering enables direct access to any FileChannel
    associated with the open file, which in turn provides a true DATA
    object when requested.
    headius committed Jan 6, 2016
    Copy the full SHA
    64a26a6 View commit details
  2. Implement DATA again. Fixes #3579.

    This is an improvement on 1.7 in that for a normal file it will
    actually be a true ruby File wrapping the actual FileChannel used
    to parse the file.
    headius committed Jan 6, 2016
    Copy the full SHA
    c39e9b1 View commit details
Loading