Skip to content

Commit ac1597b

Browse files
committed
8309409: Update HttpInputStreamTest and BodyProcessorInputStreamTest to use hg.openjdk.org
Reviewed-by: dfuchs
1 parent fdb5893 commit ac1597b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/jdk/java/net/httpclient/BodyProcessorInputStreamTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -80,7 +80,7 @@ public static Optional<Charset> getCharset(HttpHeaders headers) {
8080
public static void main(String[] args) throws Exception {
8181
HttpClient client = HttpClient.newHttpClient();
8282
HttpRequest request = HttpRequest
83-
.newBuilder(new URI("http://hg.openjdk.java.net/jdk9/sandbox/jdk/shortlog/http-client-branch/"))
83+
.newBuilder(new URI("https://hg.openjdk.org/jdk9/sandbox/jdk/shortlog/http-client-branch/"))
8484
.GET()
8585
.build();
8686

test/jdk/java/net/httpclient/HttpInputStreamTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -286,7 +286,7 @@ public static Optional<Charset> getCharset(HttpHeaders headers) {
286286
public static void main(String[] args) throws Exception {
287287
HttpClient client = HttpClient.newHttpClient();
288288
HttpRequest request = HttpRequest
289-
.newBuilder(new URI("http://hg.openjdk.java.net/jdk9/sandbox/jdk/shortlog/http-client-branch/"))
289+
.newBuilder(new URI("https://hg.openjdk.org/jdk9/sandbox/jdk/shortlog/http-client-branch/"))
290290
.GET()
291291
.build();
292292

0 commit comments

Comments
 (0)