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

test/jdk/jdk/jfr/api/consumer/TestHiddenMethod.java needs update for JEP 416

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      jfr
    • Resolved In Build:
      b29

      Backports

        Description

        JEP 416 reimplements the core reflection with method handles. Hidden frames now are present when executing the platform code.

        test/jdk/jdk/jfr/api/consumer/TestHiddenMethod.java has a test case to validate no hidden frame in a visible event (as the old implementation has no hidden frame on the stack). That test case needs to be revised.

         81 assertFalse(hasHiddenStackFrame(visibleEvent), "Hidden frame in visible event: " + visibleEvent);

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                egahlin Erik Gahlin
                Reporter:
                mchung Mandy Chung
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: