Pattern matching for instanceof and arrayType cleanup in j.l.invoke and j.l.reflect

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: None
    • Component/s: core-libs
    • b04

      This is a cleanup to convert all casts within instanceof checks and array type access via Array.newInstance().getClass() in java.lang.reflect, java.lang.invoke, and their implementation packages to pattern matching in instanceof and arrayType() calls. A few sites of unchecked casts (e.g. Map to Map<String, String>) are omitted.

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

              Created:
              Updated:
              Resolved: