Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions test/jdk/java/util/jar/Manifest/ValueUtf8Coding.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 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
Expand Down Expand Up @@ -37,7 +37,7 @@

/**
* @test
* @bug 8066619
* @bug 8066619 8351567
* @run testng ValueUtf8Coding
* @summary Tests encoding and decoding manifest header values to and from
* UTF-8 with the complete Unicode character set.
Expand Down Expand Up @@ -201,10 +201,6 @@ static Manifest writeAndRead(Manifest mf) throws IOException {
mf.write(out);
byte[] mfBytes = out.toByteArray();

System.out.println("-".repeat(72));
System.out.print(new String(mfBytes, UTF_8));
System.out.println("-".repeat(72));

ByteArrayInputStream in = new ByteArrayInputStream(mfBytes);
return new Manifest(in);
}
Expand Down