Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector class name truncated #133

Open
GoogleCodeExporter opened this issue Mar 13, 2016 · 0 comments
Open

Vector class name truncated #133

GoogleCodeExporter opened this issue Mar 13, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant