8151913: Fix module dependencies in java/net tests
Module dependency declaration for java/net/* tests Reviewed-by: alanb
This commit is contained in:
parent
0530bceffc
commit
c5b3a7c036
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 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 4769350 8017779
|
||||
* @modules jdk.httpserver
|
||||
* @run main/othervm B4769350 server
|
||||
* @run main/othervm B4769350 proxy
|
||||
* @summary proxy authentication username and password caching only works in serial case
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2010, 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 6648001
|
||||
* @modules jdk.httpserver
|
||||
* @run main/othervm/timeout=20 -ea:sun.net.www.protocol.http.AuthenticationInfo -Dhttp.auth.serializeRequests=true Deadlock
|
||||
* @summary cancelling HTTP authentication causes deadlock
|
||||
*/
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 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 8015799
|
||||
* @modules jdk.httpserver
|
||||
* @summary HttpURLConnection.getHeaderFields() throws IllegalArgumentException
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 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
|
||||
@ -33,6 +33,7 @@ import java.util.concurrent.Executors;
|
||||
/*
|
||||
* @test
|
||||
* @bug 7169142
|
||||
* @modules jdk.httpserver
|
||||
* @summary CookieHandler does not work with localhost
|
||||
* @run main/othervm LocalHostCookie
|
||||
*/
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 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
|
||||
@ -23,6 +23,7 @@
|
||||
|
||||
/* @test
|
||||
* @bug 7183292
|
||||
* @modules jdk.httpserver
|
||||
*/
|
||||
import java.net.*;
|
||||
import java.util.*;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 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
|
||||
* @summary Fixed a potential NullPointerException when setting a ResponseCache that returns a null CacheRequest
|
||||
* @bug 4837267
|
||||
* @modules jdk.httpserver
|
||||
* @author Michael McMahon
|
||||
*/
|
||||
|
||||
|
@ -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
|
||||
@ -25,6 +25,7 @@
|
||||
* @test
|
||||
* @bug 8042622
|
||||
* @summary Check for CRL results in IllegalArgumentException "white space not allowed"
|
||||
* @modules jdk.httpserver
|
||||
* @run main/othervm Test2
|
||||
*/
|
||||
|
||||
|
@ -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
|
||||
@ -26,6 +26,7 @@
|
||||
* @test
|
||||
* @bug 8048052
|
||||
* @summary Test a series of methods which requires "setFactory" runtime permission
|
||||
* @modules java.rmi
|
||||
* @run main SetFactoryPermission success
|
||||
* @run main/othervm/policy=policy.fail SetFactoryPermission fail
|
||||
* @run main/othervm/policy=policy.success SetFactoryPermission success
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 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
|
||||
@ -23,6 +23,7 @@
|
||||
|
||||
/* @test
|
||||
* @bug 7100957
|
||||
* @modules jdk.httpserver
|
||||
* @summary Java doesn't correctly handle the SOCKS protocol when used over IPv6.
|
||||
* @run testng SocksIPv6Test
|
||||
*/
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 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 4151665
|
||||
* @modules jdk.httpserver
|
||||
* @summary Test for FileNotFoundException when loading bogus class
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2009, 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 4167874
|
||||
* @modules jdk.httpserver
|
||||
* @library ../../../../com/sun/net/httpserver
|
||||
* @library /lib/testlibrary
|
||||
* @build FileServerHandler jdk.testlibrary.FileUtils
|
||||
|
@ -27,6 +27,7 @@ import java.net.URLPermission;
|
||||
*
|
||||
* @test
|
||||
* @bug 8010464
|
||||
* @modules jdk.httpserver
|
||||
* @key intermittent
|
||||
* @library /lib/testlibrary/
|
||||
* @build jdk.testlibrary.SimpleSSLContext
|
||||
|
@ -24,6 +24,8 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8087112
|
||||
* @modules java.httpclient
|
||||
* jdk.httpserver
|
||||
* @library /lib/testlibrary/
|
||||
* @build jdk.testlibrary.SimpleSSLContext ProxyServer
|
||||
* @build TestKit
|
||||
|
@ -25,6 +25,8 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8087112
|
||||
* @modules java.httpclient
|
||||
* jdk.httpserver
|
||||
* @run main/othervm BasicAuthTest
|
||||
* @summary Basic Authentication Test
|
||||
*/
|
||||
|
@ -25,6 +25,8 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8087112
|
||||
* @modules java.httpclient
|
||||
* jdk.httpserver
|
||||
* @run main/othervm ImmutableHeaders
|
||||
* @summary ImmutableHeaders
|
||||
*/
|
||||
|
@ -24,6 +24,8 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8087112
|
||||
* @modules java.httpclient
|
||||
* jdk.httpserver
|
||||
* @library /lib/testlibrary/ /
|
||||
* @build jdk.testlibrary.SimpleSSLContext EchoHandler
|
||||
* @compile ../../../com/sun/net/httpserver/LogFilter.java
|
||||
|
@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* @test @bug 8087112
|
||||
* @modules java.httpclient
|
||||
* jdk.httpserver
|
||||
* @library /lib/testlibrary/ /
|
||||
* @compile ../../../com/sun/net/httpserver/LogFilter.java
|
||||
* @compile ../../../com/sun/net/httpserver/FileServerHandler.java
|
||||
|
@ -24,6 +24,8 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8087112
|
||||
* @modules java.httpclient
|
||||
* jdk.httpserver
|
||||
* @library /lib/testlibrary/ /
|
||||
* @build jdk.testlibrary.SimpleSSLContext ProxyServer EchoHandler
|
||||
* @compile ../../../com/sun/net/httpserver/LogFilter.java
|
||||
|
1
jdk/test/java/net/httpclient/TEST.properties
Normal file
1
jdk/test/java/net/httpclient/TEST.properties
Normal file
@ -0,0 +1 @@
|
||||
modules = java.httpclient
|
@ -25,6 +25,8 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8087112
|
||||
* @modules java.httpclient
|
||||
* jdk.httpserver
|
||||
* @library /lib/testlibrary/
|
||||
* @build jdk.testlibrary.SimpleSSLContext
|
||||
* @compile ../../../../com/sun/net/httpserver/LogFilter.java
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 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
|
||||
@ -45,6 +45,7 @@ import static java.util.Arrays.asList;
|
||||
/*
|
||||
* @test
|
||||
* @bug 8064924
|
||||
* @modules java.compiler
|
||||
* @summary Basic test for URLStreamHandlerProvider
|
||||
* @library /lib/testlibrary
|
||||
* @build jdk.testlibrary.FileUtils jdk.testlibrary.JDKToolFinder
|
||||
|
Loading…
Reference in New Issue
Block a user