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

java.net.BindException is thrown on Windows XP when HTTP server is started and stopped in the loop.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 7u6, 8, 9
    • core-libs
    • Windows XP sp3, 1 CPU

    • 7u6
    • b42
    • x86
    • windows_xp
    • Verified

    Backports

      Description

        Steps to reproduce:

        1. Run attached class on latest jdk7u build on Windows XP sp 3 single CPU machine.

        EXPECTED BEHAVIOUR:
        server will be created and stopped successfully 100 times.

        ACTUAL BEHAVIOUR:
        "java.net.BindException: Address already in use" exception is thrown after a few iterations.

        The problem doesn't exist on Windows 7, Linux and others platforms and seems to be Windows XP specific.

        The problem seems appeared starting from jdk7u6 since on jdk7u5 it the sample case works fine.

        Attachments

          Issue Links

            Activity

              People

                msheppar Mark Sheppard
                dtitov Daniil Titov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: