cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Brown (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-9608) Support Java 9
Date Sun, 14 Jan 2018 16:15:05 GMT

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

Jason Brown edited comment on CASSANDRA-9608 at 1/14/18 4:14 PM:
-----------------------------------------------------------------

Launched [~snazy]'s linked branch, and basic c* launched ok. But then I got this error when
doing a naive {{nodetool}} command:

{noformat}
$ bin/nodetool gossipstattus
Error opening zip file or JAR manifest missing : /opt/dev/cassandra/lib/jamm-0.3.2.jar
Error occurred during initialization of VM
agent library failed to init: instrument
{noformat}

I see that there's two jamm jars in the lib directory:

{noformat}
$ ls lib/jamm-0.3.*
lib/jamm-0.3.2.jar  lib/jamm-0.3.3-SNAPSHOT.jar
{noformat}


was (Author: jasobrown):
Launched [~snazy]'s linked branch, and basic c* launched ok. But then I got this error when
doing a naie {{nodetool}} command:

{noformat}
$ bin/nodetool gossipstattus
Error opening zip file or JAR manifest missing : /opt/dev/cassandra/lib/jamm-0.3.2.jar
Error occurred during initialization of VM
agent library failed to init: instrument
{noformat}

I see that there's two jamm jars in the lib directory:

{noformat}
$ ls lib/jamm-0.3.*
lib/jamm-0.3.2.jar  lib/jamm-0.3.3-SNAPSHOT.jar
{noformat}

> Support Java 9
> --------------
>
>                 Key: CASSANDRA-9608
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9608
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>            Priority: Minor
>
> This ticket is intended to group all issues found to support Java 9 in the future.
> From what I've found out so far:
> * Maven dependency {{com.sun:tools:jar:0}} via cobertura cannot be resolved. It can be
easily solved using this patch:
> {code}
> -        <dependency groupId="net.sourceforge.cobertura" artifactId="cobertura"/>
> +        <dependency groupId="net.sourceforge.cobertura" artifactId="cobertura">
> +          <exclusion groupId="com.sun" artifactId="tools"/>
> +        </dependency>
> {code}
> * Another issue is that {{sun.misc.Unsafe}} no longer contains the methods {{monitorEnter}}
+ {{monitorExit}}. These methods are used by {{o.a.c.utils.concurrent.Locks}} which is only
used by {{o.a.c.db.AtomicBTreeColumns}}.
> I don't mind to start working on this yet since Java 9 is in a too early development
phase.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message