--- old/test/java/nio/file/WatchService/WithSecurityManager.java 2016-05-30 16:31:38.000000000 +0100 +++ new/test/java/nio/file/WatchService/WithSecurityManager.java 2016-05-30 16:31:38.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2016, 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 @@ -24,7 +24,7 @@ /* @test * @bug 4313887 * @summary Unit test for Watchable#register's permission checks - * @modules java.base/com.sun.nio.file + * @modules jdk.unsupported * @build WithSecurityManager * @run main/othervm WithSecurityManager denyAll.policy - fail * @run main/othervm WithSecurityManager denyAll.policy tree fail