From 6792c8bb2327c983fa1250432a3f4890958bf22d Mon Sep 17 00:00:00 2001 From: Sergei Kovalev Date: Wed, 1 Feb 2017 16:31:38 +0300 Subject: [PATCH] 8173475: java/net/HttpURLConnection/SetAuthenticator tests have undeclared dependency on java.logging module Reviewed-by: dfuchs --- .../SetAuthenticator/HTTPSetAuthenticatorTest.java | 7 ++++--- .../net/HttpURLConnection/SetAuthenticator/HTTPTest.java | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java b/jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java index 543ebc5e821..f2f0f38d8c4 100644 --- a/jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java +++ b/jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 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 @@ -32,11 +32,12 @@ import java.util.Arrays; import java.util.stream.Collectors; import java.util.stream.Stream; -/** +/* * @test * @bug 8169415 * @library /lib/testlibrary/ - * @modules java.base/sun.net.www + * @modules java.logging + * java.base/sun.net.www * java.base/sun.net.www.protocol.http * jdk.httpserver/sun.net.httpserver * @build jdk.testlibrary.SimpleSSLContext HTTPTest HTTPTestServer HTTPTestClient HTTPSetAuthenticatorTest diff --git a/jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPTest.java b/jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPTest.java index 87e9a4b407f..ba7d729dc27 100644 --- a/jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPTest.java +++ b/jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 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 @@ -43,11 +43,12 @@ import javax.net.ssl.SSLContext; import javax.net.ssl.SSLSession; import jdk.testlibrary.SimpleSSLContext; -/** +/* * @test * @bug 8169415 * @library /lib/testlibrary/ - * @modules java.base/sun.net.www + * @modules java.logging + * java.base/sun.net.www * jdk.httpserver/sun.net.httpserver * @build jdk.testlibrary.SimpleSSLContext HTTPTest HTTPTestServer HTTPTestClient * @summary A simple HTTP test that starts an echo server supporting Digest