java.net.InterfaceAddress constructor could be made private

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: core-libs
    • b27

      JDK-8344943 suggests to make this class explicity final.

      As a follow up to that, it was noticed that the now package-private constructor of InterfaceAddress could be made private.

      The code comment on the constructor could be also be updated to make it explicitly clear that the constructor should not be invoked by Java code, but is instead called from native code.

            Assignee:
            Eirik Bjørsnøs
            Reporter:
            Eirik Bjørsnøs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: