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

java/net/spi/InetAddressResolverProvider/RuntimePermissionTest.java fails with java.lang.AssertionError: Expected ServiceConfigurationError to be thrown, but nothing was thrown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 21
    • core-libs
    • x86_64
    • os_x

    Description



      The following provider will be used by current test:impl.SimpleResolverProviderImpl
      test RuntimePermissionTest.noRuntimePermission(): failure
      java.lang.AssertionError: Expected ServiceConfigurationError to be thrown, but nothing was thrown
      at org.testng.Assert.expectThrows(Assert.java:1730)
      at RuntimePermissionTest.testRuntimePermission(RuntimePermissionTest.java:64)
      at RuntimePermissionTest.noRuntimePermission(RuntimePermissionTest.java:51)

      Attachments

        Issue Links

          Activity

            People

              msheppar Mark Sheppard
              msheppar Mark Sheppard
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: