Closed Bug 441394 Opened 16 years ago Closed 16 years ago

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

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: dschaffe, Unassigned)

Details

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