8330598: java/net/httpclient/Http1ChunkedTest.java fails with java.util.MissingFormatArgumentException: Format specifier '%s'

Reviewed-by: dfuchs
This commit is contained in:
Serhiy Sachkov 2025-03-31 12:09:48 +00:00 committed by Mark Sheppard
parent 804a8fa4e9
commit c9c3c15368

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -97,7 +97,7 @@ public class Http1ChunkedTest {
}
}
if (!received) {
System.out.printf("%s: Unexpected headers received: dropping request.%n");
System.out.printf("%s: Unexpected headers received: dropping request.%n", name);
continue;
}
OutputStream os = serverConn.getOutputStream();