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

gil cattaneo commented on OPENJPA-2441:
---------------------------------------

hi,
used:
OpenJDK version "1.8.0_11"
OpenJDK Runtime Environment (build 1.8.0_11-b12)
OpenJDK Zero VM (build 25.11-b02, interpreted mode)

applied the patch for java 8 problems, but now i have still this problem:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on 
project openjpa-persistence: Compilation failure: Compilation failure:
[ERROR] 
/builddir/build/BUILD/apache-openjpa-2.2.2-source/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceXMLMetaDataParser.java:[164,64]
 cannot find symbol
[ERROR] symbol:   method booleanValue()
[ERROR] location: class java.lang.Object
[ERROR] 
/builddir/build/BUILD/apache-openjpa-2.2.2-source/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceXMLMetaDataParser.java:[167,43]
 cannot find symbol
[ERROR] symbol:   method booleanValue()
[ERROR] location: class java.lang.Object
[ERROR] 
/builddir/build/BUILD/apache-openjpa-2.2.2-source/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceXMLMetaDataParser.java:[217,13]
 cannot find symbol
[ERROR] symbol:   method booleanValue()
[ERROR] location: class java.lang.Object
[ERROR] 
/builddir/build/BUILD/apache-openjpa-2.2.2-source/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceXMLMetaDataParser.java:[239,44]
 cannot find symbol
[ERROR] symbol:   method booleanValue()
[ERROR] location: class java.lang.Object
[ERROR] -> [Help 1] 

thanks in advance

> TestNullSafeConcurrentHashMap fails when running on Oracle Java 8 
> ------------------------------------------------------------------
>
>                 Key: OPENJPA-2441
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2441
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: lib
>    Affects Versions: 2.4.0
>         Environment: >java -version
> java version "1.8.0-ea"
> Java(TM) SE Runtime Environment (build 1.8.0-ea-b109)
> Java HotSpot(TM) 64-Bit Server VM (build 25.0-b51, mixed mode)
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>             Fix For: 2.4.0
>
>         Attachments: 2441.patch
>
>
> While testing with Java 8 I found that 
> org.apache.openjpa.lib.util.concurrent.NullSafeConcurrentHashMap doesn't work 
> on Oracle Java 8 as java.util.ConcurrentHashMap was completely rewritten and 
> it doesn't like playing with our extension. 
> I'm not sure what the correct solution for this JIRA will be, but I wanted to 
> get it documented. I did a small amount of searching and it appears that 
> NullSafeConcurrentHashMap isn't used very much in our code base so it might 
> be easiest to remove those references and deprecate the data structure. That 
> being said, we'll still need to fix this data structure as it is possible 
> that a user of OpenJPA pulled this structure into app code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to