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

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



      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)

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

              Created:
              Updated:
              Resolved: