Closed Bug 520612 Opened 16 years ago Closed 16 years ago

get type coercion error when using nativewindow with jit disabled

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: cthilgen, Unassigned)

Details

Attachments

(3 files)

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Build Identifier: get type coercion error when using nativewindow with jit disabled Reproducible: Always Steps to Reproduce: 1. Download the 3.4.0.9271 (latest stable) version of the Flex SDK - decompress into c:\TestFlexSDK\ http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK 2. Overlay C:\TestFlexSDK\ with the 20091002_withdrm AIR SDK \\vulcan\Apollo_1\Daily_Builds\athena\2.0\20091002_apams1041\win\results\Release\installers\archive_air_2.0_desktop_withdrm_sdk.zip 3. Using ADL in the SDK folder run the attached test application - which is a default AIR application that contains nothing but the default window. c:\TestFlexSDK\bin\adl JITTest-app.xml => The test application should launch. 4. Modify mms.cfg to disable the JIT. On Windows XP: C:\WINDOWS\system32\Macromed\Flash\mms.cfg AS3JIT = 0 5. Using ADL in the SDK folder run the attached test application - which is a default AIR application that contains nothing but the default window. c:\TestFlexSDK\bin\adl JITTest-app.xml => The test application will fail to launch with the following message: unknown error TypeError: Error #1034: Type Coercion failed: cannot convert flash.desktop::NativeApplication@3acb041 to flash.desktop.NativeApplication. at flash.desktop::NativeApplication$/get nativeApplication() at runtime::AppRunner$/GetLocalConnectionDomain() at runtime::AppRunner/run() at global/runtime::ADLEntry()
bug was reproduceable on windows xp and some version of mac os x (likely panther)
This turns out to NOT be a Tamarin bug -- the native classes in AIR are doing some type-spoofing internally, which happens to work in JIT mode (since the setslot calls don't do typechecking at runtime) but not in interpreter mode. Bounced the bug back to their internal bug database.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: