Skip to content

Commit c9c3c15

Browse files
serhiysachkovMark Sheppard
authored and
Mark Sheppard
committedMar 31, 2025
8330598: java/net/httpclient/Http1ChunkedTest.java fails with java.util.MissingFormatArgumentException: Format specifier '%s'
Reviewed-by: dfuchs
1 parent 804a8fa commit c9c3c15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/jdk/java/net/httpclient/Http1ChunkedTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2020, 2025, 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
@@ -97,7 +97,7 @@ private static void test(String name, String headers, List<String> body, long de
9797
}
9898
}
9999
if (!received) {
100-
System.out.printf("%s: Unexpected headers received: dropping request.%n");
100+
System.out.printf("%s: Unexpected headers received: dropping request.%n", name);
101101
continue;
102102
}
103103
OutputStream os = serverConn.getOutputStream();

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Mar 31, 2025

@openjdk-notifier[bot]
Please sign in to comment.