8010823: DefaultMethodTest.testReflectCall fails with new lambda VM

Fix lambda test

Reviewed-by: jjg
This commit is contained in:
Maurizio Cimadamore 2013-04-08 15:52:05 +01:00
parent f298073f33
commit 08df98aa3c

View File

@ -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 ?