I thought I was being smart by declaring "call" and "apply" as being final, so that the compiler<br>would complain at people if they tried to override them, because I figured people would do<br>that accidentally and then something that expected apply or call to work would break. But<br>
maybe that was the wrong thing to do. Should we just assume the user knows what they<br>are doing if they override these? I guess that's where having to specify override explicitly<br>is useful, kind of like a little liability waiver for the developer to sign when they redefine a method... <br>
<br><br><br><div class="gmail_quote">On Sun, May 4, 2008 at 1:30 PM, P T Withington (JIRA) <<a href="mailto:jira@laszlosystems.com">jira@laszlosystems.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
[ <a href="http://www.openlaszlo.org/jira/browse/LPP-5930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel" target="_blank">http://www.openlaszlo.org/jira/browse/LPP-5930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel</a> ]<br>
<br>
P T Withington reassigned LPP-5930:<br>
-----------------------------------<br>
<br>
Assignee: Henry Minsky (was: Sarah Allen)<br>
<br>
Assigning to Henry. We should fix the schema to be accurate.<br>
<br>
> RTMP: API-change, rename "call" method<br>
> --------------------------------------<br>
><br>
> Key: LPP-5930<br>
> URL: <a href="http://www.openlaszlo.org/jira/browse/LPP-5930" target="_blank">http://www.openlaszlo.org/jira/browse/LPP-5930</a><br>
> Project: OpenLaszlo<br>
> Issue Type: Bug<br>
> Components: Extensions - Streaming Audio / Video<br>
> Affects Versions: RingDing<br>
> Reporter: André Bargull<br>
> Assignee: Henry Minsky<br>
><br>
> From laszlo-user ("<a href="http://www.openlaszlo.org/pipermail/laszlo-user/2008-May/006752.html" target="_blank">http://www.openlaszlo.org/pipermail/laszlo-user/2008-May/006752.html</a>"):<br>
> > I recently ran a lzx test app in 4.0.12 that makes a call to Red5. What<br>
> > worked fine in an previous laszlo versions<br>
> > has since stopped working. This time, however, I am seeing the following<br>
> > compiler warnings:<br>
> > *extensions/av/rtmpconnection.lzx:14:49:* Method rtmpconnection.call is<br>
> > overriding a superclass method of the same name which has been declared<br>
> > non-overridable<br>
> > *extensions/av/rtmpconnection.lzx:250:48:* Method netremotecall.call is<br>
> > overriding a superclass method of the same name which has been declared<br>
> > non-overridable<br>
> Henry's response ("<a href="http://www.openlaszlo.org/pipermail/laszlo-user/2008-May/006755.html" target="_blank">http://www.openlaszlo.org/pipermail/laszlo-user/2008-May/006755.html</a>"):<br>
> > Hmm, we rewrote how the base "schema" is declared to the compiler, and that<br>
> > does indeed declare "call" as a final method:<br>
> > [....]<br>
> > Since 'call' is a javascript built-in, it would really be best to rename<br>
> > this method in the library.<br>
<font color="#888888"><br>
--<br>
This message is automatically generated by JIRA.<br>
-<br>
If you think it was sent incorrectly contact one of the administrators: <a href="http://www.openlaszlo.org/jira/secure/Administrators.jspa" target="_blank">http://www.openlaszlo.org/jira/secure/Administrators.jspa</a><br>
-<br>
For more information on JIRA, see: <a href="http://www.atlassian.com/software/jira" target="_blank">http://www.atlassian.com/software/jira</a><br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br>