What about the alternative solution I've sent later? I think using
getQualifiedClassName() instead of getDefinitionByName() provides better
runtime performance and it also doesn't require any changes to the compiler.
On 4/28/2010 5:28 AM, P T Withington wrote:
Ah, very simple. Approved!
On 2010-04-27, at 19:00, André Bargull wrote:
Change 20100428-bargull-zlC by barg...@bargull02 on 2010-04-28 03:48:54
in /home/anba/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: make all class definitions public
New Features:
Bugs Fixed: LPP-8942 ($lzc$issubclassof does not work for mixins in as3
non-debug)
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
Details:
flash.utils.getDefinitionByName() does only work for public definitions,
otherwise a ReferenceError is thrown. Therefore all classes are now defined as
public. This makes subclassof work in non-debug, because $lzc$issubclassof uses
getDefinitionByName().
Tests:
smokecheck, metasuite in swf10 (non-debug, debug)
Files:
M WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9ParseTreePrinter.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100428-bargull-zlC.tar