8176213: 78 sun/security/krb5/auto tests failing due to undeclared dependecies
Reviewed-by: weijun
--- a/jdk/test/ProblemList.txt Mon Mar 06 18:54:53 2017 -0800
+++ b/jdk/test/ProblemList.txt Tue Mar 07 16:02:20 2017 +0300
@@ -219,6 +219,8 @@
sun/security/mscapi/SignedObjectChain.java 8176183 windows-all
+sun/security/krb5/auto/Basic.java 8176296 generic-all
+
############################################################################
# jdk_sound
--- a/jdk/test/sun/security/krb5/auto/HttpNegotiateServer.java Mon Mar 06 18:54:53 2017 -0800
+++ b/jdk/test/sun/security/krb5/auto/HttpNegotiateServer.java Tue Mar 07 16:02:20 2017 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2017, 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
@@ -24,6 +24,15 @@
/*
* @test
* @bug 6578647 6829283 8171340
+ * @modules java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5.internal:+open
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5:+open
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
+ * jdk.security.auth
+ * jdk.security.jgss
+ * jdk.httpserver
* @run main/othervm HttpNegotiateServer
* @summary Undefined requesting URL in java.net.Authenticator
* .getPasswordAuthentication()
--- a/jdk/test/sun/security/krb5/auto/Renew.java Mon Mar 06 18:54:53 2017 -0800
+++ b/jdk/test/sun/security/krb5/auto/Renew.java Tue Mar 07 16:02:20 2017 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, 2016 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2017 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
@@ -26,12 +26,6 @@
* @bug 8058290
* @summary JAAS Krb5LoginModule has suspect ticket-renewal logic,
* relies on clockskew grace
- * @modules java.base/sun.security.util
- * java.security.jgss/sun.security.krb5:+open
- * java.security.jgss/sun.security.krb5.internal:+open
- * java.security.jgss/sun.security.krb5.internal.ccache
- * java.security.jgss/sun.security.krb5.internal.crypto
- * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file Renew.java
* @run main/othervm Renew 1
* @run main/othervm Renew 2
--- a/jdk/test/sun/security/krb5/auto/TEST.properties Mon Mar 06 18:54:53 2017 -0800
+++ b/jdk/test/sun/security/krb5/auto/TEST.properties Tue Mar 07 16:02:20 2017 +0300
@@ -6,4 +6,6 @@
java.security.jgss/sun.security.krb5.internal.ccache \
java.security.jgss/sun.security.krb5.internal.rcache \
java.security.jgss/sun.security.krb5.internal.crypto \
- java.security.jgss/sun.security.krb5.internal.ktab
+ java.security.jgss/sun.security.krb5.internal.ktab \
+ jdk.security.auth \
+ jdk.security.jgss