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

java compiler: type erasure doesn't work since 9-b28

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • tools
    • b28
    • b94
    • Verified

      Calling processingEnv.getTypeUtils().erasure(arg) within Processor doesn't erase the type:

      9-b27:
                    arg: ? extends javax.xml.namespace.QName
      erasure(arg): javax.xml.namespace.QName

      9-b28:
                    arg: ? extends javax.xml.namespace.QName
      erasure(arg): ? extends javax.xml.namespace.QName

      Reproducer attached.

            sadayapalam Srikanth Adayapalam (Inactive)
            mkos Miroslav Kos (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: