JDK-8065419 : Update java/net tests to eliminate dependency on sun.net.spi.nameservice.NameService ���sun.net.spi.nameservice.NameServiceDescriptor and sun.management.VMManagement
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2014-11-20
  • Updated: 2016-01-06
  • Resolved: 2015-05-12
Related Reports
Relates :  
Description
There are some regression tests depending on sun.net.spi.nameservice.NameService , sun.net.spi.nameservice.NameServiceDescriptor and sun.management.VMManagement, the internal API dependency should be removed: 

test depending on sun.net.spi.nameservice.NameService and sun.net.spi.nameservice.NameServiceDescriptor:
tests/jdk/java/net/Inet4Address/textToNumericFormat.java

tests depending on sun.net.spi.nameservice.NameService , sun.net.spi.nameservice.NameServiceDescriptor and sun.management.VMManagement
tests/jdk/java/net/URLPermission/nstest/lookup.sh