Skip to content

Commit aded64a

Browse files
committed
8330598: java/net/httpclient/Http1ChunkedTest.java fails with java.util.MissingFormatArgumentException: Format specifier '%s'
Backport-of: c9c3c1536880d81ab84d5cb55f4fd0fe3bbf60a2
1 parent 1e558de commit aded64a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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();

0 commit comments

Comments
 (0)