Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8225235

Unused field defaultIndex in NetworkInterface

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      The defaultIndex field in NetworkInterface appears to be unused.

      It's actively looked up during Java_java_net_NetworkInterface_init in unix/../NetworkInterface.c, but the field ID is never used.

      (Should remaining native-only fields in NetworkInterface be @Native annotated?)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: