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

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • None
    • hotspot
    • b10

      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
        */

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: