Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8337302 Undefined type variable results in null
  3. JDK-8340376

Release Note: Undefined Type Variables No Longer Result in `null`

XMLWordPrintable

      Core reflection now throws a `TypeNotPresentException` instead of substituting a `null` value when encountering an undefined type variable in a generic signature. The previous incorrect behavior had been in place since the addition of generic signatures in JDK 5. The `TypeNotPresentException::typeName` method may return type variable names in addition to fully qualified names of classes.

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

              Created:
              Updated:
              Resolved: