Symbol.getModifiers omits ACC_ABSTRACT from interface with default methods

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 8
    • Affects Version/s: 8, 8-repo-lambda
    • Component/s: tools
    • b87
    • Verified

      When getting modifiers of an interface, Symbol.getModifiers reverts AC_ABSTRACT if the interface contains default. This is a combinations of a fix that was put in place to preserve correctness of flags for default methods when accessed through compiler API and fact that javac internally marks interfaces with default with a special DEFAULT flag (same used for marking default methods).

            Assignee:
            Maurizio Cimadamore
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: