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

(sctp) Relax assertion in sun.nio.ch.sctp.AssociationChange::association

    Details

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

      Description

      The assertion in sun.nio.ch.sctp.AssociationChange::association is too strong. It should be relaxed to allow a null association when the change event is CANT_START.

      This can be verified by reading the specification from the supertype's, com.sun.nio.sctp.AssociationChangeNotification, association method, which says: "The association whose state has changed, or null if there is no association, that is CANT_START".

      Existing tests already trip into this issue, when run with system assertions enabled.

        Attachments

          Activity

            People

            • Assignee:
              chegar Chris Hegarty
              Reporter:
              chegar Chris Hegarty
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: