mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-08 12:39:29 +00:00
8234080: jdk/nio/zipfs/CRCWriteTest.java fails
Reviewed-by: clanger, amlu
This commit is contained in:
parent
6f1f675324
commit
4110efa386
@ -57,10 +57,10 @@ public class CRCWriteTest {
|
||||
* can be used successfully with the OutputStream write methods
|
||||
*/
|
||||
@Test
|
||||
private void zipFsOsDeflatedWriteTest() throws Exception {
|
||||
public void zipFsOsDeflatedWriteTest() throws Exception {
|
||||
Files.deleteIfExists(JAR_FILE);
|
||||
String[] msg = {"Hello ", "Tennis Anyone", "!!!!"};
|
||||
Entry e0 = Entry.of("Entry-0", ZipEntry.DEFLATED, Arrays.toString(msg));
|
||||
Entry e0 = Entry.of("Entry-0", ZipEntry.DEFLATED, String.join("",msg));
|
||||
|
||||
try (FileSystem zipfs = FileSystems.newFileSystem(JAR_FILE,
|
||||
Map.of("create", "true"))) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user