harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-804) [classlib][beans] enabling of tests from StatementTest class (2)
Date Thu, 25 Jan 2007 12:27:49 GMT

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

Alexei Zakharov commented on HARMONY-804:
-----------------------------------------

I think we may close it now.

> [classlib][beans] enabling of tests from StatementTest class (2)
> ----------------------------------------------------------------
>
>                 Key: HARMONY-804
>                 URL: https://issues.apache.org/jira/browse/HARMONY-804
>             Project: Harmony
>          Issue Type: Improvement
>         Environment: winXP
>            Reporter: Alexei Zakharov
>         Assigned To: Mikhail Loenko
>         Attachments: StatementTest2.patch
>
>
> The following tests from org.apache.harmony.beans.tests.java.beans.StatementTest were
enabled:
> testExecute_AmbitiousStaticMethod
> testExecute_ClassForName
> Change log (Statement.java):
> 1. Handling of static methods has been corrected. See changes for Statement.invokeMethod()
> 2. During method invocation time:
> 	- Method lookup is now performed in the current class then in the superclass, then in
super class of super class and so on (JavaBeans 1.01 spec §8.3.1). This is the standard way
of virtual function invocation. RI also follows this rule.
> 	- The lookup is performed for public methods only since this also clearly stated in
spec (§8.5). RI follows the spec here.
> 3. I renamed testExecute_AmbitiousStaticMethod to testExecute_AmbiguousStaticMethod since
IMHO this was an ordinary typo.
> Please see the patch attached.

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


Mime
View raw message