< prev index next >
src/java.desktop/share/classes/java/beans/PropertyEditorManager.java
Print this page
*** 106,121 ****
/**
* Change the list of package names that will be used for
* finding property editors.
*
! * <p>First, if there is a security manager, its <code>checkPropertiesAccess</code>
* method is called. This could result in a SecurityException.
*
* @param path Array of package names.
* @exception SecurityException if a security manager exists and its
! * <code>checkPropertiesAccess</code> method doesn't allow setting
* of system properties.
* @see SecurityManager#checkPropertiesAccess
*/
public static void setEditorSearchPath(String[] path) {
SecurityManager sm = System.getSecurityManager();
--- 106,121 ----
/**
* Change the list of package names that will be used for
* finding property editors.
*
! * <p>First, if there is a security manager, its {@code checkPropertiesAccess}
* method is called. This could result in a SecurityException.
*
* @param path Array of package names.
* @exception SecurityException if a security manager exists and its
! * {@code checkPropertiesAccess} method doesn't allow setting
* of system properties.
* @see SecurityManager#checkPropertiesAccess
*/
public static void setEditorSearchPath(String[] path) {
SecurityManager sm = System.getSecurityManager();
< prev index next >