src/share/classes/sun/rmi/server/LoaderHandler.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1996, 2008, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1996, 2011, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 1029,1039 **** * loader operates within, such as permissions necessary for * granting automatic permissions to classes defined by the * loader. A given permission is only added to the collection if * it is not already implied by the collection. */ ! public static void addPermissionsForURLs(URL[] urls, PermissionCollection perms, boolean forLoader) { for (int i = 0; i < urls.length; i++) { URL url = urls[i]; --- 1029,1039 ---- * loader operates within, such as permissions necessary for * granting automatic permissions to classes defined by the * loader. A given permission is only added to the collection if * it is not already implied by the collection. */ ! private static void addPermissionsForURLs(URL[] urls, PermissionCollection perms, boolean forLoader) { for (int i = 0; i < urls.length; i++) { URL url = urls[i];