--- old/test/java/nio/file/Files/PassThroughFileSystem.java 2013-05-01 08:13:50.909127682 -0700 +++ new/test/java/nio/file/Files/PassThroughFileSystem.java 2013-05-01 08:13:50.757127685 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 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 @@ -304,7 +304,7 @@ public DirectoryStream newDirectoryStream(Path dir, DirectoryStream.Filter filter) throws IOException { - return wrap(Files.newDirectoryStream(dir, filter)); + return wrap(Files.newDirectoryStream(unwrap(dir), filter)); } @Override