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