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

(so) java/nio/channels/SocketChannel/OpenLeak.java should not depend on SecurityManager

XMLWordPrintable

    • b03

        The test java/nio/channels/SocketChannel/OpenLeak.java depends on the SecurityManager to trigger an axception in SocketChannel::connect.

        A better idea could be to try to connect to a TCP reserved port instead, such as port 47, 51, or 61.

              dfuchs Daniel Fuchs
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: