myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (MYFACES-2845) jsf.js: inheritance code only worked with callSuper on 2 levels
Date Thu, 29 Jul 2010 10:54:16 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Werner Punz resolved MYFACES-2845.
----------------------------------

    Fix Version/s: 2.0.2-SNAPSHOT
       Resolution: Fixed

> jsf.js: inheritance code only worked with callSuper on 2 levels
> ---------------------------------------------------------------
>
>                 Key: MYFACES-2845
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2845
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Werner Punz
>            Priority: Minor
>             Fix For: 2.0.2-SNAPSHOT
>
>
> This bug does not affect the current functionality but nevetheless is a bug. The current
inheritance code in Runtime.js has a faulty callSuper construct, this construct causes a self
recursion at the second stage if that one also calls a callSuper.
> We have to keep track of the calling history within callSuper and that if possible without
sacrificing the performance too much if at all.
> the idea is to store the last super position for every call super on the current method
name and then restoring it after the call, this should not impact performance too much because
only a map storage is performed.

-- 
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