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

Shenandoah: Fix JFR test failures

    XMLWordPrintable

    Details

    • Subcomponent:
      jfr
    • Resolved In Build:
      b04
    • CPU:
      generic
    • OS:
      generic

      Description

      With the recent Shenandoah backport to jdk11u, we decided to optionally split metadata.xml so that Shenandoah can provide its own metadata-shenandoah.xml in a separate file. This avoids generating code for Shenandoah when Shenandoah is not present in the build.

      However, the metadata.xml is also read at run-time, but metadata-shenandoah.xml is not present at run-time, nor would it be read with the current implementation of MetadataHandler.java. This makes the test jdk/jfr/tool/TestPrintJSON.java fail.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rkennke Roman Kennke
              Reporter:
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: