nashorn/test/script/trusted/event_queue.js
changeset 24742 a9afb384e654
parent 24731 ab0c8fc915ae
child 24769 de4dcfa9380f
equal deleted inserted replaced
24741:4232289c3235 24742:a9afb384e654
    33 
    33 
    34 print(Debug);
    34 print(Debug);
    35 print();
    35 print();
    36 
    36 
    37 var forName       = java.lang.Class["forName(String)"];
    37 var forName       = java.lang.Class["forName(String)"];
    38 var RuntimeEvent  = forName("jdk.nashorn.internal.runtime.RuntimeEvent").static;
    38 var RuntimeEvent  = forName("jdk.nashorn.internal.runtime.events.RuntimeEvent").static;
    39 var getValue      = RuntimeEvent.class.getMethod("getValue"); 
    39 var getValue      = RuntimeEvent.class.getMethod("getValue"); 
    40 var getValueClass = RuntimeEvent.class.getMethod("getValueClass"); 
    40 var getValueClass = RuntimeEvent.class.getMethod("getValueClass"); 
    41 
    41 
    42 print(RuntimeEvent);
    42 print(RuntimeEvent);
    43 
    43