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

URL.openConnection(Proxy.NO_PROXY) throws NULLPointerException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 5.0u1
    • 5.0
    • core-libs
    • 01
    • x86
    • windows_2000

    Backports

      Description

        URL.openConnection(Proxy.NO_PROXY) throws NULLPointerException.

        The implementation of URL.openConnection(Proxy p) does not check whether the InetSocketAddress returned by p.address() could be null if user passes Proxy.NO_PROXY. This will result NULLPointerException when people tries to use the API.
        ###@###.### 2004-08-12

        Attachments

          Issue Links

            Activity

              People

                jccollet Jean-Christophe Collet (Inactive)
                xlu Xiaobin Lu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: