-
Bug
-
Resolution: Fixed
-
P4
-
14
-
b17
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8336647 | 11.0.25-oracle | Hamza Ben Yazid | P4 | Resolved | Fixed | b03 |
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.
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.
- backported by
-
JDK-8336647 Update networking tests to avoid implicit dependency on the system proxies
-
- Resolved
-