incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Schildmeijer <rog...@mashmobile.com>
Subject RE: compiling error in GCInpector.java, cassandra 0.6
Date Fri, 16 Apr 2010 13:26:58 GMT
Right click on your project (alt-enter), pick properties. Expand "Java Compiler" -> "Errors/Warnings"
and find "Forbidden reference (access rules):" under section "Deprecated and restricted API".
Current value is probably "Error", edit that and choose an appropriate level

/Roger Schildmeijer

-----Original Message-----
From: Liangzhao Zeng [mailto:liangzhao.zeng@gmail.com] 
Sent: den 16 april 2010 15:14
To: CASSANDRA-DEVELOPER
Subject: compiling error in GCInpector.java, cassandra 0.6

Hi,

I am using OS X 10.6.3 and Eclipse to compile the cassandra 0.6 code.
Everything is fine but GCInpector.java and it says:

Description    Resource    Path    Location    Type
Access restriction: The method getDuration() from the type GcInfo is not
accessible due to restriction on required library
/System/Library/Frameworks/
JavaVM.framework/Versions/1.6.0/Classes/classes.jar    GCInspector.java
/cassandra-0.6/src/java/org/apache/cassandra/service    line 108    Java
Problem


Any idea?

Liangzhao

Mime
View raw message