Compare commits

...

3 Commits

Author SHA1 Message Date
Daniel Fuchs
aa4f79eaec 8358617: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails with 403 due to system proxies
Reviewed-by: jpai
Backport-of: a377773fa7
2025-06-11 16:22:34 +00:00
Stuart Marks
c7df72ff0f 8358809: Improve link to stdin.encoding from java.lang.IO
Reviewed-by: naoto
Backport-of: d024f58e61
2025-06-07 00:56:45 +00:00
Rajan Halade
80e066e733 8345414: Google CAInterop test failures
Reviewed-by: weijun
Backport-of: 8e9ba788ae
2025-06-06 21:31:33 +00:00
3 changed files with 12 additions and 12 deletions

View File

@@ -38,7 +38,7 @@ import java.nio.charset.StandardCharsets;
* <p>
* The {@link #readln()} and {@link #readln(String)} methods decode bytes read from
* {@code System.in} into characters. The charset used for decoding is specified by the
* {@link System#getProperties stdin.encoding} property. If this property is not present,
* {@link System##stdin.encoding stdin.encoding} property. If this property is not present,
* or if the charset it names cannot be loaded, then UTF-8 is used instead. Decoding
* always replaces malformed and unmappable byte sequences with the charset's default
* replacement string.

View File

@@ -429,7 +429,7 @@ public class HttpURLConnectionExpectContinueTest {
.port(control.serverSocket.getLocalPort())
.toURL();
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
HttpURLConnection connection = (HttpURLConnection) url.openConnection(Proxy.NO_PROXY);
connection.setDoOutput(true);
connection.setReadTimeout(5000);
connection.setUseCaches(false);

View File

@@ -635,20 +635,20 @@ public class CAInterop {
"https://revoked.sfig2.catest.starfieldtech.com");
case "globalsigneccrootcar4" ->
new CATestURLs("https://good.gsr4.demo.pki.goog",
"https://revoked.gsr4.demo.pki.goog");
new CATestURLs("https://good.gsr4.demosite.pki.goog",
"https://revoked.gsr4.demosite.pki.goog");
case "gtsrootcar1" ->
new CATestURLs("https://good.gtsr1.demo.pki.goog",
"https://revoked.gtsr1.demo.pki.goog");
new CATestURLs("https://good.gtsr1.demosite.pki.goog",
"https://revoked.gtsr1.demosite.pki.goog");
case "gtsrootcar2" ->
new CATestURLs("https://good.gtsr2.demo.pki.goog",
"https://revoked.gtsr2.demo.pki.goog");
new CATestURLs("https://good.gtsr2.demosite.pki.goog",
"https://revoked.gtsr2.demosite.pki.goog");
case "gtsrootecccar3" ->
new CATestURLs("https://good.gtsr3.demo.pki.goog",
"https://revoked.gtsr3.demo.pki.goog");
new CATestURLs("https://good.gtsr3.demosite.pki.goog",
"https://revoked.gtsr3.demosite.pki.goog");
case "gtsrootecccar4" ->
new CATestURLs("https://good.gtsr4.demo.pki.goog",
"https://revoked.gtsr4.demo.pki.goog");
new CATestURLs("https://good.gtsr4.demosite.pki.goog",
"https://revoked.gtsr4.demosite.pki.goog");
case "microsoftecc2017" ->
new CATestURLs("https://acteccroot2017.pki.microsoft.com",