< prev index next >
test/jdk/jdk/nio/zipfs/PathOps.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2009, 2011, 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) 2009, 2019, 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.
*** 604,614 ****
public static void main(String[] args) throws IOException {
// create empty JAR file, test doesn't require any contents
Path emptyJar = Utils.createJarFile("empty.jar");
! fs = FileSystems.newFileSystem(emptyJar, null);
try {
npes();
mismatchedProviders();
doPathOpTests();
} finally {
--- 604,614 ----
public static void main(String[] args) throws IOException {
// create empty JAR file, test doesn't require any contents
Path emptyJar = Utils.createJarFile("empty.jar");
! fs = FileSystems.newFileSystem(emptyJar, (ClassLoader)null);
try {
npes();
mismatchedProviders();
doPathOpTests();
} finally {
< prev index next >