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

InetAddress has wrong declaration for readObjectNoData

    Details

    • Subcomponent:
    • Resolved In Build:
      b20
    • Verification:
      Not verified

      Backports

        Description

        The java.net.InetAddress class has the declaration

            private void readObjectNoData (ObjectInputStream s) throws
                                 IOException, ClassNotFoundException { ...

        This is incorrect; it should not have an ObjectInputStream parameter. The recommended declaration from the java.io.Serializable doc is as follows:

            private void readObjectNoData() throws ObjectStreamException

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dfuchs Daniel Fuchs
                  Reporter:
                  smarks Stuart Marks
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: