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 * @bug 8017195
* @summary Introduce option to setKeepAlive parameter on CORBA sockets * @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 KeepAliveSockets
* @run main/othervm -Dcom.sun.CORBA.transport.enableTcpKeepAlive KeepAliveSockets * @run main/othervm -Dcom.sun.CORBA.transport.enableTcpKeepAlive KeepAliveSockets
* @run main/othervm -Dcom.sun.CORBA.transport.enableTcpKeepAlive=true KeepAliveSockets * @run main/othervm -Dcom.sun.CORBA.transport.enableTcpKeepAlive=true KeepAliveSockets

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -25,6 +25,8 @@
* @test * @test
* @bug 6676075 * @bug 6676075
* @summary RegistryContext (com.sun.jndi.url.rmi.rmiURLContext) coding problem * @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 * @library ../../../../../../java/rmi/testlibrary
* @build TestLibrary * @build TestLibrary
* @run main ContextWithNullProperties * @run main ContextWithNullProperties

View File

@ -25,7 +25,9 @@
* @test * @test
* @bug 4278121 * @bug 4278121
* @summary Ensure that calling unbind() on an unbound name returns * @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 * @library ../../../../../../java/rmi/testlibrary
* @build TestLibrary * @build TestLibrary
* @run main UnbindIdempotent * @run main UnbindIdempotent

View File

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

View File

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

View File

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

View File

@ -26,6 +26,10 @@
* @bug 6824440 6858484 * @bug 6824440 6858484
* @summary Check that Apache XMLSec APIs will not accept HMAC truncation * @summary Check that Apache XMLSec APIs will not accept HMAC truncation
* lengths less than minimum bound * 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 * @compile -XDignore.symbol.file TruncateHMAC.java
* @run main TruncateHMAC * @run main TruncateHMAC
*/ */

View File

@ -26,6 +26,7 @@
* @bug 6454215 * @bug 6454215
* @summary Make sure there are no runtime errors when throwing Apache XML * @summary Make sure there are no runtime errors when throwing Apache XML
* Security exceptions in a non-US default locale. * 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 * @compile -XDignore.symbol.file LocaleTest.java
* @run main LocaleTest * @run main LocaleTest
*/ */

View File

@ -25,6 +25,8 @@
* @test * @test
* @author Sean Mullan * @author Sean Mullan
* @bug 6461674 8009217 7147060 * @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 * @compile -XDignore.symbol.file ClassLoaderTest.java MyTransform.java
* @run main/othervm ClassLoaderTest * @run main/othervm ClassLoaderTest
* @summary Ensure Transform.register works with transform implementations * @summary Ensure Transform.register works with transform implementations

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -24,6 +24,7 @@
/* @test /* @test
* @bug 8057919 * @bug 8057919
* @summary Class.getSimpleName() should work for non-JLS compliant class names * @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 jdk.internal.org.objectweb.asm.*;
import static jdk.internal.org.objectweb.asm.Opcodes.*; import static jdk.internal.org.objectweb.asm.Opcodes.*;

View File

@ -29,6 +29,7 @@
* 4947220 7018606 7034570 4244896 5049299 8003488 8054494 8058464 * 4947220 7018606 7034570 4244896 5049299 8003488 8054494 8058464
* 8067796 * 8067796
* @summary Basic tests for Process and Environment Variable code * @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 Basic
* @run main/othervm/timeout=300 -Djdk.lang.Process.launchMechanism=fork Basic * @run main/othervm/timeout=300 -Djdk.lang.Process.launchMechanism=fork Basic
* @author Martin Buchholz * @author Martin Buchholz

View File

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

View File

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

View File

@ -26,7 +26,7 @@
* @test * @test
* @bug 8022701 * @bug 8022701
* @summary Illegal access exceptions via methodhandle invocations threw wrong error. * @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 * @compile -XDignore.symbol.file BogoLoader.java InvokeSeveralWays.java MHIllegalAccess.java MethodSupplier.java
* @run main/othervm MHIllegalAccess * @run main/othervm MHIllegalAccess
*/ */

View File

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

View File

@ -24,6 +24,7 @@
/* @test /* @test
* @bug 8046903 * @bug 8046903
* @summary VM anonymous class members can't be statically invocable * @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 * @run junit test.java.lang.invoke.VMAnonymousClass
*/ */
package test.java.lang.invoke; package test.java.lang.invoke;

View File

@ -26,7 +26,7 @@
* @test * @test
* @bug 8022718 * @bug 8022718
* @summary Runtime accessibility checking: protected class, if extended, should be accessible from another package * @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 * @compile -XDignore.symbol.file BogoLoader.java MethodInvoker.java Test.java anotherpkg/MethodSupplierOuter.java
* @run main/othervm Test * @run main/othervm Test
*/ */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -24,6 +24,7 @@
/* @test /* @test
* @bug 4313887 * @bug 4313887
* @summary Unit test for Watchable#register's permission checks * @summary Unit test for Watchable#register's permission checks
* @modules java.base/com.sun.nio.file
* @build WithSecurityManager * @build WithSecurityManager
* @run main/othervm WithSecurityManager denyAll.policy - fail * @run main/othervm WithSecurityManager denyAll.policy - fail
* @run main/othervm WithSecurityManager denyAll.policy tree 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 * @summary change in default URL port causes regression in java.rmi.Naming
* @author Dana Burns * @author Dana Burns
* @library ../testlibrary * @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 * @build TestLibrary
* @run main/othervm DefaultRegistryPort * @run main/othervm DefaultRegistryPort
*/ */

