versioning solution, marking global functions with a version are not stripped

VERIFIED INVALID

Status

Tamarin
Virtual Machine
VERIFIED INVALID
10 years ago
8 years ago

People

(Reporter: Dan Schaffer, Unassigned)

Tracking

Details

(Reporter)

Description

10 years ago
global functions are not correctly stripped out of abcs.

bug.as:
[Version(1)]
function method1() { return 1; }

print(method1());
$ asc -import builtin.abc -md bug.as
$ avmplus_s.exe -stripversion 1 bug.abc
actual: 
1

expecting:
Exception method1 is not defined

Comment 1

10 years ago
This is an ASC bug.  The metadata for the function isn't getting emitted into the abc, so the VM doesn't know it should be stripped.  I opened an ASC bug in jira:
http://bugs.adobe.com/jira/browse/ASC-3443
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → INVALID

Updated

8 years ago
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.