From 6ffb19d59289fcdd0f19190dea9bba0b728fc1c6 Mon Sep 17 00:00:00 2001 From: John Jiang Date: Thu, 26 May 2016 15:47:39 -0700 Subject: [PATCH] 8157783: Fix module dependencies for /jdk/* tests Module declarations for the tests in /jdk/* Reviewed-by: chegar --- jdk/test/jdk/net/SocketFlow/SocketFlowBasic.java | 1 + jdk/test/jdk/net/Sockets/SupportedOptions.java | 3 ++- jdk/test/jdk/nio/zipfs/MultiReleaseJarTest.java | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/jdk/test/jdk/net/SocketFlow/SocketFlowBasic.java b/jdk/test/jdk/net/SocketFlow/SocketFlowBasic.java index ca02ad931d6..f882e88e30a 100644 --- a/jdk/test/jdk/net/SocketFlow/SocketFlowBasic.java +++ b/jdk/test/jdk/net/SocketFlow/SocketFlowBasic.java @@ -25,6 +25,7 @@ * @test * @bug 8765432 * @summary Basic test for SocketFlow API + * @modules jdk.net * @run testng SocketFlowBasic */ diff --git a/jdk/test/jdk/net/Sockets/SupportedOptions.java b/jdk/test/jdk/net/Sockets/SupportedOptions.java index 0ef21204629..caf4d025d67 100644 --- a/jdk/test/jdk/net/Sockets/SupportedOptions.java +++ b/jdk/test/jdk/net/Sockets/SupportedOptions.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2016, 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,7 @@ /* * @test * @bug 8062744 + * @modules jdk.net * @run main SupportedOptions */ diff --git a/jdk/test/jdk/nio/zipfs/MultiReleaseJarTest.java b/jdk/test/jdk/nio/zipfs/MultiReleaseJarTest.java index d73c4b1f111..6e483c6e21a 100644 --- a/jdk/test/jdk/nio/zipfs/MultiReleaseJarTest.java +++ b/jdk/test/jdk/nio/zipfs/MultiReleaseJarTest.java @@ -28,7 +28,9 @@ * @library /lib/testlibrary/java/util/jar * @build Compiler JarBuilder CreateMultiReleaseTestJars * @run testng MultiReleaseJarTest - * @modules jdk.zipfs + * @modules java.compiler + * jdk.jartool + * jdk.zipfs */ import java.io.IOException;