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

jlink should take VM capabilities into account when selecting modules

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • None
    • tools
    • None

      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

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

              Created:
              Updated: