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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: