Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-6544

Parsing Java internal version of Zulu JVM breaks FlightRecordingSupportRule

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 7.1.0
    • 7.1.0
    • Mission Control Core
    • None
    • JMC 7.1 Sprint 4

    Description

      The FlightRecordingSupportRule does not work with JFR files from Zulu JVM. The regex parsing the Java internal version (RulesToolkit.getJavaVersion()) can't parse the one from Zulu JVM.

      NB: the Java internal version can be obtain with java -Xinternalversion.

       

      Here are a list of some Java internal version each major version of Java for the Zulu JVM:

      • Java 12: OpenJDK 64-Bit Server VM (12.0.2+3) for linux-amd64 JRE (Zulu12.3+11-CA) (12.0.2+3), built on Jul 11 2019 18:01:29 by "zulu_re" with gcc 7.3.1 20180303 (Red Hat 7.3.1-5)
      • Java 11: OpenJDK 64-Bit Server VM (11.0.4+11-LTS) for linux-amd64 JRE (Zulu11.33+15-CA) (11.0.4+11-LTS), built on Jul 11 2019 21:37:17 by "zulu_re" with gcc 4.9.2 20150212 (Red Hat 4.9.2-6)
      • Java 10: OpenJDK 64-Bit Server VM (10.0.2+13) for linux-amd64 JRE (10.0.2+13), built on Jul 23 2018 23:40:21 by "tester" with gcc 4.9.2 20150212 (Red Hat 4.9.2-6)
      • Java 8: OpenJDK 64-Bit Server VM (25.222-b10) for linux-amd64 JRE (Zulu 8.40.0.25-CA-linux64) (1.8.0_222-b10), built on Jul 11 2019 11:36:39 by "zulu_re" with gcc 4.4.7 20120313 (Red Hat 4.4.7-3)
      • Java 7: OpenJDK 64-Bit Server VM (24.232-b6) for linux-amd64 JRE (Zulu 7.31.0.5-CA-linux64) (1.7.0_232-b6), built on Jul 10 2019 14:03:06 by "zulu_re" with gcc 4.4.7 20120313 (Red Hat 4.4.7-3)

       

       

       

      Attachments

        Activity

          People

            fdavid Florian David
            fdavid Florian David
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: