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

api/java_lang/invoke/MethodHandles/Lookup/index.html#ExceptionsTests[findVirtualNSME] fails w/ -esa

XMLWordPrintable

      The following JCK8-b12 testcase:
        api/java_lang/invoke/MethodHandles/Lookup/index.html#ExceptionsTests[findVirtualNSME]
      fails under JDK8-b52 when '-esa' option is specified:
      --- cut ---
      Expected exception java.lang.NoSuchMethodException was not thrown by testcase "findVirtualNSME"
      "java.lang.AssertionError" was thrown instead
      java.lang.AssertionError
      at java.lang.invoke.MemberName.referenceKindIsConsistent(MemberName.java:233)
      at java.lang.invoke.MemberName.setFlags(MemberName.java:312)
      at java.lang.invoke.MemberName.init(MemberName.java:455)
      at java.lang.invoke.MemberName.<init>(MemberName.java:635)
      at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1031)
      at java.lang.invoke.MethodHandles$Lookup.findVirtual(MethodHandles.java:652)
      at javasoft.sqe.tests.api.java.lang.invoke.MethodHandles.Lookup.ExceptionsTests.findVirtualNSME(ExceptionsTests.java:564)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.tck.lib.tgf.Util.invokeMethod(Util.java:352)
      at com.sun.tck.lib.tgf.Runner.invokeTestCase(Runner.java:276)
      at com.sun.tck.lib.tgf.Runner.performRunWithData(Runner.java:246)
      at com.sun.tck.lib.tgf.Runner.getDataAndRun(Runner.java:185)
      at com.sun.tck.lib.tgf.Runner.executeTestMethods(Runner.java:130)
      at com.sun.tck.lib.tgf.Runner.run(Runner.java:116)
      at com.sun.tck.lib.tgf.Runner.execute(Runner.java:108)
      at com.sun.tck.lib.tgf.TGFTest.run(TGFTest.java:58)
      at com.sun.tck.lib.tgf.TGFTest.run(TGFTest.java:64)
      at javasoft.sqe.tests.api.java.lang.invoke.MethodHandles.Lookup.ExceptionsTests.main(ExceptionsTests.java:59)
      Testcase "findVirtualNSME" failed with arguments [class javasoft.sqe.tests.api.java.lang.invoke.MethodHandles.Lookup.TestCls, <init>, ()int]
      --- cut ---

      The failure is not reproducible without '-esa' option.

            Unassigned Unassigned
            ygaevsky Yuri Gaevsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: