-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
master
UNCTest.java was written to test that the URLConnection returned by URL::openConnection for a UNC path does not return the connection in an open state.
However, since the UNC path does not exist, an FtpURLConnection is returned instead, so the test doesn't really execute its intended code paths.
Most CI Windows instances seem to have Administrative Shares enabled, so we can use an UNC path like "\\computername\C$\Windows" instead and just skip the test in the case that Administrative Shares is disabled.
However, since the UNC path does not exist, an FtpURLConnection is returned instead, so the test doesn't really execute its intended code paths.
Most CI Windows instances seem to have Administrative Shares enabled, so we can use an UNC path like "\\computername\C$\Windows" instead and just skip the test in the case that Administrative Shares is disabled.
- links to
-
Commit(master) openjdk/jdk/e6cea402
-
Review(master) openjdk/jdk/24842