View File

@ -26,6 +26,10 @@
* IPv6 addresses. * IPv6 addresses.
* @bug 4402708 * @bug 4402708
* @library ../testlibrary * @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 * @build TestLibrary
* @run main/othervm -Djava.net.preferIPv6Addresses=true LookupIPv6 * @run main/othervm -Djava.net.preferIPv6Addresses=true LookupIPv6
*/ */

View File

@ -27,6 +27,10 @@
* containing embedded ':' characters. * containing embedded ':' characters.
* *
* @library ../testlibrary * @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 * @build TestLibrary
* @run main/othervm LookupNameWithColon * @run main/othervm LookupNameWithColon
*/ */

View File

@ -29,6 +29,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../testlibrary * @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 * @build TestLibrary
* @run main/othervm RmiIsNoScheme * @run main/othervm RmiIsNoScheme
*/ */

View File

@ -29,6 +29,10 @@
* @author Vinod Johnson * @author Vinod Johnson
* *
* @library ../testlibrary * @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 * @build TestLibrary UnderscoreHost_Stub
* @run main/othervm UnderscoreHost * @run main/othervm UnderscoreHost
*/ */

View File

@ -27,6 +27,10 @@
* @summary Naming assumes '/' is present in relative URL; change in URL causes regression * @summary Naming assumes '/' is present in relative URL; change in URL causes regression
* @author Dana Burns * @author Dana Burns
* @library ../../testlibrary * @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 * @build TestLibrary Legal LegalRegistryNames_Stub
* @run main/othervm LegalRegistryNames * @run main/othervm LegalRegistryNames
*/ */

View File

@ -36,6 +36,10 @@
* functionality is in place * functionality is in place
* *
* @library ../../../testlibrary * @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 * @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=true CheckActivateRef
* @run main/othervm/policy=security.policy/timeout=240 -Djava.rmi.server.ignoreStubClasses=false 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 * @author Laird Dornin; code borrowed from Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID MyRMI CheckAnnotations_Stub
* @run main/othervm/policy=security.policy/timeout=480 CheckAnnotations * @run main/othervm/policy=security.policy/timeout=480 CheckAnnotations
*/ */

View File

@ -27,6 +27,10 @@
* @author Laird Dornin; code borrowed from Ann Wollrath * @author Laird Dornin; code borrowed from Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID
* MyRMI ActivatableImpl ActivatableImpl ActivatableImpl_Stub * MyRMI ActivatableImpl ActivatableImpl ActivatableImpl_Stub
* @run main/othervm/policy=security.policy/timeout=150 CheckImplClassLoader * @run main/othervm/policy=security.policy/timeout=150 CheckImplClassLoader

View File

@ -27,6 +27,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* ActivateMe CheckRegisterInLog_Stub * ActivateMe CheckRegisterInLog_Stub
* @run main/othervm/policy=security.policy/timeout=240 CheckRegisterInLog * @run main/othervm/policy=security.policy/timeout=240 CheckRegisterInLog

View File

