JDK-8015621 : Only allow event (type) to be configured once per .jfc file
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 7u40,8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-05-29
  • Updated: 2013-11-27
  • Resolved: 2013-05-31
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 7 JDK 8
7u40 b28Fixed 8Fixed
Description
We should add a parser check so people don't configure the same event twice in the same .jfc file (fail fast).
Comments
Change is verified by running com/oracle/jfr/api/ConfigurationTest/TestIncorrectSettings.java. The test has passed in 256078.JAVASE.NIGHTLY.VM.Main_Baseline_hsx24.2013-07-17.
19-07-2013