Migrate Generic Signature parsing to ClassFile API

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 23
    • Component/s: core-libs
    • None

      Core reflection's generic signature parsing uses an ancient library with outdated visitor pattern on a tree model and contains unnecessary boilerplates. This is a duplication of ClassFile API's signature model. We should just move to ClassFile API, which is more throughoutly tested as well.

      This migration will not affect the implementation classes of java.lang.reflect.Type, except the lazy expansion will happen from the CF tree objects instead of legacy tree objects. New regression tests will ensure backward-compatible behavior with malformed signatures and missing classes or interfaces in signatures.

        There are no Sub-Tasks for this issue.

            Assignee:
            Chen Liang
            Reporter:
            Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: