--- old/src/java.rmi/share/classes/sun/rmi/registry/RegistryImpl.java 2014-12-04 14:43:38.382086405 -0800 +++ new/src/java.rmi/share/classes/sun/rmi/registry/RegistryImpl.java 2014-12-04 14:43:38.150086394 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2014, 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 @@ -336,6 +336,7 @@ * Main program to start a registry.
* The port number can be specified on the command line. */ + @SuppressWarnings("deprecation") public static void main(String args[]) { // Create and install the security manager if one is not installed