langtools/test/tools/javac/meth/InvokeDyn.java
changeset 7330 7c670eebe55c
parent 6592 dc56420a69bc
equal deleted inserted replaced
7329:8a5601394af4 7330:7c670eebe55c
    56         Object ojunk; int ijunk;
    56         Object ojunk; int ijunk;
    57         ojunk = InvokeDynamic.greet(x, "world", 123);
    57         ojunk = InvokeDynamic.greet(x, "world", 123);
    58         ojunk = InvokeDynamic.greet(x, "mundus", 456);
    58         ojunk = InvokeDynamic.greet(x, "mundus", 456);
    59         ojunk = InvokeDynamic.greet(x, "kosmos", 789);
    59         ojunk = InvokeDynamic.greet(x, "kosmos", 789);
    60         ojunk = (String) InvokeDynamic.cogitate(10.11121, 3.14);
    60         ojunk = (String) InvokeDynamic.cogitate(10.11121, 3.14);
    61         InvokeDynamic.#"yow: what I mean to say is, please treat this one specially"(null);
    61         //InvokeDynamic.#"yow: what I mean to say is, please treat this one specially"(null);
    62         ijunk = (int) InvokeDynamic.invoke("goodbye");
    62         ijunk = (int) InvokeDynamic.invoke("goodbye");
    63     }
    63     }
    64 }
    64 }