提交 e6b14fba 编写于 作者: S smarks

8004748: clean up @build tags in RMI tests

Reviewed-by: alanb, darcy, mchung
上级 75a9da01
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
* not involved in location should be compared. * not involved in location should be compared.
* @author Ken Arnold * @author Ken Arnold
* *
* @build Compare
* @run main Compare 11 annotatedRef * @run main Compare 11 annotatedRef
*/ */
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
* @summary MarshalledObject with null throws NullPointerException * @summary MarshalledObject with null throws NullPointerException
* @author Ken Arnold * @author Ken Arnold
* *
* @build HashCode
* @run main HashCode 11 annotatedRef * @run main HashCode 11 annotatedRef
*/ */
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
* @summary MarshalledObject with null throws NullPointerException * @summary MarshalledObject with null throws NullPointerException
* @author Ken Arnold * @author Ken Arnold
* *
* @build NullReference
* @run main NullReference * @run main NullReference
*/ */
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
* @author Dana Burns * @author Dana Burns
* @library ../testlibrary * @library ../testlibrary
* @build TestLibrary * @build TestLibrary
* @build DefaultRegistryPort
* @run main DefaultRegistryPort * @run main DefaultRegistryPort
*/ */
......
...@@ -22,12 +22,11 @@ ...@@ -22,12 +22,11 @@
*/ */
/* @test /* @test
* @summary Ensure that java.rmi.Naming.lookup can handle URLs containing
* IPv6 addresses.
* @bug 4402708 * @bug 4402708
* *
* @run main/othervm -Djava.net.preferIPv6Addresses=true LookupIPv6 * @run main/othervm -Djava.net.preferIPv6Addresses=true LookupIPv6
*
* @summary Ensure that java.rmi.Naming.lookup can handle URLs containing
* IPv6 addresses.
*/ */
import java.net.InetAddress; import java.net.InetAddress;
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
* *
* @library ../testlibrary * @library ../testlibrary
* @build TestLibrary * @build TestLibrary
* @build RmiIsNoScheme
* @run main/othervm RmiIsNoScheme * @run main/othervm RmiIsNoScheme
*/ */
......
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
* @author Vinod Johnson * @author Vinod Johnson
* *
* @library ../testlibrary * @library ../testlibrary
* @build TestLibrary * @build TestLibrary UnderscoreHost_Stub
* @build UnderscoreHost UnderscoreHost_Stub
* @run main/othervm UnderscoreHost * @run main/othervm UnderscoreHost
*/ */
......
...@@ -21,14 +21,13 @@ ...@@ -21,14 +21,13 @@
* questions. * questions.
*/ */
/** /*
* @test * @test
* @bug 4254808 * @bug 4254808
* @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
* @build TestLibrary * @build TestLibrary Legal LegalRegistryNames_Stub
* @build Legal LegalRegistryNames LegalRegistryNames_Stub
* @run main LegalRegistryNames * @run main LegalRegistryNames
*/ */
......
...@@ -28,10 +28,9 @@ ...@@ -28,10 +28,9 @@
* as when the default java.lang.SecurityManager is set, which with the * as when the default java.lang.SecurityManager is set, which with the
* default "java.security" file in the JDK means that access to packages in * default "java.security" file in the JDK means that access to packages in
* the sun.* package hierarchy is denied (without explicit runtime permission * the sun.* package hierarchy is denied (without explicit runtime permission
* "accessClassInPackge.*"). * "accessClassInPackage.*").
* @author Peter Jones * @author Peter Jones
* *
* @build CheckPackageAccess
* @run main/othervm CheckPackageAccess * @run main/othervm CheckPackageAccess
*/ */
......
...@@ -36,8 +36,7 @@ ...@@ -36,8 +36,7 @@
* functionality is in place * functionality is in place
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID * @build TestLibrary RMID ActivateMe CheckActivateRef_Stub
* @build ActivateMe CheckActivateRef_Stub 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=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
*/ */
......
...@@ -28,10 +28,7 @@ ...@@ -28,10 +28,7 @@
* @author Laird Dornin; code borrowed from Ann Wollrath * @author Laird Dornin; code borrowed from Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe * @build TestLibrary RMID MyRMI CheckAnnotations_Stub
* @build MyRMI
* @build CheckAnnotations
* @build CheckAnnotations_Stub
* @run main/othervm/policy=security.policy/timeout=480 CheckAnnotations * @run main/othervm/policy=security.policy/timeout=480 CheckAnnotations
*/ */
......
...@@ -24,14 +24,11 @@ ...@@ -24,14 +24,11 @@
/* @test /* @test
* @bug 4289544 * @bug 4289544
* @summary ActivationGroupImpl.newInstance does not set context classloader for impl * @summary ActivationGroupImpl.newInstance does not set context classloader for impl
*
* @author Laird Dornin; code borrowed from Ann Wollrath * @author Laird Dornin; code borrowed from Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe * @build TestLibrary RMID
* @build MyRMI * MyRMI ActivatableImpl ActivatableImpl ActivatableImpl_Stub
* @build CheckImplClassLoader ActivatableImpl
* @build ActivatableImpl ActivatableImpl_Stub
* @run main/othervm/policy=security.policy/timeout=150 CheckImplClassLoader * @run main/othervm/policy=security.policy/timeout=150 CheckImplClassLoader
*/ */
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build RMID ActivationLibrary TestLibrary * @build TestLibrary RMID ActivationLibrary
* @build ActivateMe CheckRegisterInLog CheckRegisterInLog_Stub * ActivateMe CheckRegisterInLog_Stub
* @run main/othervm/policy=security.policy/timeout=240 CheckRegisterInLog * @run main/othervm/policy=security.policy/timeout=240 CheckRegisterInLog
*/ */
......
...@@ -22,14 +22,12 @@ ...@@ -22,14 +22,12 @@
*/ */
/* @test /* @test
* @author Laird Dornin
* @bug 4164971 * @bug 4164971
* @summary allow non-public activatable class and/or constructor * @summary allow non-public activatable class and/or constructor
* @author Laird Dornin
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID * @build TestLibrary RMID ActivateMe
* @build ActivateMe
* @build CreatePrivateActivatable
* @run main/othervm/policy=security.policy/timeout=240 CreatePrivateActivatable * @run main/othervm/policy=security.policy/timeout=240 CreatePrivateActivatable
*/ */
......
...@@ -32,11 +32,7 @@ ...@@ -32,11 +32,7 @@
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary * @build TestLibrary RMID ActivationLibrary
* @build DownloadParameterClass * Foo FooReceiverImpl FooReceiverImpl_Stub Bar
* @build Foo
* @build FooReceiverImpl
* @build FooReceiverImpl_Stub
* @build Bar
* @run main/othervm/policy=security.policy/timeout=240 DownloadParameterClass * @run main/othervm/policy=security.policy/timeout=240 DownloadParameterClass
*/ */
......
...@@ -23,14 +23,11 @@ ...@@ -23,14 +23,11 @@
/* @test /* @test
* @bug 4128620 * @bug 4128620
*
* @summary synopsis: NoSuchMethodError should be elucidated * @summary synopsis: NoSuchMethodError should be elucidated
*
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID * @build TestLibrary RMID ActivateMe ElucidateNoSuchMethod_Stub
* @build ActivateMe ElucidateNoSuchMethod ElucidateNoSuchMethod_Stub
* @run main/othervm/policy=security.policy/timeout=240 ElucidateNoSuchMethod * @run main/othervm/policy=security.policy/timeout=240 ElucidateNoSuchMethod
*/ */
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
# set to the impl's class loader) when the impl is activated. # set to the impl's class loader) when the impl is activated.
# @library ../../../testlibrary # @library ../../../testlibrary
# @build TestLibrary RMID ActivationLibrary # @build TestLibrary RMID ActivationLibrary
# @build ExtLoadedImplTest ExtLoadedImpl ExtLoadedImpl_Stub CheckLoader # ExtLoadedImplTest ExtLoadedImpl ExtLoadedImpl_Stub CheckLoader
# @run shell ext.sh # @run shell ext.sh
OS=`uname -s` OS=`uname -s`
......
...@@ -27,9 +27,8 @@ ...@@ -27,9 +27,8 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build ActivateMe * @build TestLibrary RMID ActivationLibrary
* @build ForceLogSnapshot * ActivateMe ForceLogSnapshot_Stub
* @build ForceLogSnapshot_Stub
* @run main/othervm/policy=security.policy/timeout=640 ForceLogSnapshot * @run main/othervm/policy=security.policy/timeout=640 ForceLogSnapshot
*/ */
......
...@@ -29,10 +29,7 @@ ...@@ -29,10 +29,7 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary * @build TestLibrary RMID ActivationLibrary ActivateMe InactiveGroup_Stub
* @build ActivateMe
* @build InactiveGroup
* @build InactiveGroup_Stub
* @run main/othervm/policy=security.policy/timeout=240 InactiveGroup * @run main/othervm/policy=security.policy/timeout=240 InactiveGroup
*/ */
......
...@@ -24,14 +24,12 @@ ...@@ -24,14 +24,12 @@
/* /*
* @test * @test
* @bug 6245733 * @bug 6245733
*
* @summary synopsis: rmid's registry's list operation doesn't include * @summary synopsis: rmid's registry's list operation doesn't include
* activation system * activation system
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary * @build TestLibrary RMID ActivationLibrary
* @build LookupActivationSystem
* @run main/othervm/timeout=240 LookupActivationSystem * @run main/othervm/timeout=240 LookupActivationSystem
*/ */
......
...@@ -23,15 +23,11 @@ ...@@ -23,15 +23,11 @@
/* @test /* @test
* @bug 4138056 * @bug 4138056
*
* @summary synopsis: Activating objects from an Activatable constructor causes deadlock * @summary synopsis: Activating objects from an Activatable constructor causes deadlock
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary * @build TestLibrary RMID ActivationLibrary ActivateMe NestedActivate_Stub
* @build ActivateMe
* @build NestedActivate
* @build NestedActivate_Stub
* @run main/othervm/policy=security.policy/timeout=240 NestedActivate * @run main/othervm/policy=security.policy/timeout=240 NestedActivate
*/ */
......
...@@ -23,16 +23,13 @@ ...@@ -23,16 +23,13 @@
/* @test /* @test
* @bug 4115296 * @bug 4115296
*
* @summary synopsis: NoSuchObjectException not thrown for non-existent * @summary synopsis: NoSuchObjectException not thrown for non-existent
* activatable objects * activatable objects
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary * @build TestLibrary RMID ActivationLibrary
* @build ActivateMe * ActivateMe NonExistentActivatable_Stub
* @build NonExistentActivatable
* @build NonExistentActivatable_Stub
* @run main/othervm/policy=security.policy/timeout=240 NonExistentActivatable * @run main/othervm/policy=security.policy/timeout=240 NonExistentActivatable
*/ */
......
...@@ -28,10 +28,7 @@ ...@@ -28,10 +28,7 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe * @build TestLibrary RMID ActivateMe RestartCrashedService_Stub
* @build ActivateMe
* @build RestartCrashedService
* @build RestartCrashedService_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartCrashedService * @run main/othervm/policy=security.policy/timeout=240 RestartCrashedService
*/ */
......
...@@ -28,8 +28,7 @@ ...@@ -28,8 +28,7 @@
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary * @build TestLibrary RMID ActivationLibrary
* @build RestartLatecomer * RestartLatecomer RestartLatecomer_Stub
* @build RestartLatecomer_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartLatecomer * @run main/othervm/policy=security.policy/timeout=240 RestartLatecomer
*/ */
......
...@@ -23,15 +23,11 @@ ...@@ -23,15 +23,11 @@
/* @test /* @test
* @bug 4095165 4321151 * @bug 4095165 4321151
* @summary synopsis: activator should restart daemon services * @summary synopsis: activator should restart daemon services
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary * @build TestLibrary RMID ActivationLibrary ActivateMe RestartService_Stub
* @build ActivateMe
* @build RestartService
* @build RestartService_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartService * @run main/othervm/policy=security.policy/timeout=240 RestartService
*/ */
......
...@@ -28,11 +28,8 @@ ...@@ -28,11 +28,8 @@
* @author Laird Dornin; code borrowed from Ann Wollrath * @author Laird Dornin; code borrowed from Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe * @build TestLibrary RMID
* @build TestSecurityManager * TestSecurityManager RegisteringActivatable ShutdownGracefully_Stub
* @build RegisteringActivatable
* @build ShutdownGracefully
* @build ShutdownGracefully_Stub
* @run main/othervm/policy=security.policy/timeout=700 ShutdownGracefully * @run main/othervm/policy=security.policy/timeout=700 ShutdownGracefully
*/ */
......
...@@ -23,16 +23,12 @@ ...@@ -23,16 +23,12 @@
/* @test /* @test
* @bug 4115331 * @bug 4115331
* @summary synopsis: activatable object fails to go inactive after * @summary synopsis: activatable object fails to go inactive after
* unregister/inactive sequence. * unregister/inactive sequence.
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary * @build TestLibrary RMID ActivationLibrary ActivateMe UnregisterInactive_Stub
* @build ActivateMe
* @build UnregisterInactive
* @build UnregisterInactive_Stub
* @run main/othervm/policy=security.policy/timeout=240 UnregisterInactive * @run main/othervm/policy=security.policy/timeout=240 UnregisterInactive
*/ */
......
...@@ -31,11 +31,8 @@ ...@@ -31,11 +31,8 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe * @build TestLibrary RMID ActivationLibrary
* @build ActivateMe * ActivateMe ActivateFails_Stub ShutdownThread
* @build ActivateFails
* @build ActivateFails_Stub
* @build ShutdownThread
* @run main/othervm/policy=security.policy/timeout=240 ActivateFails * @run main/othervm/policy=security.policy/timeout=240 ActivateFails
*/ */
......
...@@ -33,9 +33,7 @@ ...@@ -33,9 +33,7 @@
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary * @build TestLibrary RMID ActivationLibrary
* @build MyActivationGroupImpl * DownloadActivationGroup MyActivationGroupImpl DownloadActivationGroup_Stub
* @build DownloadActivationGroup
* @build DownloadActivationGroup_Stub
* @run main/othervm/policy=security.policy/timeout=240 DownloadActivationGroup * @run main/othervm/policy=security.policy/timeout=240 DownloadActivationGroup
*/ */
......
...@@ -21,16 +21,15 @@ ...@@ -21,16 +21,15 @@
* questions. * questions.
*/ */
/** /*
* @test * @test
* @bug 4252236 * @bug 4252236
* @summary ActivationGroupDesc should not do early binding of default classname * @summary ActivationGroupDesc should not do early binding of default classname
* @library ../../../testlibrary * @author Laird Dornin
*
* @build CheckDefaultGroupName
* *
* @library ../../../testlibrary
* @build TestLibrary
* @run main CheckDefaultGroupName * @run main CheckDefaultGroupName
* @author Laird Dornin
*/ */
import java.rmi.activation.*; import java.rmi.activation.*;
......
...@@ -23,15 +23,13 @@ ...@@ -23,15 +23,13 @@
/* @test /* @test
* @bug 4720528 * @bug 4720528
*
* @summary synopsis: (spec) ActivationSystem.activeGroup spec should be * @summary synopsis: (spec) ActivationSystem.activeGroup spec should be
* relaxed (duplicate call to activeGroup with same instantiator and * relaxed (duplicate call to activeGroup with same instantiator and
* incarnation should not throw ActivationException; it should succeed) * incarnation should not throw ActivationException; it should succeed)
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID * @build TestLibrary RMID ActivationLibrary
* @build IdempotentActiveGroup
* @run main/othervm/policy=security.policy/timeout=480 IdempotentActiveGroup * @run main/othervm/policy=security.policy/timeout=480 IdempotentActiveGroup
*/ */
......
...@@ -29,9 +29,8 @@ ...@@ -29,9 +29,8 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build ActivateMe * @build TestLibrary RMID ActivationLibrary
* @build ModifyDescriptor * ActivateMe ModifyDescriptor_Stub
* @build ModifyDescriptor_Stub
* @run main/othervm/policy=security.policy/timeout=240 ModifyDescriptor * @run main/othervm/policy=security.policy/timeout=240 ModifyDescriptor
*/ */
......
...@@ -24,14 +24,11 @@ ...@@ -24,14 +24,11 @@
/* @test /* @test
* @bug 4179055 * @bug 4179055
* @summary Some java apps need to have access to read "accessClassInPackage.sun.rmi.server" * @summary Some java apps need to have access to read "accessClassInPackage.sun.rmi.server"
*
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe ActivationLibrary * @build TestLibrary RMID ActivationLibrary
* @build CanCreateStubs * CanCreateStubs StubClassesPermitted_Stub
* @build StubClassesPermitted
* @build StubClassesPermitted_Stub
* @run main/othervm/policy=security.policy/secure=java.lang.SecurityManager/timeout=240 StubClassesPermitted * @run main/othervm/policy=security.policy/secure=java.lang.SecurityManager/timeout=240 StubClassesPermitted
*/ */
......
...@@ -24,16 +24,12 @@ ...@@ -24,16 +24,12 @@
/* @test /* @test
* @bug 4134233 * @bug 4134233
* @bug 4213186 * @bug 4213186
*
* @summary synopsis: ActivationSystem.unregisterGroup should unregister objects in group * @summary synopsis: ActivationSystem.unregisterGroup should unregister objects in group
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe * @build TestLibrary RMID ActivationLibrary
* @build ActivateMe CallbackInterface * ActivateMe CallbackInterface UnregisterGroup_Stub Callback_Stub
* @build UnregisterGroup
* @build UnregisterGroup_Stub
* @build Callback_Stub
* @run main/othervm/policy=security.policy/timeout=480 UnregisterGroup * @run main/othervm/policy=security.policy/timeout=480 UnregisterGroup
*/ */
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
* ActivationGroupDesc.CommandEnvironment * ActivationGroupDesc.CommandEnvironment
* @author Ann Wollrath * @author Ann Wollrath
* *
* @build NullOptions
* @run main/othervm/timeout=240 NullOptions * @run main/othervm/timeout=240 NullOptions
*/ */
......
...@@ -35,9 +35,10 @@ ...@@ -35,9 +35,10 @@
* @author Adrian Colley * @author Adrian Colley
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe * @build TestLibrary RMID ActivationLibrary
* @build Eliza Retireable Doctor Doctor_Stub SetChildEnv * Eliza Retireable Doctor Doctor_Stub
* @run main/othervm/timeout=240/policy=security.policy -Djava.compiler=NONE SetChildEnv * @run main/othervm/timeout=240/policy=security.policy
* -Djava.compiler=NONE SetChildEnv
*/ */
import java.rmi.*; import java.rmi.*;
import java.util.Properties; import java.util.Properties;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* @bug 4259564 * @bug 4259564
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build TestLibrary JavaVM CheckUsage * @build TestLibrary JavaVM
* @run main/othervm CheckUsage * @run main/othervm CheckUsage
*/ */
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
* boundaries * boundaries
* @author Ann Wollrath * @author Ann Wollrath
* *
* @build LogTest
* @run main/othervm/timeout=240 LogTest * @run main/othervm/timeout=240 LogTest
*/ */
......
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build RMID ActivationLibrary * @build TestLibrary RMID ActivationLibrary
* @build InheritedChannelNotServerSocket
* @run main/othervm/timeout=240 InheritedChannelNotServerSocket * @run main/othervm/timeout=240 InheritedChannelNotServerSocket
*/ */
......
...@@ -27,9 +27,7 @@ ...@@ -27,9 +27,7 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build RMID ActivationLibrary * @build TestLibrary RMID ActivationLibrary
* @build RmidViaInheritedChannel
* @build TestLibrary
* @run main/othervm/timeout=240 RmidViaInheritedChannel * @run main/othervm/timeout=240 RmidViaInheritedChannel
*/ */
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build CheckVMID * @build TestLibrary
* @run main/othervm/policy=security.policy CheckVMID * @run main/othervm/policy=security.policy CheckVMID
*/ */
......
...@@ -30,8 +30,7 @@ ...@@ -30,8 +30,7 @@
* rather than pinning it indefinitely. * rather than pinning it indefinitely.
* @author Peter Jones * @author Peter Jones
* *
* @build DGCAckFailure * @build DGCAckFailure DGCAckFailure_Stub
* @build DGCAckFailure_Stub
* @run main/othervm DGCAckFailure * @run main/othervm DGCAckFailure
*/ */
......
...@@ -31,9 +31,7 @@ ...@@ -31,9 +31,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build TestLibrary * @build TestLibrary DGCImplInsulation_Stub
* @build DGCImplInsulation
* @build DGCImplInsulation_Stub
* @run main/othervm/policy=security.policy DGCImplInsulation * @run main/othervm/policy=security.policy DGCImplInsulation
*/ */
......
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
* renewing that lease at all after the first failure. * renewing that lease at all after the first failure.
* @author Peter Jones (inspired by Adrian Colley's test case in 4268258) * @author Peter Jones (inspired by Adrian Colley's test case in 4268258)
* *
* @build RetryDirtyCalls * @build RetryDirtyCalls RetryDirtyCalls_Stub
* @build RetryDirtyCalls_Stub
* @run main/othervm RetryDirtyCalls * @run main/othervm RetryDirtyCalls
*/ */
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../testlibrary * @library ../testlibrary
* @build InvalidName * @build TestLibrary
* @run main/othervm InvalidName * @run main/othervm InvalidName
*/ */
......
...@@ -27,8 +27,7 @@ ...@@ -27,8 +27,7 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build StreamPipe TestParams TestLibrary JavaVM RMID * @build TestLibrary JavaVM RMID TestSecurityManager
* @build AltSecurityManager TestSecurityManager
* @run main/othervm AltSecurityManager * @run main/othervm AltSecurityManager
*/ */
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build TestLibrary JavaVM CheckUsage * @build TestLibrary JavaVM
* @run main/othervm CheckUsage * @run main/othervm CheckUsage
*/ */
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build ClassPathCodebase Dummy TestLibrary * @build TestLibrary Dummy
* @run main/othervm/policy=security.policy ClassPathCodebase * @run main/othervm/policy=security.policy ClassPathCodebase
*/ */
......
...@@ -36,9 +36,7 @@ ...@@ -36,9 +36,7 @@
* *
* @author Peter Jones * @author Peter Jones
* @library ../../testlibrary * @library ../../testlibrary
* @build InterfaceHash * @build TestLibrary ReferenceRegistryStub
* @build ReferenceRegistryStub
* @build TestLibrary
* @run main/othervm InterfaceHash * @run main/othervm InterfaceHash
*/ */
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build TestLibrary * @build TestLibrary
* @build MultipleRegistries
* @run main/othervm/timeout=240 MultipleRegistries * @run main/othervm/timeout=240 MultipleRegistries
*/ */
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
# @bug 7102369 7094468 7100592 # @bug 7102369 7094468 7100592
# @library ../../testlibrary # @library ../../testlibrary
# @build TestLibrary # @build TestLibrary
# @summary remove java.rmi.server.codebase property parsing from registyimpl # @summary remove java.rmi.server.codebase property parsing from RegistryImpl
# @run shell readTest.sh # @run shell readTest.sh
OS=`uname -s` OS=`uname -s`
......
...@@ -25,9 +25,7 @@ ...@@ -25,9 +25,7 @@
* @bug 4120329 * @bug 4120329
* @summary RMI registry creation is impossible if first attempt fails. * @summary RMI registry creation is impossible if first attempt fails.
* @library ../../testlibrary * @library ../../testlibrary
* @build StreamPipe TestParams TestLibrary JavaVM * @build TestLibrary JavaVM RegistryRunner RegistryRunner_Stub
* @build RegistryRunner RegistryRunner_Stub
* @build Reexport
* @run main/othervm Reexport * @run main/othervm Reexport
*/ */
......
...@@ -27,20 +27,20 @@ ...@@ -27,20 +27,20 @@
# used to run the test under JTREG. # used to run the test under JTREG.
# #
# @build bench.BenchInfo bench.HtmlReporter bench.Util bench.Benchmark # @build bench.BenchInfo bench.HtmlReporter bench.Util bench.Benchmark
# @build bench.Reporter bench.XmlReporter bench.ConfigFormatException # bench.Reporter bench.XmlReporter bench.ConfigFormatException
# @build bench.Harness bench.TextReporter bench.rmi.BenchServer # bench.Harness bench.TextReporter bench.rmi.BenchServer
# @build bench.rmi.DoubleArrayCalls bench.rmi.LongCalls bench.rmi.ShortCalls # bench.rmi.DoubleArrayCalls bench.rmi.LongCalls bench.rmi.ShortCalls
# @build bench.rmi.BenchServerImpl bench.rmi.DoubleCalls # bench.rmi.BenchServerImpl bench.rmi.DoubleCalls
# @build bench.rmi.Main bench.rmi.SmallObjTreeCalls # bench.rmi.Main bench.rmi.SmallObjTreeCalls
# @build bench.rmi.BooleanArrayCalls bench.rmi.ExceptionCalls # bench.rmi.BooleanArrayCalls bench.rmi.ExceptionCalls
# @build bench.rmi.NullCalls bench.rmi.BooleanCalls bench.rmi.ExportObjs # bench.rmi.NullCalls bench.rmi.BooleanCalls bench.rmi.ExportObjs
# @build bench.rmi.ObjArrayCalls bench.rmi.ByteArrayCalls # bench.rmi.ObjArrayCalls bench.rmi.ByteArrayCalls
# @build bench.rmi.FloatArrayCalls bench.rmi.ObjTreeCalls # bench.rmi.FloatArrayCalls bench.rmi.ObjTreeCalls
# @build bench.rmi.ByteCalls bench.rmi.FloatCalls bench.rmi.ProxyArrayCalls # bench.rmi.ByteCalls bench.rmi.FloatCalls bench.rmi.ProxyArrayCalls
# @build bench.rmi.CharArrayCalls bench.rmi.IntArrayCalls # bench.rmi.CharArrayCalls bench.rmi.IntArrayCalls
# @build bench.rmi.RemoteObjArrayCalls bench.rmi.CharCalls bench.rmi.IntCalls # bench.rmi.RemoteObjArrayCalls bench.rmi.CharCalls bench.rmi.IntCalls
# @build bench.rmi.ClassLoading bench.rmi.LongArrayCalls # bench.rmi.ClassLoading bench.rmi.LongArrayCalls
# @build bench.rmi.ShortArrayCalls bench.rmi.altroot.Node # bench.rmi.ShortArrayCalls bench.rmi.altroot.Node
# #
# @run shell/timeout=1800 runRmiBench.sh # @run shell/timeout=1800 runRmiBench.sh
# #
......
...@@ -27,22 +27,22 @@ ...@@ -27,22 +27,22 @@
# used to run the test under JTREG. # used to run the test under JTREG.
# #
# @build bench.BenchInfo bench.HtmlReporter bench.Util bench.Benchmark # @build bench.BenchInfo bench.HtmlReporter bench.Util bench.Benchmark
# @build bench.Reporter bench.XmlReporter bench.ConfigFormatException # bench.Reporter bench.XmlReporter bench.ConfigFormatException
# @build bench.Harness bench.TextReporter # bench.Harness bench.TextReporter
# @build bench.serial.BooleanArrays bench.serial.Booleans # bench.serial.BooleanArrays bench.serial.Booleans
# @build bench.serial.ByteArrays bench.serial.Bytes bench.serial.CharArrays # bench.serial.ByteArrays bench.serial.Bytes bench.serial.CharArrays
# @build bench.serial.Chars bench.serial.ClassDesc bench.serial.Cons # bench.serial.Chars bench.serial.ClassDesc bench.serial.Cons
# @build bench.serial.CustomDefaultObjTrees bench.serial.CustomObjTrees # bench.serial.CustomDefaultObjTrees bench.serial.CustomObjTrees
# @build bench.serial.DoubleArrays bench.serial.Doubles # bench.serial.DoubleArrays bench.serial.Doubles
# @build bench.serial.ExternObjTrees bench.serial.FloatArrays # bench.serial.ExternObjTrees bench.serial.FloatArrays
# @build bench.serial.Floats bench.serial.GetPutFieldTrees # bench.serial.Floats bench.serial.GetPutFieldTrees
# @build bench.serial.IntArrays bench.serial.Ints bench.serial.LongArrays # bench.serial.IntArrays bench.serial.Ints bench.serial.LongArrays
# @build bench.serial.Longs bench.serial.Main bench.serial.ObjArrays # bench.serial.Longs bench.serial.Main bench.serial.ObjArrays
# @build bench.serial.ObjTrees bench.serial.ProxyArrays # bench.serial.ObjTrees bench.serial.ProxyArrays
# @build bench.serial.ProxyClassDesc bench.serial.RepeatObjs # bench.serial.ProxyClassDesc bench.serial.RepeatObjs
# @build bench.serial.ReplaceTrees bench.serial.ShortArrays # bench.serial.ReplaceTrees bench.serial.ShortArrays
# @build bench.serial.Shorts bench.serial.SmallObjTrees # bench.serial.Shorts bench.serial.SmallObjTrees
# @build bench.serial.StreamBuffer bench.serial.Strings # bench.serial.StreamBuffer bench.serial.Strings
# #
# @run shell/timeout=1800 runSerialBench.sh # @run shell/timeout=1800 runSerialBench.sh
# #
......
...@@ -55,11 +55,10 @@ ...@@ -55,11 +55,10 @@
* has been reached. * has been reached.
* *
* @library ../../testlibrary * @library ../../testlibrary
*
* @build Apple AppleEvent AppleImpl AppleUserImpl
* @build Orange OrangeEcho OrangeEchoImpl OrangeImpl
* @build ApplicationServer
* @build TestLibrary * @build TestLibrary
* Apple AppleEvent AppleImpl
* Orange OrangeEcho OrangeEchoImpl OrangeImpl
* ApplicationServer
* *
* @run main/othervm/policy=security.policy AppleUserImpl -seconds 30 * @run main/othervm/policy=security.policy AppleUserImpl -seconds 30
* *
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
* ObjID() should still generate sequential object numbers. * ObjID() should still generate sequential object numbers.
* @author Peter Jones * @author Peter Jones
* *
* @build RandomIDs
* @run main/othervm RandomIDs random * @run main/othervm RandomIDs random
* @run main/othervm -Djava.rmi.server.randomIDs=true RandomIDs random * @run main/othervm -Djava.rmi.server.randomIDs=true RandomIDs random
* @run main/othervm -Djava.rmi.server.randomIDs=false RandomIDs sequential * @run main/othervm -Djava.rmi.server.randomIDs=false RandomIDs sequential
......
...@@ -33,9 +33,7 @@ ...@@ -33,9 +33,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary Foo
* @build DelegateBeforePermissionCheck
* @build Foo
* @run main/othervm DelegateBeforePermissionCheck * @run main/othervm DelegateBeforePermissionCheck
*/ */
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build DelegateToContextLoader Dummy * @build TestLibrary Dummy
* @run main/othervm/policy=security.policy/timeout=120 DelegateToContextLoader * @run main/othervm/policy=security.policy/timeout=120 DelegateToContextLoader
*/ */
......
...@@ -31,11 +31,7 @@ ...@@ -31,11 +31,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary Receiver DownloadArrayClass_Stub Foo
* @build Receiver
* @build DownloadArrayClass
* @build DownloadArrayClass_Stub
* @build Foo
* @run main/othervm/policy=security.policy DownloadArrayClass * @run main/othervm/policy=security.policy DownloadArrayClass
*/ */
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary
* @build NullClass
* @run main/othervm NullClass * @run main/othervm NullClass
*/ */
......
...@@ -29,9 +29,7 @@ ...@@ -29,9 +29,7 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary Foo
* @build GetClassLoader
* @build Foo
* @run main/othervm/policy=security.policy GetClassLoader * @run main/othervm/policy=security.policy GetClassLoader
*/ */
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary FnnClass FnnUnmarshal LoadProxyClasses NonpublicInterface * @build TestLibrary FnnClass FnnUnmarshal NonpublicInterface
* @build NonpublicInterface1 PublicInterface PublicInterface1 * NonpublicInterface1 PublicInterface PublicInterface1
* @run main/othervm/policy=security.policy LoadProxyClasses * @run main/othervm/policy=security.policy LoadProxyClasses
*/ */
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
* been used for the RMI class loader instance. * been used for the RMI class loader instance.
* @author Peter Jones * @author Peter Jones
* *
* @build NoSecurityManager Dummy LocalDummy * @build Dummy LocalDummy
* @run main/othervm/timeout=120 NoSecurityManager * @run main/othervm/timeout=120 NoSecurityManager
*/ */
......
...@@ -30,11 +30,7 @@ ...@@ -30,11 +30,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary ServiceConfiguration TestProvider TestProvider2
* @build ContextInsulation
* @build ServiceConfiguration
* @build TestProvider
* @build TestProvider2
* @run main/othervm/policy=security.policy ContextInsulation * @run main/othervm/policy=security.policy ContextInsulation
*/ */
......
...@@ -29,10 +29,7 @@ ...@@ -29,10 +29,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary ServiceConfiguration Foo
* @build DefaultProperty
* @build ServiceConfiguration
* @build Foo
* @run main/othervm/policy=security.policy DefaultProperty * @run main/othervm/policy=security.policy DefaultProperty
*/ */
......
...@@ -29,11 +29,7 @@ ...@@ -29,11 +29,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary ServiceConfiguration TestProvider TestProvider2
* @build Installed
* @build ServiceConfiguration
* @build TestProvider
* @build TestProvider2
* @run main/othervm/policy=security.policy Installed * @run main/othervm/policy=security.policy Installed
*/ */
......
...@@ -29,9 +29,7 @@ ...@@ -29,9 +29,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary ServiceConfiguration
* @build InvalidProperty
* @build ServiceConfiguration
* @run main/othervm/policy=security.policy InvalidProperty * @run main/othervm/policy=security.policy InvalidProperty
*/ */
......
...@@ -29,10 +29,7 @@ ...@@ -29,10 +29,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary ServiceConfiguration TestProvider
* @build Property
* @build ServiceConfiguration
* @build TestProvider
* @run main/othervm/policy=security.policy Property * @run main/othervm/policy=security.policy Property
*/ */
......
...@@ -31,12 +31,7 @@ ...@@ -31,12 +31,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary Receiver UseCodebaseOnly_Stub Foo Bar
* @build Receiver
* @build UseCodebaseOnly
* @build UseCodebaseOnly_Stub
* @build Foo
* @build Bar
* @run main/othervm/policy=security.policy UseCodebaseOnly * @run main/othervm/policy=security.policy UseCodebaseOnly
*/ */
......
...@@ -30,8 +30,7 @@ ...@@ -30,8 +30,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary Dummy
* @build UseGetURLs Dummy
* @run main/othervm/policy=security.policy/timeout=120 UseGetURLs * @run main/othervm/policy=security.policy/timeout=120 UseGetURLs
*/ */
......
...@@ -28,11 +28,7 @@ ...@@ -28,11 +28,7 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../../testlibrary * @library ../../../../testlibrary
* @build Echo * @build TestLibrary Echo EchoImpl EchoImpl_Stub
* @build EchoImpl
* @build EchoImpl_Stub
* @build UseCustomSocketFactory
* @build TestLibrary
* @run main/othervm/policy=security.policy/timeout=360 UseCustomSocketFactory * @run main/othervm/policy=security.policy/timeout=360 UseCustomSocketFactory
*/ */
......
...@@ -29,12 +29,7 @@ ...@@ -29,12 +29,7 @@
* @author Laird Dornin; code borrowed from Ann Wollrath * @author Laird Dornin; code borrowed from Ann Wollrath
* *
* @library ../../../../testlibrary * @library ../../../../testlibrary
* @build Hello * @build TestLibrary Compress Hello HelloImpl HelloImpl_Stub
* @build HelloImpl
* @build HelloImpl_Stub
* @build TestLibrary
* @build UseCustomSocketFactory
* @build Compress
* @run main/othervm/policy=security.policy/timeout=240 UseCustomSocketFactory * @run main/othervm/policy=security.policy/timeout=240 UseCustomSocketFactory
*/ */
......
...@@ -29,11 +29,7 @@ ...@@ -29,11 +29,7 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../../testlibrary * @library ../../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe * @build TestLibrary RMID JavaVM Echo EchoImpl EchoImpl_Stub
* @build Echo
* @build EchoImpl
* @build EchoImpl_Stub
* @build UseCustomSocketFactory
* @run main/othervm/policy=security.policy/timeout=120 UseCustomSocketFactory * @run main/othervm/policy=security.policy/timeout=120 UseCustomSocketFactory
*/ */
......
...@@ -29,9 +29,7 @@ ...@@ -29,9 +29,7 @@
* (specifically: stubs) that contain the instance's RemoteRef. * (specifically: stubs) that contain the instance's RemoteRef.
* @author Peter Jones * @author Peter Jones
* *
* @build NotExtending * @build NotExtending_Stub NotExtending_Skel
* @build NotExtending_Stub
* @build NotExtending_Skel
* @run main/othervm/timeout=240 NotExtending * @run main/othervm/timeout=240 NotExtending
*/ */
......
...@@ -21,16 +21,16 @@ ...@@ -21,16 +21,16 @@
* questions. * questions.
*/ */
/** /*
* @test * @test
* @bug 4251010 * @bug 4251010
* @summary equals does not works on stub objects created with * @summary equals does not works on stub objects created with
* custom socket AndFactory * custom socket AndFactory
* @library ../../../testlibrary * @author Laird Dornin
* *
* @build VerifyRemoteEquals * @library ../../../testlibrary
* @build TestLibrary
* @run main/othervm/timeout=40 VerifyRemoteEquals * @run main/othervm/timeout=40 VerifyRemoteEquals
* @author Laird Dornin
*/ */
import java.io.*; import java.io.*;
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
* @summary retryServerSocket should not retry on BindException * @summary retryServerSocket should not retry on BindException
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../testlibrary
* @build AddrInUse
* @run main/othervm AddrInUse * @run main/othervm AddrInUse
*/ */
......
...@@ -31,8 +31,7 @@ ...@@ -31,8 +31,7 @@
* *
* @author Ann Wollrath * @author Ann Wollrath
* *
* @build ChangeHostName * @build ChangeHostName ChangeHostName_Stub
* @build ChangeHostName_Stub
* @run main/othervm ChangeHostName * @run main/othervm ChangeHostName
*/ */
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
* @bug 6597112 * @bug 6597112
* @summary GC'ing objects whilst being exported to RMI should not cause exceptions * @summary GC'ing objects whilst being exported to RMI should not cause exceptions
* @author Neil Richards <neil.richards@ngmr.net>, <neil_richards@uk.ibm.com> * @author Neil Richards <neil.richards@ngmr.net>, <neil_richards@uk.ibm.com>
* @run main GcDuringExport
*/ */
import java.rmi.Remote; import java.rmi.Remote;
......
...@@ -32,14 +32,8 @@ ...@@ -32,14 +32,8 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary JavaVM KeepAliveDuringCall_Stub
* @build JavaVM * ShutdownMonitor Shutdown ShutdownImpl ShutdownImpl_Stub
* @build KeepAliveDuringCall
* @build KeepAliveDuringCall_Stub
* @build ShutdownMonitor
* @build Shutdown
* @build ShutdownImpl
* @build ShutdownImpl_Stub
* @run main/othervm KeepAliveDuringCall * @run main/othervm KeepAliveDuringCall
*/ */
......
...@@ -31,8 +31,7 @@ ...@@ -31,8 +31,7 @@
* IOException (see fix for bugid 4017232). * IOException (see fix for bugid 4017232).
* @author Peter Jones * @author Peter Jones
* *
* @build MarshalAfterUnexport * @build MarshalAfterUnexport MarshalAfterUnexport_Stub
* @build MarshalAfterUnexport_Stub
* @run main/othervm MarshalAfterUnexport * @run main/othervm MarshalAfterUnexport
*/ */
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
* @author Peter Jones * @author Peter Jones
* @author Ann Wollrath * @author Ann Wollrath
* *
* @build MarshalAfterUnexport2 * @build MarshalAfterUnexport2 MarshalAfterUnexport2_Stub
* @build MarshalAfterUnexport2_Stub
* @run main/othervm MarshalAfterUnexport2 * @run main/othervm MarshalAfterUnexport2
*/ */
......
...@@ -29,10 +29,7 @@ ...@@ -29,10 +29,7 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build UnexportLeak * @build TestLibrary UnexportLeak_Stub Ping
* @build UnexportLeak_Stub
* @build TestLibrary
* @build Ping
* @run main/othervm UnexportLeak * @run main/othervm UnexportLeak
*/ */
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
* @bug 4442373 * @bug 4442373
* @summary Verify that RMI can successfully unmarshal Class objects for * @summary Verify that RMI can successfully unmarshal Class objects for
* primitive types. * primitive types.
* @run main PrimitiveClasses
*/ */
import java.rmi.MarshalledObject; import java.rmi.MarshalledObject;
......
...@@ -31,10 +31,8 @@ ...@@ -31,10 +31,8 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe * @build TestLibrary CheckUnmarshal CheckUnmarshalOnStopThread_Stub
* @build CheckUnmarshall PoisonPill RuntimeExceptionParameter * PoisonPill RuntimeExceptionParameter
* @build CheckUnmarshalOnStopThread
* @build CheckUnmarshalOnStopThread_Stub
* @run main/othervm/timeout=480 CheckUnmarshalOnStopThread * @run main/othervm/timeout=480 CheckUnmarshalOnStopThread
*/ */
......
...@@ -35,9 +35,7 @@ ...@@ -35,9 +35,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build FiniteGCLatency * @build TestLibrary FiniteGCLatency_Stub
* @build FiniteGCLatency_Stub
* @build TestLibrary
* @run main/othervm/timeout=120 FiniteGCLatency * @run main/othervm/timeout=120 FiniteGCLatency
*/ */
......
...@@ -37,11 +37,7 @@ ...@@ -37,11 +37,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build TestLibrary * @build TestLibrary JavaVM LeaseCheckInterval_Stub SelfTerminator
* @build JavaVM
* @build LeaseCheckInterval
* @build LeaseCheckInterval_Stub
* @build SelfTerminator
* @run main/othervm LeaseCheckInterval * @run main/othervm LeaseCheckInterval
*/ */
......
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
* invoked. * invoked.
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../testlibrary
* @build MarshalledObjectGet
* @build MarshalledObjectGet_Stub * @build MarshalledObjectGet_Stub
* @run main/othervm/timeout=120 MarshalledObjectGet * @run main/othervm/timeout=120 MarshalledObjectGet
*/ */
......
...@@ -39,9 +39,7 @@ ...@@ -39,9 +39,7 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../../testlibrary * @library ../../../testlibrary
* @build UnreferencedContext * @build TestLibrary UnreferencedContext_Stub
* @build UnreferencedContext_Stub
* @build TestLibrary
* @run main/othervm/timeout=120 UnreferencedContext * @run main/othervm/timeout=120 UnreferencedContext
*/ */
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build ClientStackTrace MyRemoteObject_Stub TestLibrary TestParams * @build TestLibrary ClientStackTrace MyRemoteObject_Stub
* @run main/othervm/policy=security.policy/timeout=120 ClientStackTrace * @run main/othervm/policy=security.policy/timeout=120 ClientStackTrace
*/ */
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build GetRemoteClass TestLibrary TestParams * @build TestLibrary
* @run main/othervm GetRemoteClass * @run main/othervm GetRemoteClass
*/ */
......
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
* serialized with the Throwable from the server. * serialized with the Throwable from the server.
* @author Peter Jones * @author Peter Jones
* *
* @build ServerStackTrace * @build ServerStackTrace ServerStackTrace_Stub
* @build ServerStackTrace_Stub
* @run main/othervm ServerStackTrace * @run main/othervm ServerStackTrace
*/ */
......
...@@ -36,10 +36,7 @@ ...@@ -36,10 +36,7 @@
* for reasons of performance or confidentiality requirements. * for reasons of performance or confidentiality requirements.
* @author Peter Jones * @author Peter Jones
* *
* @build SuppressStackTraces * @build SuppressStackTraces Impl2_Stub Impl1_Stub Impl1_Skel
* @build Impl2_Stub
* @build Impl1_Stub
* @build Impl1_Skel
* @run main/othervm SuppressStackTraces * @run main/othervm SuppressStackTraces
*/ */
......
...@@ -31,11 +31,7 @@ ...@@ -31,11 +31,7 @@
* 4180392 * 4180392
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build UseCustomRef * @build TestLibrary Ping UseCustomRef_Stub UseCustomRef_Skel
* @build Ping
* @build UseCustomRef_Stub
* @build UseCustomRef_Skel
* @build TestLibrary
* @run main/othervm/policy=security.policy/secure=java.rmi.RMISecurityManager/timeout=120 UseCustomRef * @run main/othervm/policy=security.policy/secure=java.rmi.RMISecurityManager/timeout=120 UseCustomRef
* *
* This test was failing to run because the synthetic access * This test was failing to run because the synthetic access
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
* exception for which it doesn't even consult the RMIFailureHandler. * exception for which it doesn't even consult the RMIFailureHandler.
* @author Peter Jones * @author Peter Jones
* *
* @build CloseServerSocketOnTermination
* @run main/othervm CloseServerSocketOnTermination * @run main/othervm CloseServerSocketOnTermination
*/ */
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build CheckFQDN CheckFQDNClient CheckFQDN_Stub TellServerName * @build TestLibrary CheckFQDNClient CheckFQDN_Stub TellServerName
* @build TestLibrary
* @run main/othervm/timeout=120 CheckFQDN * @run main/othervm/timeout=120 CheckFQDN
*/ */
......
...@@ -28,8 +28,7 @@ ...@@ -28,8 +28,7 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build CheckLeaseLeak CheckLeaseLeak_Stub LeaseLeakClient LeaseLeak * @build TestLibrary CheckLeaseLeak_Stub LeaseLeakClient LeaseLeak
* @build TestLibrary
* @run main/othervm/timeout=240 CheckLeaseLeak * @run main/othervm/timeout=240 CheckLeaseLeak
* *
*/ */
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build CloseServerSocket TestLibrary * @build TestLibrary
* @run main/othervm CloseServerSocket * @run main/othervm CloseServerSocket
*/ */
......
...@@ -28,11 +28,7 @@ ...@@ -28,11 +28,7 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build DGCDeadLock * @build TestLibrary Test TestImpl TestImpl_Stub
* @build Test
* @build TestImpl
* @build TestImpl_Stub
* @build TestLibrary
* @run main/othervm/policy=security.policy/timeout=360 DGCDeadLock * @run main/othervm/policy=security.policy/timeout=360 DGCDeadLock
*/ */
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build HandshakeFailure TestLibrary * @build TestLibrary
* @run main/othervm HandshakeFailure * @run main/othervm HandshakeFailure
*/ */
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build HandshakeTimeout TestLibrary * @build TestLibrary
* @run main/othervm HandshakeTimeout * @run main/othervm HandshakeTimeout
*/ */
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
* @author Dana Burns * @author Dana Burns
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build HttpSocketTest HttpSocketTest_Stub TestLibrary * @build TestLibrary HttpSocketTest HttpSocketTest_Stub
* @run main/othervm/policy=security.policy HttpSocketTest * @run main/othervm/policy=security.policy HttpSocketTest
*/ */
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build TestLibrary RapidExportUnexport * @build TestLibrary
* @run main/othervm RapidExportUnexport * @run main/othervm RapidExportUnexport
*/ */
......
...@@ -27,12 +27,9 @@ ...@@ -27,12 +27,9 @@
* @summary Incoming connections should be subject to timeout * @summary Incoming connections should be subject to timeout
* @author Adrian Colley * @author Adrian Colley
* *
* @library ../../testlibrary * @build TestIface TestImpl TestImpl_Stub
* @build TestIface * @run main/othervm/policy=security.policy/timeout=60
* @build TestImpl * -Dsun.rmi.transport.tcp.readTimeout=5000 ReadTimeoutTest
* @build TestImpl_Stub
* @build ReadTimeoutTest
* @run main/othervm/policy=security.policy/timeout=60 -Dsun.rmi.transport.tcp.readTimeout=5000 ReadTimeoutTest
*/ */
/* This test sets a very short read timeout, exports an object, and then /* This test sets a very short read timeout, exports an object, and then
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../testlibrary * @library ../../testlibrary
* @build ReuseDefaultPort TestLibrary * @build TestLibrary
* @run main/othervm ReuseDefaultPort * @run main/othervm ReuseDefaultPort
*/ */
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
* subsystems also not holding on to the loader in their daemon threads.] * subsystems also not holding on to the loader in their daemon threads.]
* @author Peter Jones * @author Peter Jones
* *
* @build RuntimeThreadInheritanceLeak
* @build RuntimeThreadInheritanceLeak_Stub * @build RuntimeThreadInheritanceLeak_Stub
* @run main/othervm RuntimeThreadInheritanceLeak * @run main/othervm RuntimeThreadInheritanceLeak
*/ */
......
...@@ -26,8 +26,7 @@ ...@@ -26,8 +26,7 @@
* @bug 4932837 6582235 * @bug 4932837 6582235
* @summary Test SslRMI[Client|Server]SocketFactory equals() and hashCode(). * @summary Test SslRMI[Client|Server]SocketFactory equals() and hashCode().
* @author Daniel Fuchs * @author Daniel Fuchs
* @run clean SocketFactoryTest *
* @run build SocketFactoryTest
* @run main SocketFactoryTest * @run main SocketFactoryTest
*/ */
......
...@@ -22,8 +22,10 @@ ...@@ -22,8 +22,10 @@
*/ */
/* @test /* @test
@bug 4094889 * @bug 4094889
@summary rmid can have a corrupted log * @summary rmid can have a corrupted log
*
* @run main LogAlignmentTest
*/ */
/* Fault: ReliableLog used RandomAccessFile.skipBytes() to seek past the end /* Fault: ReliableLog used RandomAccessFile.skipBytes() to seek past the end
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
* @bug 4319866 * @bug 4319866
* @summary Verify that ReliableLog.snapshotSize() returns correct snapshot * @summary Verify that ReliableLog.snapshotSize() returns correct snapshot
* file size even if LogHandler doesn't flush. * file size even if LogHandler doesn't flush.
*
* @run main SnapshotSize
*/ */
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
* @library ../../../../java/rmi/testlibrary * @library ../../../../java/rmi/testlibrary
* *
* @build StreamPipe * @build StreamPipe
* @build RmicDefault
* @run main RmicDefault * @run main RmicDefault
*/ */
......
...@@ -26,22 +26,24 @@ ...@@ -26,22 +26,24 @@
# @summary This test verifies that the new implementation of rmic # @summary This test verifies that the new implementation of rmic
# generates equivalent classes as the old implementation, for a set # generates equivalent classes as the old implementation, for a set
# of sample input classes. # of sample input classes.
# @author Peter Jones
#
# @library ../../../../../java/rmi/testlibrary # @library ../../../../../java/rmi/testlibrary
#
# @build TestLibrary # @build TestLibrary
# @author Peter Jones # AgentServerImpl
# AppleImpl
# AppleUserImpl
# ComputeServerImpl
# CountServerImpl
# DayTimeServerImpl
# G1Impl
# MyObjectImpl
# NotActivatableServerImpl
# OrangeEchoImpl
# OrangeImpl
# ServerImpl
# #
# @build AgentServerImpl
# @build AppleImpl
# @build AppleUserImpl
# @build ComputeServerImpl
# @build CountServerImpl
# @build DayTimeServerImpl
# @build G1Impl
# @build MyObjectImpl
# @build NotActivatableServerImpl
# @build OrangeEchoImpl
# @build OrangeImpl
# @build ServerImpl
# @run shell run.sh # @run shell run.sh
if [ "${TESTJAVA}" = "" ] if [ "${TESTJAVA}" = "" ]
......
...@@ -31,8 +31,7 @@ ...@@ -31,8 +31,7 @@
* @author Peter Jones * @author Peter Jones
* *
* @library ../../../../../java/rmi/testlibrary * @library ../../../../../java/rmi/testlibrary
* @build JavaVM * @build TestLibrary JavaVM
* @build NoConsoleOutput
* @run main/othervm NoConsoleOutput * @run main/othervm NoConsoleOutput
*/ */
......
...@@ -28,11 +28,7 @@ ...@@ -28,11 +28,7 @@
* @author Laird Dornin * @author Laird Dornin
* *
* @library ../../../../../java/rmi/testlibrary * @library ../../../../../java/rmi/testlibrary
* @build TestLibrary * @build TestLibrary CheckLogging
* @build TestParams
* @build TestFailedException
* @build CheckLogging
* @build CheckLogStreams
* @run main/othervm -Dsun.rmi.log.useOld=true CheckLogStreams * @run main/othervm -Dsun.rmi.log.useOld=true CheckLogStreams
*/ */
......
...@@ -29,9 +29,6 @@ ...@@ -29,9 +29,6 @@
* *
* @library ../../../../../java/rmi/testlibrary * @library ../../../../../java/rmi/testlibrary
* @build TestLibrary * @build TestLibrary
* @build TestParams
* @build TestFailedException
* @build CheckLogging
* @run main/othervm CheckLogging * @run main/othervm CheckLogging
*/ */
......
...@@ -31,11 +31,7 @@ ...@@ -31,11 +31,7 @@
* @author Ann Wollrath * @author Ann Wollrath
* *
* @library ../../../../../java/rmi/testlibrary * @library ../../../../../java/rmi/testlibrary
* @build TestLibrary * @build TestLibrary Receiver MarshalForeignStub_Stub
* @build TestFailedException
* @build MarshalForeignStub
* @build Receiver
* @build MarshalForeignStub_Stub
* @run main/othervm/policy=security.policy MarshalForeignStub * @run main/othervm/policy=security.policy MarshalForeignStub
*/ */
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
* @bug 4290727 * @bug 4290727
* @summary Verify that ConnectException will trigger HTTP fallback if * @summary Verify that ConnectException will trigger HTTP fallback if
* sun.rmi.transport.proxy.eagerHttpFallback system property is set. * sun.rmi.transport.proxy.eagerHttpFallback system property is set.
*
* @library ../../../../java/rmi/testlibrary * @library ../../../../java/rmi/testlibrary
* @build TestLibrary * @build TestLibrary
* @run main/othervm EagerHttpFallback * @run main/othervm EagerHttpFallback
......
...@@ -25,9 +25,7 @@ ...@@ -25,9 +25,7 @@
* @bug 4094891 * @bug 4094891
* @summary unable to retry call if cached connection to server is used * @summary unable to retry call if cached connection to server is used
* @library ../../../../java/rmi/testlibrary * @library ../../../../java/rmi/testlibrary
* @build DeadCachedConnection * @build TestLibrary JavaVM
* @build JavaVM
* @build TestLibrary
* @run main/othervm DeadCachedConnection * @run main/othervm DeadCachedConnection
*/ */
......
...@@ -27,11 +27,8 @@ ...@@ -27,11 +27,8 @@
* @summary RMI blocks in HttpAwareServerSocket.accept() if you telnet to it * @summary RMI blocks in HttpAwareServerSocket.accept() if you telnet to it
* @author Adrian Colley * @author Adrian Colley
* *
* @library ../../../../../java/rmi/testlibrary/ * @library ../../../../../java/rmi/testlibrary
* @build TestIface * @build TestIface TestImpl TestImpl_Stub
* @build TestImpl
* @build TestImpl_Stub
* @build BlockAcceptTest
* @run main/othervm/policy=security.policy/timeout=60 BlockAcceptTest * @run main/othervm/policy=security.policy/timeout=60 BlockAcceptTest
*/ */
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
* on that port, rather than engage in the deprecated "multiplexing protocol". * on that port, rather than engage in the deprecated "multiplexing protocol".
* @author Peter Jones * @author Peter Jones
* *
* @build DisableMultiplexing
* @build DisableMultiplexing_Stub * @build DisableMultiplexing_Stub
* @run main/othervm DisableMultiplexing * @run main/othervm DisableMultiplexing
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册