8081347: Add @modules to jdk_core tests

Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
This commit is contained in:
Mandy Chung 2015-05-28 10:54:48 -07:00
parent 5aee5a8ee7
commit 53a97cbeb3
508 changed files with 1379 additions and 68 deletions

View File

@ -26,6 +26,7 @@
* @bug 8017195
* @summary Introduce option to setKeepAlive parameter on CORBA sockets
*
* @modules java.corba/com.sun.corba.se.impl.orb java.corba/com.sun.corba.se.impl.transport
* @run main/othervm KeepAliveSockets
* @run main/othervm -Dcom.sun.CORBA.transport.enableTcpKeepAlive KeepAliveSockets
* @run main/othervm -Dcom.sun.CORBA.transport.enableTcpKeepAlive=true KeepAliveSockets

View File

@ -27,6 +27,7 @@ import java.security.Security;
* @bug 8044193
* @summary Test AES ciphers with different modes and padding schemes after
* remove then add provider.
* @modules java.base/com.sun.crypto.provider
* @run main/othervm/policy=testAES.policy TestAESWithProviderChange
*/

View File

@ -24,9 +24,10 @@
/*
* @test
* @bug 5008159 5008156
* @run main XMLEncKAT
* @summary Verify that the two key wrap ciphers, i.e. "DESedeWrap"
* and "AESWrap", work as expected.
* @modules java.base/sun.misc
* @run main XMLEncKAT
* @author Valerie Peng
*/
import java.security.Key;

View File

@ -26,6 +26,7 @@
* @bug 6313661
* @summary Known-answer-test for TlsKeyMaterial generator
* @author Andreas Sterbenz
* @modules java.base/sun.security.internal.spec
*/
import java.io.*;

View File

@ -26,6 +26,8 @@
* @bug 6313661
* @summary Known-answer-test for TlsMasterSecret generator
* @author Andreas Sterbenz
* @modules java.base/sun.security.internal.interfaces
* java.base/sun.security.internal.spec
*/
import java.io.*;

View File

@ -26,6 +26,7 @@
* @bug 6313661
* @summary Basic known-answer-test for TlsPrf
* @author Andreas Sterbenz
* @modules java.base/sun.security.internal.spec
*/
import java.io.*;

View File

@ -24,6 +24,7 @@
/**
* @test
* @bug 6313661
* @modules java.base/sun.security.internal.spec
* @summary Basic known-answer-test for TlsPrf 12
*
* Vector obtained from the IETF TLS working group mailing list:

View File

@ -26,6 +26,7 @@
* @bug 6313661
* @summary Basic tests for TlsRsaPremasterSecret generator
* @author Andreas Sterbenz
* @modules java.base/sun.security.internal.spec
*/
import java.security.Security;

View File

@ -25,6 +25,7 @@
* @bug 4238914
* @summary Tests that JNDI/COS naming parser supports the syntax
* defined in the new INS standard.
* @modules java.corba/com.sun.jndi.cosnaming
*/
import javax.naming.*;

View File

@ -24,6 +24,7 @@
/* @test
* @bug 5042453
* @summary Ipv6 address throws Non-numeric port number error
* @modules java.corba/com.sun.jndi.cosnaming
*/
import com.sun.jndi.cosnaming.*;

View File

@ -25,6 +25,7 @@
* @test
* @bug 8035105
* @summary DNS resource record parsing
* @modules jdk.naming.dns/com.sun.jndi.dns
*/
import com.sun.jndi.dns.ResourceRecord;

View File

@ -25,6 +25,7 @@
* @test
* @bug 8035807
* @summary Confirm that old and new Base64 encodings are compatible.
* @modules java.base/sun.misc
*/
import java.io.*;

View File

@ -26,6 +26,7 @@
* @bug 4278094
* @summary Ensure that setValuesCaseSensitive() does not leave name
* in an invalid state.
* @modules java.naming/com.sun.jndi.ldap
*/
import com.sun.jndi.ldap.LdapName;

View File

@ -26,6 +26,7 @@
* @bug 4892070
* @summary java gets hung in
* com.sun.jndi.ldap.LdapName$TypeAndValue.unescapeValue()
* @modules java.naming/com.sun.jndi.ldap
*/
import com.sun.jndi.ldap.LdapName;

View File

@ -25,6 +25,7 @@
* @test
* @bug 8074761
* @summary RFC-2255 allows attribute, scope and filter to be empty.
* @modules java.naming/com.sun.jndi.ldap
*/
import com.sun.jndi.ldap.LdapURL;

