Switch branches/tags
Commits on Jun 12, 2018
Commits on Jun 11, 2018
  1. Fixes #5209. NoMethodError: undefined method `on_kwrest_param'.

    enebo committed Jun 11, 2018
    Missing parser event entry for kwrest_param.
  2. Always cast return value to return type. Fixes #5204.

    headius committed Jun 11, 2018
    This issue was discovered by implementing an interface that
    returns a JRuby type, like RubyArray. Because the JRuby types
    implement IRubyObject, the logic for casting was not used, when at
    least the cast should be present in all cases.
  3. [test] try to only skip (pend) spec on CloudBees

    kares committed Jun 11, 2018
    ... spec is actually useful guarding against a regression
    ~ reverts commit 1fe9e68
    see GH-2655
  4. [refactor] File expad-path internal (to do less)

    kares committed Jun 11, 2018
    work esp. char[] copy-ing; also assuming cwd isn't null
  5. revisit FileResource interface and its impls

    kares committed Jun 10, 2018
    - review 'hacky' naming and declared throws - support unwrapping
    - avoid some potential NPEs dealing with null args (e.g. runtime)
    + internal ResourceException is simply mapped to RaiseExceptions
      (and avoid trace since ResourceException sub-types are caught)
Commits on Jun 10, 2018
  1. [refactor] dry-out and review JRubyFile creation

    kares committed Jun 10, 2018
    no need to use JavaSecuredFile for isAbsolute check
    while also generate less noise on listFiles impl
Commits on Jun 9, 2018
  1. Merge pull request #5211 from jruby/ji-path

    kares committed Jun 9, 2018
    [ji] coercing Ruby File/Dir to Java File/Path
Commits on Jun 8, 2018
  1. make RubyDir implement Closeable (to align with RubyFile)

    kares committed Jun 8, 2018
Commits on Jun 7, 2018
  1. [refactor] avoid converting dir entries back to Java on `Dir.children`

    kares committed Jun 7, 2018
    ... just to remove '.' and '..'
Commits on Jun 6, 2018
  1. -Xbytecode.version is used to specify version of generated byte-code

    kares committed Jun 6, 2018
    ... thus it makes no sense to fail here -> keep it working as before
  2. [build] update ant

    kares committed Jun 6, 2018
  3. we need JRuby class-loader awareness when generating (ASM) proxies

    kares committed Jun 6, 2018
    ... esp. since we started defaulting to generating proper 8 byte-code
    -> means we let ASM auto-generate frame stack-map in methods
    (these are mandatory to have in .class files since Java 8)
  4. [fix] compiler did not respect explicit byte-code version

    kares committed Jun 5, 2018
    `-Xbytecode.version` or set *java.specification.version* property
    ... used by Warbler's `jrubyc` invocation
Commits on Jun 5, 2018
Commits on Jun 2, 2018
Commits on Jun 1, 2018
Commits on May 31, 2018
  1. [fix] potential string sharing as each_line returns shared buffer

    kares committed May 31, 2018
    ... later modification to StringIO#string might affect the line
    resolves GH-5203