Closed
Bug 420175
Opened 17 years ago
Closed 16 years ago
AVM2 - with JIT disabled, initialization of superclass's private const member throws ReferenceError
Categories
(Tamarin Graveyard :: Virtual Machine, defect, P3)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
VERIFIED
WORKSFORME
Future
People
(Reporter: cpeyer, Assigned: lhansen)
References
Details
(Keywords: flashplayer)
as:
package
{
public class SuperClass
{
public function SuperClass(s:String)
{
}
private const m_sprite:String = new String();
}
}
package
{
public class SubClass extends SuperClass
{
public function SubClass(s:String)
{
super(s);
}
}
}
package {
public class ConstMemberMIRBug
{
public function ConstMemberMIRBug()
{
var foo:SubClass = new SubClass("foo");
}
}
var c = new ConstMemberMIRBug();
}
result (with -Dinterp flag):
ReferenceError: Error #1074: Illegal write to read-only property SuperClass::m_sprite on SubClass.
at SuperClass()
at SubClass()
at ConstMemberMIRBug()
at global$init()
Reporter | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Keywords: flashplayer
Reporter | ||
Updated•17 years ago
|
Status: ASSIGNED → NEW
Reporter | ||
Updated•17 years ago
|
Flags: in-testsuite?
Flags: flashplayer-qrb?
Updated•16 years ago
|
Assignee: nobody → rreitmai
Status: NEW → ASSIGNED
Flags: flashplayer-qrb?
Priority: -- → P3
Updated•16 years ago
|
Flags: flashplayer-qrb+
Assignee | ||
Updated•16 years ago
|
Assignee: rreitmai → lhansen
Assignee | ||
Comment 1•16 years ago
|
||
Tried current redux with -Dinterp, and compiling with recent ASC with and without -optimize. Added some print statements in the main program that verified that the program ran to the end as it was supposed to.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 2•15 years ago
|
||
Verified works w/ avm d2765. Removed in-testsuite flag.
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•