File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
test/jdk/java/util/jar/Manifest Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2018, 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
3737
3838/**
3939 * @test
40- * @bug 8066619
40+ * @bug 8066619 8351567
4141 * @run testng ValueUtf8Coding
4242 * @summary Tests encoding and decoding manifest header values to and from
4343 * UTF-8 with the complete Unicode character set.
@@ -201,10 +201,6 @@ static Manifest writeAndRead(Manifest mf) throws IOException {
201201 mf .write (out );
202202 byte [] mfBytes = out .toByteArray ();
203203
204- System .out .println ("-" .repeat (72 ));
205- System .out .print (new String (mfBytes , UTF_8 ));
206- System .out .println ("-" .repeat (72 ));
207-
208204 ByteArrayInputStream in = new ByteArrayInputStream (mfBytes );
209205 return new Manifest (in );
210206 }
You can’t perform that action at this time.
0 commit comments