[ https://issues.apache.org/jira/browse/CASSANDRA-8209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Shuler updated CASSANDRA-8209: -------------------------------------- Summary: Cassandra crashes when running on OpenJDK8 update 40 (was: Cassandra crashes when running on JDK8 update 40) > Cassandra crashes when running on OpenJDK8 update 40 > ---------------------------------------------------- > > Key: CASSANDRA-8209 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8209 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Jaroslav Kamenik > > It seems that problem is change made in update 40 - > https://bugs.openjdk.java.net/browse/JDK-6642881 > result is: > java.lang.SecurityException: Cannot make java.lang.Class.classLoader > accessible > at > java.lang.reflect.AccessibleObject.setAccessible0(AccessibleObject.java:147) > ~[na:1.8.0_40-ea] > at > java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:129) > ~[na:1.8.0_40-ea] > at org.github.jamm.MemoryMeter.addFieldChildren(MemoryMeter.java:204) > ~[jamm-0.2.6.jar:na] > at org.github.jamm.MemoryMeter.measureDeep(MemoryMeter.java:158) > ~[jamm-0.2.6.jar:na] > at > org.apache.cassandra.cql3.statements.SelectStatement.measureForPreparedCache(SelectStatement.java:166) > ~[apache-cassandra-2.1.1.jar:2.1.1] > at > org.apache.cassandra.cql3.QueryProcessor.measure(QueryProcessor.java:546) > ~[apache-cassandra-2.1.1.jar:2.1.1] > at > org.apache.cassandra.cql3.QueryProcessor.storePreparedStatement(QueryProcessor.java:441) > ~[apache-cassandra-2.1.1.jar:2.1.1] > at > org.apache.cassandra.cql3.QueryProcessor.prepare(QueryProcessor.java:404) > ~[apache-cassandra-2.1.1.jar:2.1.1] > at > org.apache.cassandra.cql3.QueryProcessor.prepare(QueryProcessor.java:388) > ~[apache-cassandra-2.1.1.jar:2.1.1] > at > org.apache.cassandra.transport.messages.PrepareMessage.execute(PrepareMessage.java:77) > ~[apache-cassandra-2.1.1.jar:2.1.1] > at > org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:439) > [apache-cassandra-2.1.1.jar:2.1.1] > at > org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:335) > [apache-cassandra-2.1.1.jar:2.1.1] > at > io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) > [netty-all-4.0.23.Final.jar:4.0.23.Final] > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) > [netty-all-4.0.23.Final.jar:4.0.23.Final] > at > io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:32) > [netty-all-4.0.23.Final.jar:4.0.23.Final] > at > io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:324) > [netty-all-4.0.23.Final.jar:4.0.23.Final] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > [na:1.8.0_40-ea] > at > org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:164) > [apache-cassandra-2.1.1.jar:2.1.1] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [apache-cassandra-2.1.1.jar:2.1.1] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40-ea] -- This message was sent by Atlassian JIRA (v6.3.4#6332)