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

Incorrect test configurations for compiler/stable/TestStableShort.java

XMLWordPrintable

    • b21

        The four test configurations for compiler/stable/TestStableShort.java are the same.
        ```
        /*
         * @test TestStableShort
         * @summary tests on stable fields and arrays
         * @library /test/lib /
         * @modules java.base/jdk.internal.misc
         * @modules java.base/jdk.internal.vm.annotation
         * @build sun.hotspot.WhiteBox
         *
         * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
         * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
         * -XX:-TieredCompilation
         * -XX:+FoldStableValues
         * compiler.stable.TestStableShort
         * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
         * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
         * -XX:-TieredCompilation
         * -XX:+FoldStableValues
         * compiler.stable.TestStableShort
         *
         * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
         * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
         * -XX:-TieredCompilation
         * -XX:+FoldStableValues
         * compiler.stable.TestStableShort
         * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
         * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
         * -XX:-TieredCompilation
         * -XX:+FoldStableValues
         * compiler.stable.TestStableShort
         */
        ```

        I believe this is a copy-paste mistake.
        Let's fix it.

              jiefu Jie Fu
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: