OpenJDK / loom / loom
changeset 51815:925d79f56c05
8210819: Update the host name in CNameTest.java
Reviewed-by: chegar
author | fyuan |
---|---|
date | Tue, 18 Sep 2018 11:09:18 +0800 |
parents | dfed97156841 |
children | 9c6d5e31618e |
files | test/jdk/sun/net/InetAddress/nameservice/dns/CNameTest.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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() + "};";