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

Replace reflective code to access API from Java below 11

XMLWordPrintable

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

      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

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

              Created:
              Updated: