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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: