
|
If you were logged in you would be able to see more operations.
|
|
|
|
|
| Component/s: |
Core Language
|
|
Security Level:
|
Public
(All JIRA Users
)
|
|
| Severity: |
Crash/Hang
|
| Reproducibility: |
Every Time
|
| Discoverability: |
Low
|
| Found in Version: |
Flash 9.0
|
| Milestone: |
Player 10 - Code Complete
|
| Affected OS(s): |
All OS Platforms
|
| Steps to Reproduce: |
Steps to reproduce:
1. excerpt from enclosed source code :
switch (param)
{
case 'one' :
// the following line throws an #1010 Error
var operations1:XML = company.department.(@title == "Operations")[0];
trace(operations1);
break;
case 'two' :
// no crash here
var operations2:XML;
operations2 = company.department.(@title == "Operations")[0];
trace(operations2);
break;
} // switch (a)
2.
3.
Actual Results:
crash
Expected Results:
no crash
Workaround (if any):
within a switch case, do not declare and set a variable on a single line
Steps to reproduce:
1. excerpt from enclosed source code :
switch (param)
{
case 'one' :
// the following line throws an #1010 Error
var operations1:XML = company.department.(@title == "Operations")[0];
trace(operations1);
break;
case 'two' :
// no crash here
var operations2:XML;
operations2 = company.department.(@title == "Operations")[0];
trace(operations2);
break;
} // switch (a)
2.
3.
Actual Results:
crash
Expected Results:
no crash
Workaround (if any):
within a switch case, do not declare and set a variable on a single line
|
| Language Found: |
English
|
| Bugbase Id: |
none
|
| Triaged: |
Yes
|
| Regression: |
No
|
| Resolved by: |
Peter Donovan
|
| Participants: |
benoit Kogut, Brent Baker, Erik Tierney and Peter Donovan
|
| JDK: |
Sun 1.5.x
|
|
All
|
Comments
|
|
Sort Order:
|
|