8210819: Update the host name in CNameTest.java
authorfyuan
Tue, 18 Sep 2018 11:09:18 +0800
changeset 51776 925d79f56c05
parent 51775 dfed97156841
child 51777 9c6d5e31618e
8210819: Update the host name in CNameTest.java Reviewed-by: chegar
test/jdk/sun/net/InetAddress/nameservice/dns/CNameTest.java
--- a/test/jdk/sun/net/InetAddress/nameservice/dns/CNameTest.java	Mon Sep 17 19:48:35 2018 -0700
+++ b/test/jdk/sun/net/InetAddress/nameservice/dns/CNameTest.java	Tue Sep 18 11:09:18 2018 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -38,7 +38,7 @@
  * @summary Test DNS provider's handling of CNAME records
  */
 public class CNameTest {
-    private static final String HOST = "www-proxy.us.oracle.com";
+    private static final String HOST = "www.w3c.org";
     private static final String POLICY = "grant {" + System.lineSeparator() +
             " permission java.net .SocketPermission \"${HOST}\", \"resolve\";" +
             System.lineSeparator() + "};";