You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2015/05/20 10:31:00 UTC

[jira] [Commented] (CASSANDRA-9393) Cassandra 2.1.5 fails to build with IBM Java 7

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

Benedict commented on CASSANDRA-9393:
-------------------------------------

It really isn't recommended to use a non-Oracle JDK, due to strong dependency on sun.misc.Unsafe. According to [this discussion|http://osdir.com/ml/akka/2013-09/msg00104.html] this will cause an UnsatisfiedLinkError on J9. It may be possible to include the JDK and get it to work via regular JNI, I'm not sure, but this would be tricky, unsupported, and if it worked probably have serious performance implications.

We also have a dependency on sun.nio.ch.DirectBuffer and com.sun.jna.Native, and these are unlikely to be removed anytime soon.

Introducing support for arbitrary JVMs would be quite onerous. Is it something we want to pursure?

> Cassandra 2.1.5 fails to build with IBM Java 7
> ----------------------------------------------
>
>                 Key: CASSANDRA-9393
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9393
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: RHEL 7, 
> java version "1.7.0"
> Java(TM) SE Runtime Environment
> IBM J9 VM (build 2.7, JRE 1.7.0 Linux s390x-64 Compressed References)
>            Reporter: Karan Dhiman
>            Assignee: Carl Yeksigian
>            Priority: Minor
>         Attachments: build-project.log
>
>
> com.sun.* packages are not available in the IBM JDK.
> The error that is generated claims that com.sun.management.GarbageCollectionNotificationInfo is not available.
> The build log is attached.



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