Coroutines in Java?
I'd like to be able to use coroutines in Java (http://en.wikipedia.org/wiki/Coroutine), but as far as I can tell Java does not currently support this.
I've come across a few projects that will provide coroutine-like abilities by modifying your byte code, but I'm afraid that this would not be very portable.
Is there any way to implement coroutines in Java? Is this a feature which may be added to a future Java release?