@ -27,6 +27,10 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivateMe
* @run main/othervm/policy=security.policy/timeout=240 CreatePrivateActivatable * @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) * @author Peter Jones (much code taken from Ann Wollrath's activation tests)
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* Foo FooReceiverImpl FooReceiverImpl_Stub Bar * Foo FooReceiverImpl FooReceiverImpl_Stub Bar
* @run main/othervm/policy=security.policy/timeout=240 DownloadParameterClass * @run main/othervm/policy=security.policy/timeout=240 DownloadParameterClass

View File

@ -27,6 +27,10 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivateMe ElucidateNoSuchMethod_Stub
* @run main/othervm/policy=security.policy/timeout=240 ElucidateNoSuchMethod * @run main/othervm/policy=security.policy/timeout=240 ElucidateNoSuchMethod
*/ */

View File

@ -27,6 +27,10 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* ActivateMe ForceLogSnapshot_Stub * ActivateMe ForceLogSnapshot_Stub
* @run main/othervm/policy=security.policy/timeout=640 ForceLogSnapshot * @run main/othervm/policy=security.policy/timeout=640 ForceLogSnapshot

View File

@ -29,6 +29,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary ActivateMe InactiveGroup_Stub
* @run main/othervm/policy=security.policy/timeout=240 InactiveGroup * @run main/othervm/policy=security.policy/timeout=240 InactiveGroup
*/ */

View File

@ -29,6 +29,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* @run main/othervm/timeout=240 LookupActivationSystem * @run main/othervm/timeout=240 LookupActivationSystem
*/ */

View File

@ -27,6 +27,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary ActivateMe NestedActivate_Stub
* @run main/othervm/policy=security.policy/timeout=240 NestedActivate * @run main/othervm/policy=security.policy/timeout=240 NestedActivate
*/ */

View File

@ -28,6 +28,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* ActivateMe NonExistentActivatable_Stub * ActivateMe NonExistentActivatable_Stub
* @run main/othervm/policy=security.policy/timeout=240 NonExistentActivatable * @run main/othervm/policy=security.policy/timeout=240 NonExistentActivatable

View File

@ -28,6 +28,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivateMe RestartCrashedService_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartCrashedService * @run main/othervm/policy=security.policy/timeout=240 RestartCrashedService
*/ */

View File

@ -27,6 +27,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* RestartLatecomer RestartLatecomer_Stub * RestartLatecomer RestartLatecomer_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartLatecomer * @run main/othervm/policy=security.policy/timeout=240 RestartLatecomer

View File

@ -27,6 +27,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary ActivateMe RestartService_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartService * @run main/othervm/policy=security.policy/timeout=240 RestartService
*/ */

View File

@ -28,6 +28,10 @@
* @author Laird Dornin; code borrowed from Ann Wollrath * @author Laird Dornin; code borrowed from Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID
* TestSecurityManager RegisteringActivatable ShutdownGracefully_Stub * TestSecurityManager RegisteringActivatable ShutdownGracefully_Stub
* @run main/othervm/policy=security.policy/timeout=700 ShutdownGracefully * @run main/othervm/policy=security.policy/timeout=700 ShutdownGracefully

View File

@ -28,6 +28,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary ActivateMe UnregisterInactive_Stub
* @run main/othervm/policy=security.policy/timeout=240 UnregisterInactive * @run main/othervm/policy=security.policy/timeout=240 UnregisterInactive
*/ */

View File

@ -31,6 +31,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* ActivateMe ActivateFails_Stub ShutdownThread * ActivateMe ActivateFails_Stub ShutdownThread
* @run main/othervm/java.security.policy=security.policy/timeout=240 ActivateFails * @run main/othervm/java.security.policy=security.policy/timeout=240 ActivateFails

View File

@ -32,6 +32,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* DownloadActivationGroup MyActivationGroupImpl DownloadActivationGroup_Stub * DownloadActivationGroup MyActivationGroupImpl DownloadActivationGroup_Stub
* @run main/othervm/policy=security.policy/timeout=240 DownloadActivationGroup * @run main/othervm/policy=security.policy/timeout=240 DownloadActivationGroup

View File

@ -30,6 +30,10 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../../testlibrary * @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 * @build TestLibrary
* @run main CheckDefaultGroupName * @run main CheckDefaultGroupName
*/ */

View File

@ -29,6 +29,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* @run main/othervm/policy=security.policy/timeout=480 IdempotentActiveGroup * @run main/othervm/policy=security.policy/timeout=480 IdempotentActiveGroup
*/ */

View File

@ -29,6 +29,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* ActivateMe ModifyDescriptor_Stub * ActivateMe ModifyDescriptor_Stub
* @run main/othervm/policy=security.policy/timeout=240 ModifyDescriptor * @run main/othervm/policy=security.policy/timeout=240 ModifyDescriptor

View File

@ -27,6 +27,11 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* CanCreateStubs StubClassesPermitted_Stub * CanCreateStubs StubClassesPermitted_Stub
* @run main/othervm/java.security.policy=security.policy/secure=java.lang.SecurityManager/timeout=240 StubClassesPermitted * @run main/othervm/java.security.policy=security.policy/secure=java.lang.SecurityManager/timeout=240 StubClassesPermitted

View File

@ -28,6 +28,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary ActivateMe
* @run main/othervm/policy=security.policy UnregisterGroup * @run main/othervm/policy=security.policy UnregisterGroup
*/ */

View File

@ -35,6 +35,10 @@
* @author Adrian Colley * @author Adrian Colley
* *
* @library ../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* Eliza Retireable Doctor Doctor_Stub * Eliza Retireable Doctor Doctor_Stub
* @run main/othervm/timeout=240/policy=security.policy * @run main/othervm/timeout=240/policy=security.policy

View File

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

View File

@ -29,6 +29,11 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* @run main/othervm/timeout=240 InheritedChannelNotServerSocket * @run main/othervm/timeout=240 InheritedChannelNotServerSocket
*/ */

View File

@ -27,6 +27,11 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../testlibrary * @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 * @build TestLibrary RMID ActivationLibrary
* @run main/othervm/timeout=240 RmidViaInheritedChannel * @run main/othervm/timeout=240 RmidViaInheritedChannel
*/ */

View File

@ -30,6 +30,10 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../testlibrary * @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 * @build TestLibrary
* @run main/othervm/policy=security.policy CheckVMID * @run main/othervm/policy=security.policy CheckVMID
*/ */

View File

@ -31,6 +31,10 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../testlibrary * @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 * @build TestLibrary DGCImplInsulation_Stub
* @run main/othervm/policy=security.policy DGCImplInsulation * @run main/othervm/policy=security.policy DGCImplInsulation
*/ */

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