Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8009130

JCK lambda test fails with IllegalAccessException

XMLWordPrintable

    • b54
    • Not verified

        package p1;

        interface Sup {
        default void m();
        }

        public interface Sub extends Sup { }

        package p2;

        class Foo implements p1.Sub { }

        Foo foo = new Foo();
        foo.m(); //IllegalAccessError at runtime

              acorn Karen Kinnear (Inactive)
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: