Proxy class initializer should use 3-arg `Class.forName` to avoid unnecessary class initialization

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 19
    • Affects Version/s: 19
    • Component/s: core-libs
    • None

      `<clinit>` of the generated proxy classes calls 1-arg `Class::forName` to get the parameter types for each method during the process to find all Methods and cache them. This causes the initialization of all parameter types of all methods implemented by the proxy class. It can call the 3-arg `Class.forName` to avoid unnecessary class initialization.

            Assignee:
            Roger Riggs
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: