changeset 1908:4161bfd68145

8010823: DefaultMethodTest.testReflectCall fails with new lambda VM Previous push was missing part of the fix.
author mcimadamore
date Tue, 26 Mar 2013 15:06:13 +0000
parents b6f403a0f73f
children edd5b0c398f6
files test/tools/javac/lambdaShapes/org/openjdk/tests/vm/DefaultMethodsTest.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/javac/lambdaShapes/org/openjdk/tests/vm/DefaultMethodsTest.java	Tue Mar 26 14:25:54 2013 +0000
+++ b/test/tools/javac/lambdaShapes/org/openjdk/tests/vm/DefaultMethodsTest.java	Tue Mar 26 15:06:13 2013 +0000
@@ -428,6 +428,7 @@
     public void testReflectCall() {
         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);
 
         Compiler.Flags[] flags = this.verbose ?