You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Cornwall (JIRA)" <ji...@apache.org> on 2007/07/25 01:28:31 UTC

[jira] Commented: (HARMONY-4527) Signature mismatches in beans code

    [ https://issues.apache.org/jira/browse/HARMONY-4527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515118 ] 

Andrew Cornwall commented on HARMONY-4527:
------------------------------------------

It looks as if I'm losing it with respect to PropertyEditorSupport() - the constructors should be public. The visibility of the PropertyEditor methods should be default.

> Signature mismatches in beans code
> ----------------------------------
>
>                 Key: HARMONY-4527
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4527
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Winx86 build r558789
>            Reporter: Andrew Cornwall
>            Priority: Minor
>
> PropertyEditor and PropertyEditorSupport have methods whose signature does not match the Sun implementation.
> They are:
> abstract public interface java.beans.PropertyEditor
>  - public java.awt.Component getCustomEditor() - should be package private, not public
>  - public void paintValue(java.awt.Graphics, java.awt.Rectangle) - should be package private, not public
> public class java.beans.PropertyEditorSupport implements java.beans.PropertyEditor
> - public PropertyEditorSupport() - should be protected, not public
> - public PropertyEditorSupport(java.lang.Object) - should be protected, not public

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.