View File

@ -25,6 +25,7 @@
* @test
* @bug 6961765
* @summary Double byte characters corrupted in DN for LDAP referrals
* @modules java.naming/com.sun.jndi.ldap
*/
import com.sun.jndi.ldap.LdapURL;

View File

@ -25,6 +25,8 @@
* @test
* @bug 6676075
* @summary RegistryContext (com.sun.jndi.url.rmi.rmiURLContext) coding problem
* @modules jdk.naming.rmi/com.sun.jndi.rmi.registry java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server java.rmi/sun.rmi.transport java.rmi/sun.rmi.transport.tcp
* @library ../../../../../../java/rmi/testlibrary
* @build TestLibrary
* @run main ContextWithNullProperties

View File

@ -25,7 +25,9 @@
* @test
* @bug 4278121
* @summary Ensure that calling unbind() on an unbound name returns
* successfully.
* successfully.
* @modules java.rmi/sun.rmi.registry java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport java.rmi/sun.rmi.transport.tcp
* @library ../../../../../../java/rmi/testlibrary
* @build TestLibrary
* @run main UnbindIdempotent

View File

@ -31,6 +31,8 @@ import sun.management.MappedMXBeanType;
* @test
* @bug 8042901
* @summary Check that MappedMXBeanType.toOpenTypeData supports VMOption
* @modules java.management/sun.management
* jdk.management/com.sun.management
* @author Shanliang Jiang
*/
public class VMOptionOpenDataTest {

View File

@ -24,6 +24,7 @@
/*
* @test
* @bug 4667976
* @modules java.base/com.sun.net.ssl
* @compile JavaxSSLContextImpl.java ComSSLContextImpl.java
* JavaxTrustManagerFactoryImpl.java ComTrustManagerFactoryImpl.java
* JavaxKeyManagerFactoryImpl.java ComKeyManagerFactoryImpl.java

View File

@ -25,6 +25,7 @@
* @test
* @bug 4665824
* @summary JSSE - ClassCastException with 1.4
* @modules java.base/com.sun.net.ssl
*/
import com.sun.net.ssl.*;

View File

@ -26,6 +26,10 @@
* @bug 6824440 6858484
* @summary Check that Apache XMLSec APIs will not accept HMAC truncation
* lengths less than minimum bound
* @modules java.xml.crypto/com.sun.org.apache.xml.internal.security
* java.xml.crypto/com.sun.org.apache.xml.internal.security.c14n
* java.xml.crypto/com.sun.org.apache.xml.internal.security.signature
* java.xml.crypto/com.sun.org.apache.xml.internal.security.utils
* @compile -XDignore.symbol.file TruncateHMAC.java
* @run main TruncateHMAC
*/

View File

@ -26,6 +26,7 @@
* @bug 6454215
* @summary Make sure there are no runtime errors when throwing Apache XML
* Security exceptions in a non-US default locale.
* @modules java.xml.crypto/com.sun.org.apache.xml.internal.security.exceptions
* @compile -XDignore.symbol.file LocaleTest.java
* @run main LocaleTest
*/

View File

@ -25,6 +25,8 @@
* @test
* @author Sean Mullan
* @bug 6461674 8009217 7147060
* @modules java.xml.crypto/com.sun.org.apache.xml.internal.security.exceptions
* java.xml.crypto/com.sun.org.apache.xml.internal.security.transforms
* @compile -XDignore.symbol.file ClassLoaderTest.java MyTransform.java
* @run main/othervm ClassLoaderTest
* @summary Ensure Transform.register works with transform implementations

View File

@ -26,6 +26,7 @@
* @bug 6954275
* @summary Check that UnsyncByteArrayOutputStream does not
* throw ArrayIndexOutOfBoundsException
* @modules java.xml.crypto/com.sun.org.apache.xml.internal.security.utils
* @compile -XDignore.symbol.file BufferOverflowTest.java
* @run main BufferOverflowTest
*/

View File

@ -25,6 +25,8 @@
* @test
* @bug 6911951 7150092
* @summary NTLM should be a supported Java SASL mechanism
* @modules java.base/sun.misc
* java.security.sasl
*/
import java.io.IOException;
import javax.security.sasl.*;

View File

@ -37,6 +37,7 @@ import jdk.testlibrary.ProcessThread;
* @test
* @bug 6173612 6273707 6277253 6335921 6348630 6342019 6381757
* @summary Basic unit tests for the VM attach mechanism.
* @modules jdk.jartool/sun.tools.jar
* @library /lib/testlibrary
* @modules java.instrument
* java.management

View File

@ -32,6 +32,7 @@ import jdk.testlibrary.ProcessThread;
* @test
* @bug 6173612 6273707 6277253 6335921 6348630 6342019 6381757
* @summary Basic unit tests for the VM attach mechanism.
* @modules jdk.jartool/sun.tools.jar
* @library /lib/testlibrary
* @modules java.management
* jdk.attach

View File

@ -32,6 +32,7 @@ import com.sun.tools.attach.spi.AttachProvider;
* @test
* @bug 6173612 6273707 6277253 6335921 6348630 6342019 6381757
* @summary Basic unit tests for the VM attach mechanism.
* @modules jdk.jartool/sun.tools.jar
* @library /lib/testlibrary
* @modules java.management
* jdk.attach

View File

@ -39,6 +39,7 @@ import jdk.testlibrary.Utils;
/*
* @test
* @summary Test for VirtualMachine.startManagementAgent and VirtualMachine.startLocalManagementAgent
* @modules jdk.jartool/sun.tools.jar
* @library /lib/testlibrary
* @modules java.management
* jdk.attach

View File

@ -37,6 +37,7 @@ import jdk.testlibrary.ProcessThread;
* @test
* @bug 8033104
* @summary Test to make sure attach and jvmstat works correctly when java.io.tmpdir is set
* @modules jdk.jartool/sun.tools.jar
* @library /lib/testlibrary
* @modules java.management
* jdk.jartool/sun.tools.jar

View File

@ -24,6 +24,7 @@
/* @test
* @bug 8057919
* @summary Class.getSimpleName() should work for non-JLS compliant class names
* @modules java.base/jdk.internal.org.objectweb.asm
*/
import jdk.internal.org.objectweb.asm.*;
import static jdk.internal.org.objectweb.asm.Opcodes.*;

View File

@ -29,6 +29,7 @@
* 4947220 7018606 7034570 4244896 5049299 8003488 8054494 8058464
* 8067796
* @summary Basic tests for Process and Environment Variable code
* @modules java.base/sun.misc
* @run main/othervm/timeout=300 Basic
* @run main/othervm/timeout=300 -Djdk.lang.Process.launchMechanism=fork Basic
* @author Martin Buchholz

View File

@ -25,6 +25,7 @@
* @test
* @bug 8072611
* @summary ProcessBuilder Redirect to file appending on Windows should work with long file names
* @modules java.base/sun.misc
* @author Thomas Stuefe
*/

View File

@ -27,6 +27,7 @@
* @summary Test inheritance, order and class redefinition behaviour of RUNTIME
* class annotations
* @author plevart
* @modules java.base/sun.reflect.annotation
*/
import sun.reflect.annotation.AnnotationParser;

View File

@ -26,7 +26,7 @@
* @test
* @bug 8022701
* @summary Illegal access exceptions via methodhandle invocations threw wrong error.
*
* @modules java.base/jdk.internal.org.objectweb.asm
* @compile -XDignore.symbol.file BogoLoader.java InvokeSeveralWays.java MHIllegalAccess.java MethodSupplier.java
* @run main/othervm MHIllegalAccess
*/

View File

@ -24,6 +24,7 @@
/*
* @test
* @summary verify Lookup.revealDirect on a variety of input handles
* @modules java.base/sun.reflect
* @compile -XDignore.symbol.file RevealDirectTest.java
* @run junit/othervm -ea -esa test.java.lang.invoke.RevealDirectTest
*

View File

@ -24,6 +24,7 @@
/* @test
* @bug 8046903
* @summary VM anonymous class members can't be statically invocable
* @modules java.base/sun.misc java.base/jdk.internal.org.objectweb.asm
* @run junit test.java.lang.invoke.VMAnonymousClass
*/
package test.java.lang.invoke;

View File

@ -26,7 +26,7 @@
* @test
* @bug 8022718
* @summary Runtime accessibility checking: protected class, if extended, should be accessible from another package
*
* @modules java.base/jdk.internal.org.objectweb.asm
* @compile -XDignore.symbol.file BogoLoader.java MethodInvoker.java Test.java anotherpkg/MethodSupplierOuter.java
* @run main/othervm Test
*/

View File

@ -76,7 +76,7 @@ public class LambdaAccessControlDoPrivilegedTest extends LUtils {
doprivJava.delete();
doprivClass.delete();
tr = doExec(JAVA_CMD.getAbsolutePath(),
"-Xbootclasspath/p:foo.jar",
"-Xbootclasspath/a:foo.jar",
"-cp", ".", "Bar");
tr.assertZero("testDoPrivileged fails");
barJava.delete();

View File

@ -26,6 +26,8 @@
* @bug 8027232
* @summary ensures that j.l.i.InvokerByteCodeGenerator and ASM visitMethodInsn
* generate bytecodes with correct constant pool references
* @modules java.base/jdk.internal.org.objectweb.asm
* jdk.compiler/com.sun.tools.classfile
* @compile -XDignore.symbol.file LambdaAsm.java LUtils.java
* @run main/othervm LambdaAsm
*/
@ -133,7 +135,7 @@ public class LambdaAsm {
int mcount = 0;
try (DirectoryStream<Path> ds = newDirectoryStream(new File(".").toPath(),
// filter in lambda proxy classes
"A$I$$Lambda$?.class")) {
"A$I$$Lambda$*.class")) {
for (Path p : ds) {
System.out.println(p.toFile());
ClassFile cf = ClassFile.read(p.toFile());

View File

@ -25,6 +25,7 @@
* @test
* @bug 8025636
* @summary Synthetic frames should be hidden in exceptions
* @modules java.base/jdk.internal.org.objectweb.asm
* @compile -XDignore.symbol.file LUtils.java LambdaStackTrace.java
* @run main LambdaStackTrace
*/

View File

@ -24,6 +24,7 @@
/* @test
* @bug 8032400
* @summary JSR292: invokeSpecial: InternalError attempting to lookup a method
* @modules java.base/jdk.internal.org.objectweb.asm
* @compile -XDignore.symbol.file SpecialStatic.java
* @run junit test.java.lang.invoke.lookup.SpecialStatic
*/

View File

@ -26,6 +26,7 @@
* @bug 6832374 7052898
* @summary Test bad signatures get a GenericSignatureFormatError thrown.
* @author Joseph D. Darcy
* @modules java.base/sun.reflect.generics.parser
*/
import java.lang.reflect.*;

View File

@ -26,6 +26,7 @@
* @bug 8026213
* @summary Reflection support for private methods in interfaces
* @author Robert Field
* @modules java.base/jdk.internal.org.objectweb.asm
* @run main TestPrivateInterfaceMethodReflect
*/

View File

@ -24,6 +24,7 @@
/**
* @test
* @bug 4678055
* @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main B4678055

View File

@ -24,6 +24,7 @@
/**
* @test
* @bug 4722333
* @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main B4722333

View File

@ -24,6 +24,7 @@
/**
* @test
* @bug 4759514
* @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main B4759514

View File

@ -24,6 +24,7 @@
/**
* @test
* @bug 4921848
* @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main/othervm -Dhttp.auth.preference=basic B4921848

View File

@ -24,6 +24,7 @@
/**
* @test
* @bug 4962064
* @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main/othervm B4962064

View File

@ -24,6 +24,7 @@
/**
* @test
* @bug 6870935
* @modules java.base/sun.net.www
* @run main/othervm -Dhttp.nonProxyHosts="" -Dhttp.auth.digest.validateProxy=true B6870935
*/

View File

@ -25,6 +25,7 @@
* @test
* @bug 4749938
* @summary Bug in the parsing IPv4 literal addresses
* @modules java.base/sun.net.spi.nameservice
* @compile -XDignore.symbol.file=true DummyNameService.java DummyNameServiceDescriptor.java
* @run main/othervm -Dsun.net.spi.nameservice.provider.1=dummy,oracle textToNumericFormat
*/

View File

@ -24,6 +24,7 @@
/* @test
* @bug 4924226
* @summary PIT: Can no launch jnlp application via 127.0.0.1 address on the web server
* @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build ClosedChannelList TestHttpServer HttpTransaction HttpCallback
* @compile LoopbackAddresses.java

View File

@ -25,6 +25,7 @@
* @test
* @bug 4696512
* @summary HTTP client: Improve proxy server configuration and selection
* @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build ClosedChannelList TestHttpServer HttpTransaction HttpCallback
* @compile ProxyTest.java

View File

@ -25,6 +25,7 @@
* @test
* @bug 6370908
* @summary Add support for HTTP_CONNECT proxy in Socket class
* @modules java.base/sun.net.www
*/
import java.io.IOException;

View File

@ -24,6 +24,7 @@
/* @test
* @bug 4920526
* @summary Needs per connection proxy support for URLs
* @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build ClosedChannelList TestHttpServer HttpTransaction HttpCallback
* @compile PerConnectionProxy.java

View File

@ -26,6 +26,7 @@
* @bug 4135031
* @summary Test new URL contructors that allow specification of a
* URLStreamHandler protocol handler.
* @modules java.base/sun.net.www.protocol.file
*/
import java.net.*;

View File

@ -24,6 +24,7 @@
/*
* @test
* @bug 5052093
* @modules java.base/sun.net.www java.base/sun.net.www.protocol.file
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main B5052093

View File

@ -26,6 +26,7 @@
* @bug 4160200
* @summary Make sure URLConnection.getContnentHandler
* can handle MIME types with attributes
* @modules java.base/sun.net.www java.base/sun.net.www.content.text
*/
import java.net.*;
import java.io.*;

View File

@ -24,6 +24,7 @@
/* @test
* @bug 4313887 6993267
* @summary Unit test for Sun-specific ExtendedCopyOption.INTERRUPTIBLE option
* @modules java.base/com.sun.nio.file
* @library ..
*/

View File

@ -25,6 +25,7 @@
* @bug 4313887
* @summary Unit test for java.nio.file.Files.newByteChannel
* @library ..
* @modules java.base/com.sun.nio.file
*/
import java.nio.ByteBuffer;

View File

@ -25,6 +25,7 @@
* @bug 4313887 6838333
* @summary Sanity test for Sun-specific FILE_TREE watch event modifier
* @library ..
* @modules java.base/com.sun.nio.file
*/
import java.nio.file.*;

View File

@ -24,6 +24,7 @@
/* @test
* @bug 4313887
* @summary Sanity test for Sun-specific sensitivity level watch event modifier
* @modules java.base/com.sun.nio.file
* @library ..
* @run main/timeout=240 SensitivityModifier
* @key randomness

View File

@ -24,6 +24,7 @@
/* @test
* @bug 4313887
* @summary Unit test for Watchable#register's permission checks
* @modules java.base/com.sun.nio.file
* @build WithSecurityManager
* @run main/othervm WithSecurityManager denyAll.policy - fail
* @run main/othervm WithSecurityManager denyAll.policy tree fail

View File

@ -27,6 +27,10 @@
* @summary change in default URL port causes regression in java.rmi.Naming
* @author Dana Burns
* @library ../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm DefaultRegistryPort
*/

View File

@ -26,6 +26,10 @@
* IPv6 addresses.
* @bug 4402708
* @library ../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm -Djava.net.preferIPv6Addresses=true LookupIPv6
*/

View File

@ -27,6 +27,10 @@
* containing embedded ':' characters.
*
* @library ../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm LookupNameWithColon
*/

View File

@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm RmiIsNoScheme
*/

View File

@ -29,6 +29,10 @@
* @author Vinod Johnson
*
* @library ../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary UnderscoreHost_Stub
* @run main/othervm UnderscoreHost
*/

View File

@ -27,6 +27,10 @@
* @summary Naming assumes '/' is present in relative URL; change in URL causes regression
* @author Dana Burns
* @library ../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Legal LegalRegistryNames_Stub
* @run main/othervm LegalRegistryNames
*/

View File

@ -36,6 +36,10 @@
* functionality is in place
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivateMe CheckActivateRef_Stub
* @run main/othervm/policy=security.policy/timeout=240 -Djava.rmi.server.ignoreStubClasses=true CheckActivateRef
* @run main/othervm/policy=security.policy/timeout=240 -Djava.rmi.server.ignoreStubClasses=false CheckActivateRef

View File

@ -28,6 +28,10 @@
* @author Laird Dornin; code borrowed from Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID MyRMI CheckAnnotations_Stub
* @run main/othervm/policy=security.policy/timeout=480 CheckAnnotations
*/

View File

@ -27,6 +27,10 @@
* @author Laird Dornin; code borrowed from Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID
* MyRMI ActivatableImpl ActivatableImpl ActivatableImpl_Stub
* @run main/othervm/policy=security.policy/timeout=150 CheckImplClassLoader

View File

@ -27,6 +27,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* ActivateMe CheckRegisterInLog_Stub
* @run main/othervm/policy=security.policy/timeout=240 CheckRegisterInLog

View File

@ -27,6 +27,10 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivateMe
* @run main/othervm/policy=security.policy/timeout=240 CreatePrivateActivatable
*/

View File

@ -31,6 +31,10 @@
* @author Peter Jones (much code taken from Ann Wollrath's activation tests)
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* Foo FooReceiverImpl FooReceiverImpl_Stub Bar
* @run main/othervm/policy=security.policy/timeout=240 DownloadParameterClass

View File

@ -27,6 +27,10 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivateMe ElucidateNoSuchMethod_Stub
* @run main/othervm/policy=security.policy/timeout=240 ElucidateNoSuchMethod
*/

View File

@ -27,6 +27,10 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* ActivateMe ForceLogSnapshot_Stub
* @run main/othervm/policy=security.policy/timeout=640 ForceLogSnapshot

View File

@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary ActivateMe InactiveGroup_Stub
* @run main/othervm/policy=security.policy/timeout=240 InactiveGroup
*/

View File

@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* @run main/othervm/timeout=240 LookupActivationSystem
*/

View File

@ -27,6 +27,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary ActivateMe NestedActivate_Stub
* @run main/othervm/policy=security.policy/timeout=240 NestedActivate
*/

View File

@ -28,6 +28,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* ActivateMe NonExistentActivatable_Stub
* @run main/othervm/policy=security.policy/timeout=240 NonExistentActivatable

View File

@ -28,6 +28,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivateMe RestartCrashedService_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartCrashedService
*/

View File

@ -27,6 +27,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* RestartLatecomer RestartLatecomer_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartLatecomer

View File

@ -27,6 +27,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary ActivateMe RestartService_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartService
*/

View File

@ -28,6 +28,10 @@
* @author Laird Dornin; code borrowed from Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID
* TestSecurityManager RegisteringActivatable ShutdownGracefully_Stub
* @run main/othervm/policy=security.policy/timeout=700 ShutdownGracefully

View File

@ -28,6 +28,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary ActivateMe UnregisterInactive_Stub
* @run main/othervm/policy=security.policy/timeout=240 UnregisterInactive
*/

View File

@ -31,6 +31,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* ActivateMe ActivateFails_Stub ShutdownThread
* @run main/othervm/java.security.policy=security.policy/timeout=240 ActivateFails

View File

@ -32,6 +32,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* DownloadActivationGroup MyActivationGroupImpl DownloadActivationGroup_Stub
* @run main/othervm/policy=security.policy/timeout=240 DownloadActivationGroup

View File

@ -30,6 +30,10 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main CheckDefaultGroupName
*/

View File

@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* @run main/othervm/policy=security.policy/timeout=480 IdempotentActiveGroup
*/

View File

@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* ActivateMe ModifyDescriptor_Stub
* @run main/othervm/policy=security.policy/timeout=240 ModifyDescriptor

View File

@ -27,6 +27,11 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
* @modules java.base/sun.security.provider
* java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* CanCreateStubs StubClassesPermitted_Stub
* @run main/othervm/java.security.policy=security.policy/secure=java.lang.SecurityManager/timeout=240 StubClassesPermitted

View File

@ -28,6 +28,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary ActivateMe
* @run main/othervm/policy=security.policy UnregisterGroup
*/

View File

@ -35,6 +35,10 @@
* @author Adrian Colley
*
* @library ../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* Eliza Retireable Doctor Doctor_Stub
* @run main/othervm/timeout=240/policy=security.policy

View File

@ -29,6 +29,7 @@
* boundaries
* @author Ann Wollrath
*
* @modules java.rmi/sun.rmi.log
* @run main/othervm/timeout=240 LogTest
*/

View File

@ -29,6 +29,11 @@
* @author Peter Jones
*
* @library ../../testlibrary
* @modules java.base/sun.nio.ch
* java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* @run main/othervm/timeout=240 InheritedChannelNotServerSocket
*/

View File

@ -27,6 +27,11 @@
* @author Ann Wollrath
*
* @library ../../testlibrary
* @modules java.base/sun.nio.ch
* java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* @run main/othervm/timeout=240 RmidViaInheritedChannel
*/

View File

@ -30,6 +30,10 @@
* @author Ann Wollrath
*
* @library ../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm/policy=security.policy CheckVMID
*/

View File

@ -31,6 +31,10 @@
* @author Peter Jones
*
* @library ../../testlibrary
* @modules java.rmi/sun.rmi.registry
* java.rmi/sun.rmi.server
* java.rmi/sun.rmi.transport
* java.rmi/sun.rmi.transport.tcp
* @build TestLibrary DGCImplInsulation_Stub
* @run main/othervm/policy=security.policy DGCImplInsulation
*/

Some files were not shown because too many files have changed in this diff Show More