Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8310849

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: