diff -r f2344724a475 -r 2da4a52715d8 test/jdk/sun/security/krb5/auto/TwoPrinces.java --- a/test/jdk/sun/security/krb5/auto/TwoPrinces.java Thu Jan 25 12:06:00 2018 +0000 +++ b/test/jdk/sun/security/krb5/auto/TwoPrinces.java Thu Jan 25 05:57:22 2018 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 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 @@ -23,10 +23,12 @@ /* * @test - * @bug 6894072 + * @bug 6894072 8194486 + * @summary always refresh keytab + * @library /test/lib * @compile -XDignore.symbol.file TwoPrinces.java - * @run main/othervm TwoPrinces - * @summary always refresh keytab + * @run main jdk.test.lib.FileInstaller TestHosts TestHosts + * @run main/othervm -Djdk.net.hosts.file=TestHosts TwoPrinces */ import java.io.File;