Name: dsC58869 Date: 09/11/98
Spec for method java.beans.PropertyEditorManager.registerEditor says nothing
about behavior if the calling thread cannot set system properties.
Currently this method throws the SecurityException.
Here is the src fragment:
@(#)PropertyEditorManager.java 1.34 98/08/11
...
/**
* Register an editor class to be used to editor values of
* a given target class.
* @param targetType the Class object of the type to be edited
* @param editorClass the Class object of the editor class. If
* this is null, then any existing definition will be removed.
*/
public static void registerEditor(Class targetType, Class editorClass) {
SecurityManager sm = System.getSecurityManager();
if (sm != null) {
sm.checkPropertiesAccess();
}
...
======================================================================
Justification:
JCK12beta4 test failure:
api/java_beans/PropertyEditorManager/manual.html#PropertyEditor
======================================================================