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

XML/JAXP tests that make network connections should ensure that no proxy is selected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 17, 26
    • xml
    • os_x

      Several JAXP tests are attempting to make network connection, assuming that no proxy will be selected, and are tripped by default proxy selection on macOS:

      javax/xml/jaxp/unittest/dom/DOMFeatureTest.java
      javax/xml/jaxp/unittest/common/dtd/SAXTest.java
      javax/xml/jaxp/unittest/common/dtd/DOMTest.java
      javax/xml/jaxp/unittest/common/catalog/SAXTest.java
      javax/xml/jaxp/unittest/common/catalog/DOMTest.java

      These tests should ensure that no proxy will be selected by installing a default proxy selector that returns NO_PROXY.

      Unlike on other platforms, java will pickup system proxies by default on macOS.

            joehw Joe Wang
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: