Details

    • Type: New Feature New Feature
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.6.5
    • Fix Version/s: JRuby 1.7.0.pre1
    • Component/s: Standard Library
    • Labels:
      None
    • Number of attachments :
      0

      Description

      In the socket library, MRI 1.9 defines Addrinfo < Data. We don't have it.

        Issue Links

          Activity

          Hide
          Charles Oliver Nutter added a comment -

          It's a large .c file in MRI, but a lot of that appears to be platform-specific struct-wrangling. Might be simple enough to wrap JDK address APIs.

          Show
          Charles Oliver Nutter added a comment - It's a large .c file in MRI, but a lot of that appears to be platform-specific struct-wrangling. Might be simple enough to wrap JDK address APIs.
          Hide
          Charles Oliver Nutter added a comment -

          FWIW, "Data" appears to be nothing more than a non-allocatable Object subclass. Several utility classes and structs extend it.

          Show
          Charles Oliver Nutter added a comment - FWIW, "Data" appears to be nothing more than a non-allocatable Object subclass. Several utility classes and structs extend it.
          Hide
          Charles Oliver Nutter added a comment -

          I'm committing a partial impl, and filed JRUBY-6394 for some missing Socket features we'll need to run MRI's test (test/externals/ruby1.9/socket/test_addrinfo.rb).

          Show
          Charles Oliver Nutter added a comment - I'm committing a partial impl, and filed JRUBY-6394 for some missing Socket features we'll need to run MRI's test (test/externals/ruby1.9/socket/test_addrinfo.rb).
          Hide
          Charles Oliver Nutter added a comment -

          Started it at least:

          commit a9a50e058d29e4c71f1900e8b13c0265fda143bf
          Author: Charles Oliver Nutter <headius@headius.com>
          Date:   Mon Jan 30 07:33:16 2012 -0600
          
              First stab at implementing Addrinfo for JRUBY-6393.
          
          Show
          Charles Oliver Nutter added a comment - Started it at least: commit a9a50e058d29e4c71f1900e8b13c0265fda143bf Author: Charles Oliver Nutter <headius@headius.com> Date: Mon Jan 30 07:33:16 2012 -0600 First stab at implementing Addrinfo for JRUBY-6393.
          Hide
          Charles Oliver Nutter added a comment -

          Fixed enough with recent commits (around master@7db1d63) that filled out Addrinfo.

          Show
          Charles Oliver Nutter added a comment - Fixed enough with recent commits (around master@7db1d63) that filled out Addrinfo.

            People

            • Assignee:
              Charles Oliver Nutter
              Reporter:
              Hiro Asari
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: