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

jlink should take VM capabilities into account when selecting modules

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd_major
    • Component/s: tools
    • Labels:
      None

      Description

      Currently jtreg gather information about existing modules in target jdk and use it to filter values of "modules" tag. A minimal vm is a "special" case, which is currently not handled in jtreg. A minimal vm is compatible with java.compact2 modules set only even in case all modules are present in image and jdk reports all modules to be present. A java classes are still present and available for minimal vm, but most(not all) of this api won't work throwing different exceptions. In order to be able to filter and run tests on minimal vm, a minimal vm case should be recognized by jtreg and respective modules set should be taken into account to filter incompatible tests via "modules" tag

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sundar Sundararajan Athijegannathan
                Reporter:
                dpochepk Dmitrij Pochepko
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: