Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-17

Type Checker does not correctly resolve an inner class name to a class if the former is used as a helper

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.3
    • 1.0.2
    • Parser/Type Checker
    • None

    Description

      If an inner class is used as a helper class the type checker fails to construct an internal type object to represent the helper class . This is because it looks up the class in the classloader using the canonical name (with a . separator between the outer class and the inner class) returned by Class.getCanonicalName() rather than the conventional class name (which uses a $ separator) returned by Class.getName().

      Attachments

        Activity

          People

            rhn-engineering-adinn Andrew Dinn
            rhn-engineering-adinn Andrew Dinn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: