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

java.net.InterfaceAddress constructor could be made private

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: