[aspectwerkz-dev] [jira] Deleted: (AW-116) Problem introducing methods with the same names as in java.lang.Object

"[email protected] (JIRA)" <jira-yCVjj/[email protected]> Fri, 3 Aug 2007 07:11:20 +1000 (EST)
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
     [ http://jira.codehaus.org/browse/AW-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

[email protected] deleted AW-116:
---------------------------------


> Problem introducing methods with the same names as in java.lang.Object
> ----------------------------------------------------------------------
>
>                 Key: AW-116
>                 URL: http://jira.codehaus.org/browse/AW-116
>             Project: AspectWerkz
>          Issue Type: Bug
>            Reporter: Jonas Boner
>            Assignee: Jonas Boner
>            Priority: Minor
>   Original Estimate: 6 hours
>  Remaining Estimate: 6 hours
>
> From a user (yiming wang <dhuwym-/[email protected]>):
> I define one interface A.java, and one Implement
> Aimpl.java
> also add one aspect Aaspect.java with two introduce
> interface and implement(B.java, Bimpl.java, C.java,
> Cimpl.java),
> then apply this aspect to A.java.
> run following code:
> A a = new Aimpl();
> B b = (B)a;
> b.toString(true, ""); // toString(boolean, String) is
> a method in B.java
> get exception:
>  [exec] There was 1 error:
>  [exec] 1) testA(ATest)java.lang.AbstractMethodError:
> AImpl.toString(ZLjava/lang/String;)Ljava/lang/String;
> "toString" method is too special, so i rename it to
> "print", the test code is passed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email