You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/11/30 18:05:12 UTC
[jira] [Commented] (OPENJPA-2492) TestConcurrentMap error with Java
8
[ https://issues.apache.org/jira/browse/OPENJPA-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14229163#comment-14229163 ]
ASF subversion and git services commented on OPENJPA-2492:
----------------------------------------------------------
Commit 1642566 from [~fyrewyld] in branch 'openjpa/branches/2.2.x'
[ https://svn.apache.org/r1642566 ]
OPENJPA-2492: TestConcurrentMap error with Java 8 [JDK8]
> TestConcurrentMap error with Java 8
> -----------------------------------
>
> Key: OPENJPA-2492
> URL: https://issues.apache.org/jira/browse/OPENJPA-2492
> Project: OpenJPA
> Issue Type: Sub-task
> Components: build / infrastructure, Enhance, jpa
> 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
> Assignee: Kevin Sutter
> Fix For: 2.4.0
>
> Attachments: OPENJPA-2492.patch
>
>
> One more test failure while running with Java 8. Since Java 8 introduced some new methods on the Map interface, this is probably related. We are getting a VerifyError related to the keySet signature:
> Tests in error:
> testConcurrentMap001(org.apache.openjpa.persistence.relations.TestConcurrentMap)
> <error message="(class: org/apache/openjpa/util/java$util$concurrent$ConcurrentHashMap$4$proxy, method: keySet signature: ()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;) Wrong return type in function" type="java.lang.VerifyError">java.lang.VerifyError: (class: org/apache/openjpa/util/java$util$concurrent$ConcurrentHashMap$4$proxy, method: keySet signature: ()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;) Wrong return type in function
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:340)
> at org.apache.openjpa.util.GeneratedClasses.loadBCClass(GeneratedClasses.java:68)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)