forked from JavaTX/JavaCompilerCore
modified: ../../test/bytecode/LambdaTest.java
This commit is contained in:
parent
fe99db81b3
commit
448d3e04f8
@ -35,7 +35,7 @@ public class LambdaTest {
|
||||
Method m = classToTest.getDeclaredMethod("m");
|
||||
Class<?> lambda = m.invoke(instanceOfClass).getClass();
|
||||
Method apply = lambda.getMethod("apply", Object.class);
|
||||
Integer result = (Integer) apply.invoke(lambda, new Integer(77)); //laeuft nicht, vermutlich weil Lambda-Ausdruck private
|
||||
Integer result = (Integer) apply.invoke(lambda, new Integer(77)); //laeuft nicht, vermutlich weil Lambda-Ausdrucks Methode "apply" private ist.
|
||||
assertEquals(77, result);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user