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

JCK lang/LMBD tests fail in Valhalla nestmates repo

XMLWordPrintable

      These four JCK lang tests fail with unexpected IllegalAccessError exceptions when run in the Valhalla nestmates repo:

          lang/LMBD/lmbd174/lmbd17402m2001/lmbd17402m2001_rt
          lang/LMBD/lmbd174/lmbd17402m21111/lmbd17402m21111_rt
          lang/LMBD/lmbd174/lmbd17402m1011/lmbd17402m1011_rt
          lang/LMBD/lmbd174/lmbd17402m31011/lmbd17402m31011_rt

      Typical failure message is:

      failure: unexpectedly method reference evaluation has thrown IllegalAccessError:
      java.lang.reflect.InvocationTargetException
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:567)
              at javasoft.sqe.tests.lang.lmbd174.lmbd17402m1011.lmbd17402m1011.run(lmbd17402m1011.java:35)
                           ...
      Caused by: java.lang.IllegalAccessError: class javasoft.sqe.tests.lang.lmbd174.lmbd17402m1011.MethodInvoker$$Lambda$126\\168 tried to access protected method 'java.lang.String javasoft.sqe.tests.lang.lmbd174.lmbd17402m1011.anotherpkg.MethodSupplierOuter$MethodSupplier.m(java.lang.Object, java.lang.Object, java.lang.Object)' (javasoft.sqe.tests.lang.lmbd174.lmbd17402m1011.MethodInvoker$$Lambda$126\\168 and javasoft.sqe.tests.lang.lmbd174.lmbd17402m1011.anotherpkg.MethodSupplierOuter$MethodSupplier are in unnamed module of loader java.net.URLClassLoader @4ea2e4ff)

            mchung Mandy Chung (Inactive)
            hseigel Harold Seigel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: