--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/nashorn/test/script/trusted/event_queue.js.EXPECTED Thu Mar 27 11:45:54 2014 +0100
@@ -0,0 +1,38 @@
+[object Debug]
+
+[JavaClass jdk.nashorn.internal.runtime.RuntimeEvent]
+[JavaClass jdk.nashorn.internal.runtime.RewriteException]
+
+4.840000000000001
+13.7
+
+Done with 2 in the event queue
+events = true
+events.length = 2
+event #0
+ event class=class jdk.nashorn.internal.runtime.RuntimeEvent
+ valueClass in event=class jdk.nashorn.internal.runtime.RewriteException
+ class of value=class jdk.nashorn.internal.runtime.RewriteException
+ return type=double
+event #1
+ event class=class jdk.nashorn.internal.runtime.RuntimeEvent
+ valueClass in event=class jdk.nashorn.internal.runtime.RewriteException
+ class of value=class jdk.nashorn.internal.runtime.RewriteException
+ return type=double
+
+in loop last class = class jdk.nashorn.internal.runtime.RuntimeEvent
+in loop last value class = class jdk.nashorn.internal.runtime.RewriteException
+in loop rex class = class jdk.nashorn.internal.runtime.RewriteException
+in loop rex return type = double
+
+true
+
+last class = class jdk.nashorn.internal.runtime.RuntimeEvent
+last value class = class jdk.nashorn.internal.runtime.RewriteException
+rex class = class jdk.nashorn.internal.runtime.RewriteException
+rex return type = object
+
+1024
+2048
+
+0