changeset 43497:1a2262d4395c

8173475: java/net/HttpURLConnection/SetAuthenticator tests have undeclared dependency on java.logging module Reviewed-by: dfuchs
author skovalev
date Wed, 01 Feb 2017 16:31:38 +0300
parents fbafb9f36e96
children fd3e0590219e
files jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPTest.java
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java	Wed Feb 01 18:18:59 2017 +0530
+++ b/jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java	Wed Feb 01 16:31:38 2017 +0300
@@ -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.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
--- a/jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPTest.java	Wed Feb 01 18:18:59 2017 +0530
+++ b/jdk/test/java/net/HttpURLConnection/SetAuthenticator/HTTPTest.java	Wed Feb 01 16:31:38 2017 +0300
@@ -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.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