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

Fastdebug VM throws InternalError when publicLookup.in(T) is used to resolve a member

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: core-libs

      Description

      (provisional synopsis, please change as you see fit)

      After JDK-8173978 was pushed, tier1 tests started to fail:

      $ CONF=linux-x86_64-server-fastdebug make images run-test TEST=java/lang/invoke/AccessControlTest.java

      [TestNG] Running:
        java/lang/invoke/AccessControlTest.java

      loaders = [jdk.internal.loader.ClassLoaders$AppClassLoader@6587524c]
      filled in 99 cases from 9 original cases in 3 rounds
      test test.java.lang.invoke.AccessControlTest.test(): failure
      java.lang.InternalError: test.java.lang.invoke.AccessControlTest
      at java.base/java.lang.invoke.MethodHandleNatives.resolve(Native Method)
      at java.base/java.lang.invoke.MemberName$Factory.resolve(MemberName.java:1078)

      $ CONF=linux-x86_64-server-fastdebug make images run-test TEST=java/lang/invoke/modules/Driver.java

      test p1.Main.testPublicLookupToBaseModule(): failure
      java.lang.InternalError: p1.Type1
      at java.base/java.lang.invoke.MethodHandleNatives.resolve(Native Method)
      at java.base/java.lang.invoke.MemberName$Factory.resolve(MemberName.java:1078)
      at java.base/java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1106)
      at java.base/java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:2750)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mchung Mandy Chung
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: