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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 19
    • hotspot
    • b09

      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)

            ccheung Calvin Cheung
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: