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

Tests use deprecated TestNG API that is no longer available in new versions

    XMLWordPrintable

Details

    Backports

      Description

        The TestNG annotation @ExpectedExceptions is no longer available in TestNG 7.*

        It is used in the following tests:

        grep -r '@ExpectedExceptions' open/test
        open/test/jdk/java/lang/invoke/DropArgumentsTest.java: @ExpectedExceptions(NullPointerException.class)
        open/test/jdk/java/lang/invoke/DropArgumentsTest.java: @ExpectedExceptions(IllegalArgumentException.class)
        open/test/jdk/java/lang/invoke/DropArgumentsTest.java: @ExpectedExceptions(IllegalArgumentException.class)
        open/test/jdk/java/lang/invoke/ConstantIdentityMHTest.java: @ExpectedExceptions(NullPointerException.class)
        open/test/jdk/java/lang/invoke/ConstantIdentityMHTest.java: @ExpectedExceptions(NullPointerException.class)
        open/test/jdk/java/lang/invoke/VarArgsTest.java: @ExpectedExceptions(IllegalArgumentException.class)

        Attachments

          Issue Links

            Activity

              People

                mchung Mandy Chung
                jjg Jonathan Gibbons
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: