equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
420 * <p>First, if there is a security manager, its |
420 * <p>First, if there is a security manager, its |
421 * {@code checkSecurityAccess} |
421 * {@code checkSecurityAccess} |
422 * method is called with the string {@code "removeProvider."+name} |
422 * method is called with the string {@code "removeProvider."+name} |
423 * to see if it's ok to remove the provider. |
423 * to see if it's ok to remove the provider. |
424 * If the default implementation of {@code checkSecurityAccess} |
424 * If the default implementation of {@code checkSecurityAccess} |
425 * is used (i.e., that method is not overriden), then this will result in |
425 * is used (i.e., that method is not overridden), then this will result in |
426 * a call to the security manager's {@code checkPermission} method |
426 * a call to the security manager's {@code checkPermission} method |
427 * with a {@code SecurityPermission("removeProvider."+name)} |
427 * with a {@code SecurityPermission("removeProvider."+name)} |
428 * permission. |
428 * permission. |
429 * |
429 * |
430 * @param name the name of the provider to remove. |
430 * @param name the name of the provider to remove. |