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

Tests under dynamicArchive/methodHandles should check for loading of lambda proxy classes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 19
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      The tests under dynamicArchive/methodHandles are for testing of loading of lambda proxy classes. Currently, if no lambda proxy classes are loaded, the tests still pass. This was found during the fix for JDK-8286460.

      If the test is run correctly, output like the following should appear in the runtime log if -Xlog:class+load is enable when running the test:

      [0.808s][info ][class,load] test.java.lang.invoke.MethodHandlesGeneralTest$$Lambda$93/0x0000000801544220 source: shared objects file (top)

        Attachments

          Activity

            People

            Assignee:
            ccheung Calvin Cheung
            Reporter:
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: