Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2386 Support for JAVA 8
  3. OPENJPA-2491

AssertionFailedError with Java 8 and TestInExpressionParamaterBinding

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.0
    • Component/s: jdbc, query
    • Labels:
      None
    • 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)

      Description

      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...

        Attachments

        1. OPENJPA-2491.patch
          0.7 kB
          Romain Manni-Bucau

          Issue Links

            Activity

              People

              • Assignee:
                kwsutter Kevin Sutter
                Reporter:
                kwsutter Kevin Sutter
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: