JDK-8229366 : JFR backport allows unchecked writing to memory
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: openjdk8u-jfr-incubator
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-08-09
  • Updated: 2020-04-27
  • Resolved: 2019-08-28
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.
Other
openjdk8u-jfr-incubator openjdk8u-jfr-incubator
Fixed
Related Reports
Blocks :  
Relates :  
Description
The current backport lacks some of the protections offered by the open sourced version of JFR relying on module boundaries for protection. 

For example, jdk.jfr.internal.EventWriter becomes publicly available and allows you direct memory access.
Comments
Replacing jdk8u-fix-request with link to JDK-8239140
17-02-2020

RFC: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-January/011063.html
30-01-2020

jdk: https://hg.openjdk.java.net/jdk8u/jdk8u-jfr-incubator/jdk/rev/fabbc7898ee8 hotspot: https://hg.openjdk.java.net/jdk8u/jdk8u-jfr-incubator/hotspot/rev/161ab90e3cae
28-08-2019