[lworld] JFR: Update tests for --enable-preview flag

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: hotspot
    • None
    • jfr
    • Fix Understood
    • generic
    • generic

      ProcessTools.createLimitedTestJavaProcessBuilder() is used in a few JFR tests. The limited version does not propagate the --enable-preview flag to the process spawned.

      For this to work correctly, for some tests, ProcessTools.createTestJavaProcessBuilder(), must be used instead.

            Assignee:
            Markus Grönlund
            Reporter:
            Markus Grönlund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: