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

Dhanji R. Prasanna dhanji at gmail.com
Tue Aug 14 00:26:28 EDT 2007


It's obviously not a version mismatch bug (6 can play 5 bins), but still a
bytecode verification error (some kind of corruption...).
Is there a reason this person can't use the j.u.c packages within the core
SDK (i.e. shipped with java 6)?

Just curious--sorry if it's not a real soln =)

Dhanji.

On 8/14/07, Greg Luck <gluck at gregluck.com> wrote:
>
> 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
>
>
>
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at altair.cs.oswego.edu
> http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20070814/aace50b5/attachment.html 


More information about the Concurrency-interest mailing list