[infinispan-issues] [JBoss JIRA] (ISPN-4163) CacheAuthorizationTest.testAllCombinations always fails on JDK8

RH Bugzilla Integration (JIRA) issues at jboss.org
Tue Dec 23 19:28:36 EST 2014


    [ https://issues.jboss.org/browse/ISPN-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029482#comment-13029482 ] 

RH Bugzilla Integration commented on ISPN-4163:
-----------------------------------------------

Dave Stahl <dstahl at redhat.com> changed the Status of [bug 1173645|https://bugzilla.redhat.com/show_bug.cgi?id=1173645] from MODIFIED to ON_QA

> CacheAuthorizationTest.testAllCombinations always fails on JDK8
> ---------------------------------------------------------------
>
>                 Key: ISPN-4163
>                 URL: https://issues.jboss.org/browse/ISPN-4163
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Security, Test Suite - Core
>    Affects Versions: 7.0.0.Alpha1
>            Reporter: Dan Berindei
>            Assignee: Tristan Tarrant
>              Labels: testsuite_stability
>             Fix For: 7.0.0.Alpha5
>
>
> JDK8 added some new default methods to ConcurrentMap, and SecureCacheTestDriver doesn't cover them. This actually raises the question of whether we could provide our own implementations while still keeping compatibility with JDK6...
> {noformat}
> java.lang.Exception: Class org.infinispan.security.SecureCacheTestDriver needs to declare a method with the following signature: void testReplaceAll_BiFunction(SecureCache<String, String> cache) {}
> 	at org.infinispan.security.CacheAuthorizationTest.testAllCombinations(CacheAuthorizationTest.java:158)
> Caused by: java.lang.NoSuchMethodException: org.infinispan.security.SecureCacheTestDriver.testReplaceAll_BiFunction(org.infinispan.security.SecureCache)
> 	at java.lang.Class.getMethod(Class.java:1773)
> 	at org.infinispan.security.CacheAuthorizationTest.testAllCombinations(CacheAuthorizationTest.java:109)	... 20 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list