-
Mar 20th, 2010, 01:03 PM
#1
bug in as3commons.Reflect
Hi,
I don't know if this is the right place to post a bug in the as3Commons reflect package. If not please let me know.
I thought to post it here because it causes my springactionscript config to crash.
In the class Type, method forName there is an error which "looses" the application domain given as parameter in some cases.
try {
if (_cache[name]) {
result = _cache[name];
} else {
result = Type.forClass(org.as3commons.lang.ClassUtils.forNa me(name, applicationDomain));
}
}
should be
try {
if (_cache[name]) {
result = _cache[name];
} else {
result = Type.forClass(org.as3commons.lang.ClassUtils.forNa me(name, applicationDomain), applicationDomain);
}
}
note the last applicationdomain. If omitted the Type.forClass is looking things up in the wrong applicationDomain.
After adding this extra application domain my bug was solved.
cheers,
Arnoud
-
Mar 21st, 2010, 06:12 AM
#2
thanx!
Hey Arnoud,
good catch, thanx! Can you file an issue here:
http://code.google.com/p/as3-commons/issues/list
that way it'll be picked up at the as3commons side of things a.s.a.p.
cheers,
Roland
-
Mar 21st, 2010, 08:04 AM
#3
done
Hi roland,
i filed the bug.
have a good weekend,
Arnoud
-
Mar 21st, 2010, 10:25 AM
#4
fix
I saw the bug, I committed the fix immediately
-
Mar 21st, 2010, 06:38 PM
#5
awesome!
Dude,
that's great! The response time on bugs for this project is just awesome!
Keep it up!
Arnoud
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules