8010823: DefaultMethodTest.testReflectCall fails with new lambda VM
Fix lambda test Reviewed-by: jjg
This commit is contained in:
parent
f298073f33
commit
08df98aa3c
@ -427,6 +427,8 @@ public class DefaultMethodsTest extends TestHarness {
|
|||||||
*/
|
*/
|
||||||
public void testReflectCall() {
|
public void testReflectCall() {
|
||||||
Interface I = new Interface("I", DefaultMethod.std("99"));
|
Interface I = new Interface("I", DefaultMethod.std("99"));
|
||||||
|
//workaround accessibility issue when loading C with DirectedClassLoader
|
||||||
|
I.addAccessFlag(AccessFlag.PUBLIC);
|
||||||
Class C = new Class("C", I);
|
Class C = new Class("C", I);
|
||||||
|
|
||||||
Compiler.Flags[] flags = this.verbose ?
|
Compiler.Flags[] flags = this.verbose ?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user