Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-174

Verification of interfaces with default methods fails with Java 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2
    • 6.0
    • None

    Description

      With Java 8 the verifier fails to validate interfaces containing default methods. For example with the Collection interface it returns this error:

      Interface method 'public boolean removeIf(java.util.function.Predicate arg1) [Signature((Ljava/util/function/Predicate<-TE;>;)Z)]' must have the ACC_STATIC modifier set but hasn't!

      Attachments

        Activity

          People

            Unassigned Unassigned
            ebourg Emmanuel Bourg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: