Skip to content

Vector class name truncated #133

Open
@GoogleCodeExporter

Description

@GoogleCodeExporter
Example

ByteCode analyze of a class that contains:
internal static const RLELIBS:Vector.<String> = new Vector.<String>; 
fails in ByteCodeConstant.type, because the package lang has truncated the 
class name when it is a Vector.

Correction

Class org.as3commons.lang.ClassUtils, method 
getClassParameterFromFullyQualifiedName
change
var len:int = (fullName.length - startIdx) - 1;
by
var len:int = (fullName.length - startIdx); 

Correct the bug without side effect (ByteCode analyze tested on large projects)

Thanks !

Original issue reported on code.google.com by [email protected] on 18 Oct 2012 at 6:53

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions