--- old/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java 2017-03-08 10:33:12.000000000 +0800 +++ new/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java 2017-03-08 10:33:12.000000000 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 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 @@ -29,7 +29,6 @@ * java.rmi/sun.rmi.server java.rmi/sun.rmi.transport java.rmi/sun.rmi.transport.tcp * @library ../../../../../../java/rmi/testlibrary * @build TestLibrary - * @compile --add-modules jdk.naming.rmi ContextWithNullProperties.java * @run main/othervm ContextWithNullProperties */