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

test java/net/PortUnreachableException/OneExceptionOnly.java failed on longhorn

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b102
    • Introduced In Version:
      7
    • CPU:
      x86
    • OS:
      windows_2008

      Description

      test java/net/PortUnreachableException/OneExceptionOnly.java failed on longhorn, tested with jdk7_b24 and nightly, see the output as below:

      ***
      Test Description:
          - Send 10 datagrams to bad destination
          - <wait a wee while>
          - Send another datagram - should throw PUE or timeout
          - Receive another receive - a SocketTimeoutException expected

      Expected PUE not thrown - packets probably discarded (Passed).

      ***
      Test Description:
          - Send 10 datagrams to bad destination
          - <wait a wee while>
          - Receive another datagram - should throw PUE or timeout
          - Receive another receive - a SocketTimeoutException expected

      Expected PortUnreachableException thrown - good!
      Exception in thread "main" java.lang.Exception: Unexpected PUE received - assume
      d that PUs would be consumed
              at OneExceptionOnly.doTest(OneExceptionOnly.java:113)
              at OneExceptionOnly.main(OneExceptionOnly.java:140)

        Attachments

          Activity

            People

            Assignee:
            michaelm Michael McMahon
            Reporter:
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: