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] Updated: (HARMONY-804) [classlib][beans] enabling of tests from StatementTest class (2)
Date Sun, 09 Jul 2006 18:49:30 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-804?page=all ]

Alexei Zakharov updated HARMONY-804:
------------------------------------

    Attachment: StatementTest2.patch

> [classlib][beans] enabling of tests from StatementTest class (2)
> ----------------------------------------------------------------
>
>          Key: HARMONY-804
>          URL: http://issues.apache.org/jira/browse/HARMONY-804
>      Project: Harmony
>         Type: Improvement

>  Environment: winXP
>     Reporter: Alexei Zakharov
>  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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message