Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -9,6 +9,8 @@
*/
package org.jruby.truffle.core.queue;

import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary;

import java.util.Collection;
import java.util.Iterator;
import java.util.concurrent.BlockingQueue;
@@ -152,6 +154,7 @@ public Object[] toArray() {
}

@Override
@TruffleBoundary
public Iterator<T> iterator() {
return queue.iterator();
}

0 comments on commit f1169c9

Please sign in to comment.