equal
deleted
inserted
replaced
45 package meth; |
45 package meth; |
46 |
46 |
47 import java.dyn.InvokeDynamic; |
47 import java.dyn.InvokeDynamic; |
48 |
48 |
49 public class InvokeDyn { |
49 public class InvokeDyn { |
50 void test() { |
50 void test() throws Throwable { |
51 Object x = "hello"; |
51 Object x = "hello"; |
52 InvokeDynamic.greet(x, "world", 123); |
52 InvokeDynamic.greet(x, "world", 123); |
53 InvokeDynamic.greet(x, "mundus", 456); |
53 InvokeDynamic.greet(x, "mundus", 456); |
54 InvokeDynamic.greet(x, "kosmos", 789); |
54 InvokeDynamic.greet(x, "kosmos", 789); |
55 InvokeDynamic.<String>cogitate(10.11121, 3.14); |
55 InvokeDynamic.<String>cogitate(10.11121, 3.14); |