You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/04/18 20:19:15 UTC

[jira] [Commented] (OPENJPA-2491) AssertionFailedError with Java 8 and TestInExpressionParamaterBinding

    [ https://issues.apache.org/jira/browse/OPENJPA-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974325#comment-13974325 ] 

Romain Manni-Bucau commented on OPENJPA-2491:
---------------------------------------------

this is a side effect of testWithSingleParamNoParentheses (order of method is no more deterministic since java 7)

if you ensure the cache is clean before each test or you comment this method it doesn't fail even in java 8

> AssertionFailedError with Java 8 and TestInExpressionParamaterBinding
> ---------------------------------------------------------------------
>
>                 Key: OPENJPA-2491
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2491
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: jdbc, query
>    Affects Versions: 2.4.0
>         Environment: Java 8
> java version "1.8.0"
> Java(TM) SE Runtime Environment (build 1.8.0-b132)
> Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)
>            Reporter: Kevin Sutter
>
> When running with Java 8, we're experiencing the following test error.
> Failed tests: testWithCollectionParamOfDifferentSizeNoParentheses(org.apache.openjpa.persistence.jdbc.sqlcache.TestInExpressionParamaterBinding)
> Looked at the surefire report and it's a simple test assertion failure.  We've had some recent issues with parameter bindings, but this only fails with Java 8...



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