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

TESTBUG: java/lang/invoke/AccessControlTest.java should be modified to run with JTREG 4.1 b13

    Details

    • Subcomponent:
    • Resolved In Build:
      b02
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Testsuite: Regression
        Test name: java/lang/invoke/AccessControlTest.java
        JDK tested: JDK 8u82 nightly
        OS tested: All

        Test bug.

        Test should be modified to run with new JTREG 4.1 b13.
        Wrong JTREG tags used.


          Issue Links

            Activity

            Hide
            kshefov Konstantin Shefov added a comment -
            JDK 9 is not affected.
            Show
            kshefov Konstantin Shefov added a comment - JDK 9 is not affected.
            Hide
            kshefov Konstantin Shefov added a comment -
            Suggested fix is to backport the test from JDK 9: JTREG tags should be replaced by the following ones:

            /* @test
             * @summary test access checking by java.lang.invoke.MethodHandles.Lookup
             * @compile AccessControlTest.java AccessControlTest_subpkg/Acquaintance_remote.java
             * @run testng/othervm test.java.lang.invoke.AccessControlTest
             */

            instead of:

            /* @test
             * @summary test access checking by java.lang.invoke.MethodHandles.Lookup
             * @library ../../../..
             * @build test.java.lang.invoke.AccessControlTest
             * @build test.java.lang.invoke.AccessControlTest_subpkg.Acquaintance_remote
             * @run testng/othervm test.java.lang.invoke.AccessControlTest
             */
            Show
            kshefov Konstantin Shefov added a comment - Suggested fix is to backport the test from JDK 9: JTREG tags should be replaced by the following ones: /* @test  * @summary test access checking by java.lang.invoke.MethodHandles.Lookup  * @compile AccessControlTest.java AccessControlTest_subpkg/Acquaintance_remote.java  * @run testng/othervm test.java.lang.invoke.AccessControlTest  */ instead of: /* @test  * @summary test access checking by java.lang.invoke.MethodHandles.Lookup  * @library ../../../..  * @build test.java.lang.invoke.AccessControlTest  * @build test.java.lang.invoke.AccessControlTest_subpkg.Acquaintance_remote  * @run testng/othervm test.java.lang.invoke.AccessControlTest  */
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/8ed982481938
            User: coffeys
            Date: 2016-03-17 09:16:35 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/8ed982481938 User: coffeys Date: 2016-03-17 09:16:35 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/8ed982481938
            User: robm
            Date: 2016-03-30 01:34:46 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/8ed982481938 User: robm Date: 2016-03-30 01:34:46 +0000

              People

              • Assignee:
                xiaofeya Felix Yang
                Reporter:
                kshefov Konstantin Shefov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: