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

Null check too late in sun.net.httpserver.ServerImpl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • None
    • b103

    Backports

      Description

        HttpServer/ServerImpl.java:377-381:

        Notice the null check on ‘chan’ is performed after it may have been dereferenced to set the TCP_NODELAY on the channel’s socket. If chan truly can be null at that point, the check needs to be move up a few lines.

        Attachments

          Issue Links

            Activity

              People

                msheppar Mark Sheppard
                rriggs Roger Riggs
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: