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

Update networking tests to avoid implicit dependency on the system proxies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 14
    • core-libs
    • b17

        A number of tests in the networking area invoke the no-args
        URL::openConnection. If support for system proxies is enabled, the
        default on macOS, then the built-in http(s) and ftp protocol handlers
        may attempt to make a connection to a proxy. In almost all cases, this
        is the wrong thing for the test to do. Typically, the test is
        exercising something in the protocol handler implementation, rather than
        proxy support ( there are other tests that exercise proxy support ).
        This is an accidental dependency.

        In many cases the connection to the system configured proxy may be
        benign, but not always, it depends. Such accidental dependencies should
        be remove, since they serve little purpose and could negatively affect
        test stability.

              chegar Chris Hegarty
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: