Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8185163 [TESTBUG] Many unnecessary @modules dependencies
  3. JDK-8229267

[TESTBUG] Remove unnecessary @modules dependencies in CDS tests

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10

      Description

      Example:

      --- a/test/hotspot/jtreg/runtime/cds/appcds/ExtraSymbols.java Wed Aug 07 14:04:10 2019 -0400
      +++ b/test/hotspot/jtreg/runtime/cds/appcds/ExtraSymbols.java Wed Aug 07 23:01:46 2019 -0700
      @@ -27,9 +27,7 @@
        * @summary Adding extra symbols into CDS archive using -XX:SharedArchiveConfigFile
        * @requires vm.cds
        * @library /test/lib
      - * @modules java.base/jdk.internal.misc
      - * java.management
      - * jdk.jartool/sun.tools.jar
      + * @modules jdk.jartool/sun.tools.jar
        * @compile test-classes/Hello.java
        * @run driver ExtraSymbols
        */

        Attachments

          Activity

            People

            Assignee:
            iklam Ioi Lam
            Reporter:
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: