< prev index next >

jdk/test/java/util/zip/ZipFile/ReadLongZipFileName.java

Print this page
rev 17249 : 8180887: move FileUtils to top level testlibrary
Reviewed-by: duke

*** 1,7 **** /* ! * Copyright (c) 2006, 2013, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2006, 2017, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 22,40 **** */ /** * @test * @bug 6374379 ! * @library ../../../../lib/testlibrary * @summary Verify that we can read zip file names > 255 chars long */ import java.io.*; import java.util.jar.*; - import java.util.zip.*; import java.util.Stack; ! import jdk.testlibrary.FileUtils; public class ReadLongZipFileName { private static String entryName = "testFile.txt";; public static void realMain(String args[]) { --- 22,39 ---- */ /** * @test * @bug 6374379 ! * @library /test/lib * @summary Verify that we can read zip file names > 255 chars long */ import java.io.*; import java.util.jar.*; import java.util.Stack; ! import jdk.test.lib.util.FileUtils; public class ReadLongZipFileName { private static String entryName = "testFile.txt";; public static void realMain(String args[]) {
< prev index next >