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

Incorrect test configurations for compiler/stable/TestStableShort.java

    XMLWordPrintable

Details

    • b21

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: