gok03 / rosjava

Automatically exported from code.google.com/p/rosjava
0 stars 0 forks source link

CircularBlockingDeque cannot find symbol #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow instructions at 
http://docs.rosjava.googlecode.com/hg/rosjava_core/html/building.html
2. ...
3. Fail ./gradlew

rosjava_core/rosjava/src/main/java/org/ros/internal/transport/queue/OutgoingMess
ageQueue.java:82: cannot find symbol
symbol  : class CircularBlockingDeque
location: class org.ros.internal.transport.queue.OutgoingMessageQueue<T>
    deque = new CircularBlockingDeque<T>(DEQUE_CAPACITY);
                ^
14 errors

FAILURE: Build failed with an exception.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

ROS Fuerte

Please provide any additional information below.

Original issue reported on code.google.com by IHeartRo...@gmail.com on 28 Jul 2012 at 7:08

GoogleCodeExporter commented 9 years ago
Broken in Changset 1082, though that is pretty obvious from the commit log 
itself.

Original comment by piyu...@gmail.com on 29 Jul 2012 at 1:04

GoogleCodeExporter commented 9 years ago
I encounter this problem too , beg for solution...

Original comment by mm.w...@gmail.com on 29 Jul 2012 at 8:12

GoogleCodeExporter commented 9 years ago
I find the solution , just put the file (see attachment) in 
/rosjava_core/rosjava/src/main/java/org/ros/concurrent.

Original comment by mm.w...@gmail.com on 29 Jul 2012 at 9:21

Attachments:

GoogleCodeExporter commented 9 years ago
I believe that this is a more likely implementation of CircularBlockingDeque:

 - peekFirst returns null if there isn't anything in the queue, which is something that FrameTransformTree seems to expect
 - addFirst moves the start "backwards" one so that it continues to satisfy the structure invariant

Original comment by jamu...@gmail.com on 31 Jul 2012 at 3:24

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by damonkoh...@google.com on 31 Jul 2012 at 9:11