0.0.2.1 does not run with Java 6 #7

Closed
stefanrother opened this Issue Nov 28, 2013 · 1 comment

Projects

None yet

2 participants

@stefanrother

When I try to install the elasticsearch-gorm-plugin 0.0.2.1, I cannot start my Grails 2.2.2 application because I use Java 6.

org.grails.plugins.elasticsearch.index.IndexRequestQueue imports java.util.concurrent.ConcurrentLinkedDeque which was introduced in Java 7 (see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentLinkedDeque.html)

This dependency was added in commit on Sep 9 (a4739af#diff-f5579e1a4103ce2ef0f9ebd9e7e3e402)

@noamt noamt added a commit that referenced this issue Jan 19, 2014
@noamt github issue #7 - Can't run with JDK 6:
Use the ConcurrentLinkedDeque bundled with Elasticsearch to maintain backwards compatibility
1d48fcc
@noamt
Owner
noamt commented Jan 19, 2014

Thanks for this.
I've changed the class to use the ConcurrentLinkedDeque from org.elasticsearch.common.util.concurrent.jsr166y (bundled with the Elasticsearch library).

@noamt noamt closed this Jan 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment