[concurrency-interest] Java 6 support in backport-concurrent

Greg Luck gluck at gregluck.com
Mon Aug 13 23:09:19 EDT 2007


Guys

I have an issue reported where someone is trying to use ehcache with  
Java 6 and backport-concurrent is throwing a VerifyError.

I checked the doco and there is no mention of Java 6 support. Is it  
coming?

This is the result of using a clustered config, Java 6 and backport for
Java 5:

Caused by: java.lang.VerifyError: class
edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicInteger
overrides final method lazySet.(I)V
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at
edu.emory.mathcs.backport.java.util.concurrent.Executors 
$DefaultThreadFacto
ry.<clinit>(Executors.java:528)
at
edu.emory.mathcs.backport.java.util.concurrent.Executors.defaultThreadFa 
cto
ry(Executors.java:288)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.<init> 
(Th
readPoolExecutor.java:1042)
at
edu.emory.mathcs.backport.java.util.concurrent.Executors.newCachedThread 
Poo
l(Executors.java:150)
at
net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init 
(Multic
astKeepaliveHeartbeatReceiver.java:81)
at
net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init 
(Multi
castRMICacheManagerPeerProvider.java:89)
at net.sf.ehcache.CacheManager.init(CacheManager.java:221)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:179)

Regards

Greg Luck

web: http://gregluck.com
skype: gregrluck
yahoo: gregrluck
mobile: +61 408 061 622





More information about the Concurrency-interest mailing list