JDK-8272064 : test/jdk/jdk/jfr/api/consumer/TestHiddenMethod.java needs update for JEP 416
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 18
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-08-06
  • Updated: 2022-01-10
  • Resolved: 2021-12-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 18 JDK 19
18 b29Fixed 19Fixed
Related Reports
Relates :  
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);


Comments
Changeset: 69b5d49e Author: Erik Gahlin <egahlin@openjdk.org> Date: 2021-12-15 13:24:04 +0000 URL: https://git.openjdk.java.net/jdk18/commit/69b5d49e4f3a6b1ea616c39815dd16530eb32887
15-12-2021