Announcement Announcement Module
Collapse
No announcement yet.
bug in as3commons.Reflect Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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

    Comment


    • #3
      done

      Hi roland,

      i filed the bug.

      have a good weekend,

      Arnoud

      Comment


      • #4
        fix

        I saw the bug, I committed the fix immediately

        Comment


        • #5
          awesome!

          Dude,

          that's great! The response time on bugs for this project is just awesome!
          Keep it up!

          Arnoud

          Comment

          Working...
          X