At 6:16 PM +0200 4/6/10, Lukas Stadler wrote:
>Today I toyed around a little bit with JRuby and coroutines.

Kukas, that's exciting!

Building today with guards="buildable testable" seems to include the coro.patch
  http://gist.github.com/358261

But I'm not able to successfully run CoroutineTest1.java referenced on this 
page:
  http://classparser.blogspot.com/2010/03/coroutines-for-java-status-update.html

You can see the results here: http://gist.github.com/358264

I tried compiling w/o  -Xbootclasspath/p:`pwd`/coroutine_classes.jar

this worked: import java.dyn.Coroutine;

but Java couldn't find the symbol: coYield();

This compiled w/o error:

   javac -Xbootclasspath/p:`pwd`/coroutine_classes.jar CoroutineTest1.java

but running it generated this error:

  Exception in thread "main" java.lang.UnsatisfiedLinkError: 
java.dyn.CoroutineSupport.registerNatives()V
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to