Details

    • Number of attachments :
      0

      Description

      While getting warbler to pass specs with jruby --1.9 I've noticed drb behaving differently in 1.9 mode.
      Not sure if it's intentional, seems to me that in 1.9 the same stdlib code as in MRI (relying by default on ObjectSpace) is being used, however in 1.8 there's a patched version of drb which relies on resolving references using weak refs by default.

      By replacing the default "id_conv" in 1.9 with the code from 1.8's DRb::DRbIdConv DRb starts behaving the same :
      https://github.com/jruby/warbler/commit/75054cdc567934fad2e546a8872849d57cc88e95

        Activity

        Hide
        Charles Oliver Nutter added a comment -

        Ahh, good catch. I'll migrate the 1.8 trick to 1.9 stdlib.

        Show
        Charles Oliver Nutter added a comment - Ahh, good catch. I'll migrate the 1.8 trick to 1.9 stdlib.
        Hide
        Charles Oliver Nutter added a comment -

        Fixed in master@248d5e9 and jruby-1_6@9f4ebdb.

        Show
        Charles Oliver Nutter added a comment - Fixed in master@248d5e9 and jruby-1_6@9f4ebdb.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Karol Bucek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: