--- old/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipPath.java 2019-01-15 16:23:43.000000000 -0500 +++ new/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipPath.java 2019-01-15 16:23:43.000000000 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -92,8 +92,8 @@ return null; } - @Override - public Path getFileName() { + @Override + public ZipPath getFileName() { int off = path.length; if (off == 0 || off == 1 && path[0] == '/') return null;