Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903789

Replace reflective code to access API from Java below 11

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • None
    • None
    • tools
    • None

    Description

      Since jtreg 7.x requires Java 11 to we should replacereflective code to access API from Java 11 and former releases.

      For example: `pidMethod = Process.class.getDeclaredMethod("pid"); // only available in Java 9+` as discussed in https://github.com/openjdk/jtreg/pull/215#pullrequestreview-2241473245

      Attachments

        Activity

          People

            Unassigned Unassigned
            cstein Christian Stein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: