commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BCEL-174) Verification of interfaces with default methods fails with Java 8
Date Sun, 20 Apr 2014 07:47:17 GMT
Emmanuel Bourg created BCEL-174:
-----------------------------------

             Summary: Verification of interfaces with default methods fails with Java 8
                 Key: BCEL-174
                 URL: https://issues.apache.org/jira/browse/BCEL-174
             Project: Commons BCEL
          Issue Type: Bug
    Affects Versions: 5.2
            Reporter: Emmanuel Bourg
             Fix For: 6.0


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

{code}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!{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message