8004748: clean up @build tags in RMI tests

Reviewed-by: alanb, darcy, mchung
This commit is contained in:
Stuart Marks 2012-12-12 09:53:01 -08:00
parent bf46e16bbc
commit 38887c7167
119 changed files with 177 additions and 364 deletions
jdk/test/java/rmi
MarshalledObject/compare
Naming
RMISecurityManager/checkPackageAccess
activation
Activatable
checkActivateRef
checkAnnotations
checkImplClassLoader
checkRegisterInLog
createPrivateActivable
downloadParameterClass
elucidateNoSuchMethod
extLoadedImpl
forceLogSnapshot
inactiveGroup
lookupActivationSystem
nestedActivate
nonExistentActivatable
restartCrashedService
restartLatecomer
restartService
shutdownGracefully
unregisterInactive
ActivateFailedException/activateFails
ActivationGroup/downloadActivationGroup
ActivationGroupDesc/checkDefaultGroupName
ActivationSystem
activeGroup
modifyDescriptor
stubClassesPermitted
unregisterGroup
CommandEnvironment
checkusage
log
rmidViaInheritedChannel
dgc
invalidName
registry
altSecurityManager
checkusage
classPathCodebase
interfaceHash
multipleRegistries
readTest
reexport
reliability
server
ObjID/randomIDs
RMIClassLoader
RMISocketFactory/useSocketFactory
RemoteObject
notExtending
verifyRemoteEquals
RemoteServer
UnicastRemoteObject
Unmarshal
Unreferenced
finiteGCLatency
leaseCheckInterval
marshalledObjectGet
unreferencedContext
clientStackTrace
getRemoteClass
serverStackTrace
useCustomRef
transport

@ -29,7 +29,6 @@
* not involved in location should be compared.
* @author Ken Arnold
*
* @build Compare
* @run main Compare 11 annotatedRef
*/

@ -27,7 +27,6 @@
* @summary MarshalledObject with null throws NullPointerException
* @author Ken Arnold
*
* @build HashCode
* @run main HashCode 11 annotatedRef
*/

@ -27,7 +27,6 @@
* @summary MarshalledObject with null throws NullPointerException
* @author Ken Arnold
*
* @build NullReference
* @run main NullReference
*/

@ -28,7 +28,6 @@
* @author Dana Burns
* @library ../testlibrary
* @build TestLibrary
* @build DefaultRegistryPort
* @run main DefaultRegistryPort
*/

@ -22,12 +22,11 @@
*/
/* @test
* @summary Ensure that java.rmi.Naming.lookup can handle URLs containing
* IPv6 addresses.
* @bug 4402708
*
* @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;

@ -30,7 +30,6 @@
*
* @library ../testlibrary
* @build TestLibrary
* @build RmiIsNoScheme
* @run main/othervm RmiIsNoScheme
*/

@ -29,8 +29,7 @@
* @author Vinod Johnson
*
* @library ../testlibrary
* @build TestLibrary
* @build UnderscoreHost UnderscoreHost_Stub
* @build TestLibrary UnderscoreHost_Stub
* @run main/othervm UnderscoreHost
*/

@ -21,14 +21,13 @@
* questions.
*/
/**
/*
* @test
* @bug 4254808
* @summary Naming assumes '/' is present in relative URL; change in URL causes regression
* @author Dana Burns
* @library ../../testlibrary
* @build TestLibrary
* @build Legal LegalRegistryNames LegalRegistryNames_Stub
* @build TestLibrary Legal LegalRegistryNames_Stub
* @run main LegalRegistryNames
*/

@ -28,10 +28,9 @@
* 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
* the sun.* package hierarchy is denied (without explicit runtime permission
* "accessClassInPackge.*").
* "accessClassInPackage.*").
* @author Peter Jones
*
* @build CheckPackageAccess
* @run main/othervm CheckPackageAccess
*/

@ -36,8 +36,7 @@
* functionality is in place
*
* @library ../../../testlibrary
* @build TestLibrary RMID
* @build ActivateMe CheckActivateRef_Stub CheckActivateRef
* @build TestLibrary RMID ActivateMe CheckActivateRef_Stub
* @run main/othervm/policy=security.policy/timeout=240 -Djava.rmi.server.ignoreStubClasses=true CheckActivateRef
* @run main/othervm/policy=security.policy/timeout=240 -Djava.rmi.server.ignoreStubClasses=false CheckActivateRef
*/

@ -28,10 +28,7 @@
* @author Laird Dornin; code borrowed from Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe
* @build MyRMI
* @build CheckAnnotations
* @build CheckAnnotations_Stub
* @build TestLibrary RMID MyRMI CheckAnnotations_Stub
* @run main/othervm/policy=security.policy/timeout=480 CheckAnnotations
*/

@ -24,14 +24,11 @@
/* @test
* @bug 4289544
* @summary ActivationGroupImpl.newInstance does not set context classloader for impl
*
* @author Laird Dornin; code borrowed from Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe
* @build MyRMI
* @build CheckImplClassLoader ActivatableImpl
* @build ActivatableImpl ActivatableImpl_Stub
* @build TestLibrary RMID
* MyRMI ActivatableImpl ActivatableImpl ActivatableImpl_Stub
* @run main/othervm/policy=security.policy/timeout=150 CheckImplClassLoader
*/

@ -27,8 +27,8 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build RMID ActivationLibrary TestLibrary
* @build ActivateMe CheckRegisterInLog CheckRegisterInLog_Stub
* @build TestLibrary RMID ActivationLibrary
* ActivateMe CheckRegisterInLog_Stub
* @run main/othervm/policy=security.policy/timeout=240 CheckRegisterInLog
*/

@ -22,14 +22,12 @@
*/
/* @test
* @author Laird Dornin
* @bug 4164971
* @summary allow non-public activatable class and/or constructor
* @author Laird Dornin
*
* @library ../../../testlibrary
* @build TestLibrary RMID
* @build ActivateMe
* @build CreatePrivateActivatable
* @build TestLibrary RMID ActivateMe
* @run main/othervm/policy=security.policy/timeout=240 CreatePrivateActivatable
*/

@ -32,11 +32,7 @@
*
* @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary
* @build DownloadParameterClass
* @build Foo
* @build FooReceiverImpl
* @build FooReceiverImpl_Stub
* @build Bar
* Foo FooReceiverImpl FooReceiverImpl_Stub Bar
* @run main/othervm/policy=security.policy/timeout=240 DownloadParameterClass
*/

@ -23,14 +23,11 @@
/* @test
* @bug 4128620
*
* @summary synopsis: NoSuchMethodError should be elucidated
*
* @author Laird Dornin
*
* @library ../../../testlibrary
* @build TestLibrary RMID
* @build ActivateMe ElucidateNoSuchMethod ElucidateNoSuchMethod_Stub
* @build TestLibrary RMID ActivateMe ElucidateNoSuchMethod_Stub
* @run main/othervm/policy=security.policy/timeout=240 ElucidateNoSuchMethod
*/

@ -28,7 +28,7 @@
# set to the impl's class loader) when the impl is activated.
# @library ../../../testlibrary
# @build TestLibrary RMID ActivationLibrary
# @build ExtLoadedImplTest ExtLoadedImpl ExtLoadedImpl_Stub CheckLoader
# ExtLoadedImplTest ExtLoadedImpl ExtLoadedImpl_Stub CheckLoader
# @run shell ext.sh
OS=`uname -s`

@ -27,9 +27,8 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
* @build ActivateMe
* @build ForceLogSnapshot
* @build ForceLogSnapshot_Stub
* @build TestLibrary RMID ActivationLibrary
* ActivateMe ForceLogSnapshot_Stub
* @run main/othervm/policy=security.policy/timeout=640 ForceLogSnapshot
*/

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

@ -24,14 +24,12 @@
/*
* @test
* @bug 6245733
*
* @summary synopsis: rmid's registry's list operation doesn't include
* activation system
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary
* @build LookupActivationSystem
* @run main/othervm/timeout=240 LookupActivationSystem
*/

@ -23,15 +23,11 @@
/* @test
* @bug 4138056
*
* @summary synopsis: Activating objects from an Activatable constructor causes deadlock
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary
* @build ActivateMe
* @build NestedActivate
* @build NestedActivate_Stub
* @build TestLibrary RMID ActivationLibrary ActivateMe NestedActivate_Stub
* @run main/othervm/policy=security.policy/timeout=240 NestedActivate
*/

@ -23,16 +23,13 @@
/* @test
* @bug 4115296
*
* @summary synopsis: NoSuchObjectException not thrown for non-existent
* activatable objects
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary
* @build ActivateMe
* @build NonExistentActivatable
* @build NonExistentActivatable_Stub
* ActivateMe NonExistentActivatable_Stub
* @run main/othervm/policy=security.policy/timeout=240 NonExistentActivatable
*/

@ -28,10 +28,7 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe
* @build ActivateMe
* @build RestartCrashedService
* @build RestartCrashedService_Stub
* @build TestLibrary RMID ActivateMe RestartCrashedService_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartCrashedService
*/

@ -28,8 +28,7 @@
*
* @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary
* @build RestartLatecomer
* @build RestartLatecomer_Stub
* RestartLatecomer RestartLatecomer_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartLatecomer
*/

@ -23,15 +23,11 @@
/* @test
* @bug 4095165 4321151
* @summary synopsis: activator should restart daemon services
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary
* @build ActivateMe
* @build RestartService
* @build RestartService_Stub
* @build TestLibrary RMID ActivationLibrary ActivateMe RestartService_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartService
*/

@ -28,11 +28,8 @@
* @author Laird Dornin; code borrowed from Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe
* @build TestSecurityManager
* @build RegisteringActivatable
* @build ShutdownGracefully
* @build ShutdownGracefully_Stub
* @build TestLibrary RMID
* TestSecurityManager RegisteringActivatable ShutdownGracefully_Stub
* @run main/othervm/policy=security.policy/timeout=700 ShutdownGracefully
*/

@ -23,16 +23,12 @@
/* @test
* @bug 4115331
* @summary synopsis: activatable object fails to go inactive after
* unregister/inactive sequence.
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary
* @build ActivateMe
* @build UnregisterInactive
* @build UnregisterInactive_Stub
* @build TestLibrary RMID ActivationLibrary ActivateMe UnregisterInactive_Stub
* @run main/othervm/policy=security.policy/timeout=240 UnregisterInactive
*/

@ -31,11 +31,8 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe
* @build ActivateMe
* @build ActivateFails
* @build ActivateFails_Stub
* @build ShutdownThread
* @build TestLibrary RMID ActivationLibrary
* ActivateMe ActivateFails_Stub ShutdownThread
* @run main/othervm/policy=security.policy/timeout=240 ActivateFails
*/

@ -33,9 +33,7 @@
*
* @library ../../../testlibrary
* @build TestLibrary RMID ActivationLibrary
* @build MyActivationGroupImpl
* @build DownloadActivationGroup
* @build DownloadActivationGroup_Stub
* DownloadActivationGroup MyActivationGroupImpl DownloadActivationGroup_Stub
* @run main/othervm/policy=security.policy/timeout=240 DownloadActivationGroup
*/

@ -21,16 +21,15 @@
* questions.
*/
/**
/*
* @test
* @bug 4252236
* @summary ActivationGroupDesc should not do early binding of default classname
* @library ../../../testlibrary
*
* @build CheckDefaultGroupName
*
* @run main CheckDefaultGroupName
* @author Laird Dornin
*
* @library ../../../testlibrary
* @build TestLibrary
* @run main CheckDefaultGroupName
*/
import java.rmi.activation.*;

@ -23,15 +23,13 @@
/* @test
* @bug 4720528
*
* @summary synopsis: (spec) ActivationSystem.activeGroup spec should be
* relaxed (duplicate call to activeGroup with same instantiator and
* incarnation should not throw ActivationException; it should succeed)
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary RMID
* @build IdempotentActiveGroup
* @build TestLibrary RMID ActivationLibrary
* @run main/othervm/policy=security.policy/timeout=480 IdempotentActiveGroup
*/

@ -29,9 +29,8 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build ActivateMe
* @build ModifyDescriptor
* @build ModifyDescriptor_Stub
* @build TestLibrary RMID ActivationLibrary
* ActivateMe ModifyDescriptor_Stub
* @run main/othervm/policy=security.policy/timeout=240 ModifyDescriptor
*/

@ -24,14 +24,11 @@
/* @test
* @bug 4179055
* @summary Some java apps need to have access to read "accessClassInPackage.sun.rmi.server"
*
* @author Laird Dornin
*
* @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe ActivationLibrary
* @build CanCreateStubs
* @build StubClassesPermitted
* @build StubClassesPermitted_Stub
* @build TestLibrary RMID ActivationLibrary
* CanCreateStubs StubClassesPermitted_Stub
* @run main/othervm/policy=security.policy/secure=java.lang.SecurityManager/timeout=240 StubClassesPermitted
*/

@ -24,16 +24,12 @@
/* @test
* @bug 4134233
* @bug 4213186
*
* @summary synopsis: ActivationSystem.unregisterGroup should unregister objects in group
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe
* @build ActivateMe CallbackInterface
* @build UnregisterGroup
* @build UnregisterGroup_Stub
* @build Callback_Stub
* @build TestLibrary RMID ActivationLibrary
* ActivateMe CallbackInterface UnregisterGroup_Stub Callback_Stub
* @run main/othervm/policy=security.policy/timeout=480 UnregisterGroup
*/

@ -27,7 +27,6 @@
* ActivationGroupDesc.CommandEnvironment
* @author Ann Wollrath
*
* @build NullOptions
* @run main/othervm/timeout=240 NullOptions
*/

@ -35,9 +35,10 @@
* @author Adrian Colley
*
* @library ../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe
* @build Eliza Retireable Doctor Doctor_Stub SetChildEnv
* @run main/othervm/timeout=240/policy=security.policy -Djava.compiler=NONE SetChildEnv
* @build TestLibrary RMID ActivationLibrary
* Eliza Retireable Doctor Doctor_Stub
* @run main/othervm/timeout=240/policy=security.policy
* -Djava.compiler=NONE SetChildEnv
*/
import java.rmi.*;
import java.util.Properties;

@ -25,7 +25,7 @@
* @bug 4259564
*
* @library ../../testlibrary
* @build TestLibrary JavaVM CheckUsage
* @build TestLibrary JavaVM
* @run main/othervm CheckUsage
*/

@ -29,7 +29,6 @@
* boundaries
* @author Ann Wollrath
*
* @build LogTest
* @run main/othervm/timeout=240 LogTest
*/

@ -29,8 +29,7 @@
* @author Peter Jones
*
* @library ../../testlibrary
* @build RMID ActivationLibrary
* @build InheritedChannelNotServerSocket
* @build TestLibrary RMID ActivationLibrary
* @run main/othervm/timeout=240 InheritedChannelNotServerSocket
*/

@ -27,9 +27,7 @@
* @author Ann Wollrath
*
* @library ../../testlibrary
* @build RMID ActivationLibrary
* @build RmidViaInheritedChannel
* @build TestLibrary
* @build TestLibrary RMID ActivationLibrary
* @run main/othervm/timeout=240 RmidViaInheritedChannel
*/

@ -30,7 +30,7 @@
* @author Ann Wollrath
*
* @library ../../testlibrary
* @build CheckVMID
* @build TestLibrary
* @run main/othervm/policy=security.policy CheckVMID
*/

@ -30,8 +30,7 @@
* rather than pinning it indefinitely.
* @author Peter Jones
*
* @build DGCAckFailure
* @build DGCAckFailure_Stub
* @build DGCAckFailure DGCAckFailure_Stub
* @run main/othervm DGCAckFailure
*/

@ -31,9 +31,7 @@
* @author Peter Jones
*
* @library ../../testlibrary
* @build TestLibrary
* @build DGCImplInsulation
* @build DGCImplInsulation_Stub
* @build TestLibrary DGCImplInsulation_Stub
* @run main/othervm/policy=security.policy DGCImplInsulation
*/

@ -29,8 +29,7 @@
* renewing that lease at all after the first failure.
* @author Peter Jones (inspired by Adrian Colley's test case in 4268258)
*
* @build RetryDirtyCalls
* @build RetryDirtyCalls_Stub
* @build RetryDirtyCalls RetryDirtyCalls_Stub
* @run main/othervm RetryDirtyCalls
*/

@ -32,7 +32,7 @@
* @author Laird Dornin
*
* @library ../testlibrary
* @build InvalidName
* @build TestLibrary
* @run main/othervm InvalidName
*/

@ -27,8 +27,7 @@
* @author Laird Dornin
*
* @library ../../testlibrary
* @build StreamPipe TestParams TestLibrary JavaVM RMID
* @build AltSecurityManager TestSecurityManager
* @build TestLibrary JavaVM RMID TestSecurityManager
* @run main/othervm AltSecurityManager
*/

@ -27,7 +27,7 @@
* @author Laird Dornin
*
* @library ../../testlibrary
* @build TestLibrary JavaVM CheckUsage
* @build TestLibrary JavaVM
* @run main/othervm CheckUsage
*/

@ -30,7 +30,7 @@
* @author Peter Jones
*
* @library ../../testlibrary
* @build ClassPathCodebase Dummy TestLibrary
* @build TestLibrary Dummy
* @run main/othervm/policy=security.policy ClassPathCodebase
*/

@ -36,9 +36,7 @@
*
* @author Peter Jones
* @library ../../testlibrary
* @build InterfaceHash
* @build ReferenceRegistryStub
* @build TestLibrary
* @build TestLibrary ReferenceRegistryStub
* @run main/othervm InterfaceHash
*/

@ -28,7 +28,6 @@
*
* @library ../../testlibrary
* @build TestLibrary
* @build MultipleRegistries
* @run main/othervm/timeout=240 MultipleRegistries
*/

@ -25,7 +25,7 @@
# @bug 7102369 7094468 7100592
# @library ../../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
OS=`uname -s`

@ -25,9 +25,7 @@
* @bug 4120329
* @summary RMI registry creation is impossible if first attempt fails.
* @library ../../testlibrary
* @build StreamPipe TestParams TestLibrary JavaVM
* @build RegistryRunner RegistryRunner_Stub
* @build Reexport
* @build TestLibrary JavaVM RegistryRunner RegistryRunner_Stub
* @run main/othervm Reexport
*/

@ -27,20 +27,20 @@
# used to run the test under JTREG.
#
# @build bench.BenchInfo bench.HtmlReporter bench.Util bench.Benchmark
# @build bench.Reporter bench.XmlReporter bench.ConfigFormatException
# @build bench.Harness bench.TextReporter bench.rmi.BenchServer
# @build bench.rmi.DoubleArrayCalls bench.rmi.LongCalls bench.rmi.ShortCalls
# @build bench.rmi.BenchServerImpl bench.rmi.DoubleCalls
# @build bench.rmi.Main bench.rmi.SmallObjTreeCalls
# @build bench.rmi.BooleanArrayCalls bench.rmi.ExceptionCalls
# @build bench.rmi.NullCalls bench.rmi.BooleanCalls bench.rmi.ExportObjs
# @build bench.rmi.ObjArrayCalls bench.rmi.ByteArrayCalls
# @build bench.rmi.FloatArrayCalls bench.rmi.ObjTreeCalls
# @build bench.rmi.ByteCalls bench.rmi.FloatCalls bench.rmi.ProxyArrayCalls
# @build bench.rmi.CharArrayCalls bench.rmi.IntArrayCalls
# @build bench.rmi.RemoteObjArrayCalls bench.rmi.CharCalls bench.rmi.IntCalls
# @build bench.rmi.ClassLoading bench.rmi.LongArrayCalls
# @build bench.rmi.ShortArrayCalls bench.rmi.altroot.Node
# bench.Reporter bench.XmlReporter bench.ConfigFormatException
# bench.Harness bench.TextReporter bench.rmi.BenchServer
# bench.rmi.DoubleArrayCalls bench.rmi.LongCalls bench.rmi.ShortCalls
# bench.rmi.BenchServerImpl bench.rmi.DoubleCalls
# bench.rmi.Main bench.rmi.SmallObjTreeCalls
# bench.rmi.BooleanArrayCalls bench.rmi.ExceptionCalls
# bench.rmi.NullCalls bench.rmi.BooleanCalls bench.rmi.ExportObjs
# bench.rmi.ObjArrayCalls bench.rmi.ByteArrayCalls
# bench.rmi.FloatArrayCalls bench.rmi.ObjTreeCalls
# bench.rmi.ByteCalls bench.rmi.FloatCalls bench.rmi.ProxyArrayCalls
# bench.rmi.CharArrayCalls bench.rmi.IntArrayCalls
# bench.rmi.RemoteObjArrayCalls bench.rmi.CharCalls bench.rmi.IntCalls
# bench.rmi.ClassLoading bench.rmi.LongArrayCalls
# bench.rmi.ShortArrayCalls bench.rmi.altroot.Node
#
# @run shell/timeout=1800 runRmiBench.sh
#

@ -27,22 +27,22 @@
# used to run the test under JTREG.
#
# @build bench.BenchInfo bench.HtmlReporter bench.Util bench.Benchmark
# @build bench.Reporter bench.XmlReporter bench.ConfigFormatException
# @build bench.Harness bench.TextReporter
# @build bench.serial.BooleanArrays bench.serial.Booleans
# @build bench.serial.ByteArrays bench.serial.Bytes bench.serial.CharArrays
# @build bench.serial.Chars bench.serial.ClassDesc bench.serial.Cons
# @build bench.serial.CustomDefaultObjTrees bench.serial.CustomObjTrees
# @build bench.serial.DoubleArrays bench.serial.Doubles
# @build bench.serial.ExternObjTrees bench.serial.FloatArrays
# @build bench.serial.Floats bench.serial.GetPutFieldTrees
# @build bench.serial.IntArrays bench.serial.Ints bench.serial.LongArrays
# @build bench.serial.Longs bench.serial.Main bench.serial.ObjArrays
# @build bench.serial.ObjTrees bench.serial.ProxyArrays
# @build bench.serial.ProxyClassDesc bench.serial.RepeatObjs
# @build bench.serial.ReplaceTrees bench.serial.ShortArrays
# @build bench.serial.Shorts bench.serial.SmallObjTrees
# @build bench.serial.StreamBuffer bench.serial.Strings
# bench.Reporter bench.XmlReporter bench.ConfigFormatException
# bench.Harness bench.TextReporter
# bench.serial.BooleanArrays bench.serial.Booleans
# bench.serial.ByteArrays bench.serial.Bytes bench.serial.CharArrays
# bench.serial.Chars bench.serial.ClassDesc bench.serial.Cons
# bench.serial.CustomDefaultObjTrees bench.serial.CustomObjTrees
# bench.serial.DoubleArrays bench.serial.Doubles
# bench.serial.ExternObjTrees bench.serial.FloatArrays
# bench.serial.Floats bench.serial.GetPutFieldTrees
# bench.serial.IntArrays bench.serial.Ints bench.serial.LongArrays
# bench.serial.Longs bench.serial.Main bench.serial.ObjArrays
# bench.serial.ObjTrees bench.serial.ProxyArrays
# bench.serial.ProxyClassDesc bench.serial.RepeatObjs
# bench.serial.ReplaceTrees bench.serial.ShortArrays
# bench.serial.Shorts bench.serial.SmallObjTrees
# bench.serial.StreamBuffer bench.serial.Strings
#
# @run shell/timeout=1800 runSerialBench.sh
#

@ -55,11 +55,10 @@
* has been reached.
*
* @library ../../testlibrary
*
* @build Apple AppleEvent AppleImpl AppleUserImpl
* @build Orange OrangeEcho OrangeEchoImpl OrangeImpl
* @build ApplicationServer
* @build TestLibrary
* Apple AppleEvent AppleImpl
* Orange OrangeEcho OrangeEchoImpl OrangeImpl
* ApplicationServer
*
* @run main/othervm/policy=security.policy AppleUserImpl -seconds 30
*

@ -30,7 +30,6 @@
* ObjID() should still generate sequential object numbers.
* @author Peter Jones
*
* @build RandomIDs
* @run main/othervm RandomIDs random
* @run main/othervm -Djava.rmi.server.randomIDs=true RandomIDs random
* @run main/othervm -Djava.rmi.server.randomIDs=false RandomIDs sequential

@ -33,9 +33,7 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build TestLibrary
* @build DelegateBeforePermissionCheck
* @build Foo
* @build TestLibrary Foo
* @run main/othervm DelegateBeforePermissionCheck
*/

@ -29,7 +29,7 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build DelegateToContextLoader Dummy
* @build TestLibrary Dummy
* @run main/othervm/policy=security.policy/timeout=120 DelegateToContextLoader
*/

@ -31,11 +31,7 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build TestLibrary
* @build Receiver
* @build DownloadArrayClass
* @build DownloadArrayClass_Stub
* @build Foo
* @build TestLibrary Receiver DownloadArrayClass_Stub Foo
* @run main/othervm/policy=security.policy DownloadArrayClass
*/

@ -29,7 +29,6 @@
*
* @library ../../../testlibrary
* @build TestLibrary
* @build NullClass
* @run main/othervm NullClass
*/

@ -29,9 +29,7 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build TestLibrary
* @build GetClassLoader
* @build Foo
* @build TestLibrary Foo
* @run main/othervm/policy=security.policy GetClassLoader
*/

@ -30,8 +30,8 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
* @build TestLibrary FnnClass FnnUnmarshal LoadProxyClasses NonpublicInterface
* @build NonpublicInterface1 PublicInterface PublicInterface1
* @build TestLibrary FnnClass FnnUnmarshal NonpublicInterface
* NonpublicInterface1 PublicInterface PublicInterface1
* @run main/othervm/policy=security.policy LoadProxyClasses
*/

@ -30,7 +30,7 @@
* been used for the RMI class loader instance.
* @author Peter Jones
*
* @build NoSecurityManager Dummy LocalDummy
* @build Dummy LocalDummy
* @run main/othervm/timeout=120 NoSecurityManager
*/

@ -30,11 +30,7 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build TestLibrary
* @build ContextInsulation
* @build ServiceConfiguration
* @build TestProvider
* @build TestProvider2
* @build TestLibrary ServiceConfiguration TestProvider TestProvider2
* @run main/othervm/policy=security.policy ContextInsulation
*/

@ -29,10 +29,7 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build TestLibrary
* @build DefaultProperty
* @build ServiceConfiguration
* @build Foo
* @build TestLibrary ServiceConfiguration Foo
* @run main/othervm/policy=security.policy DefaultProperty
*/

@ -29,11 +29,7 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build TestLibrary
* @build Installed
* @build ServiceConfiguration
* @build TestProvider
* @build TestProvider2
* @build TestLibrary ServiceConfiguration TestProvider TestProvider2
* @run main/othervm/policy=security.policy Installed
*/

@ -29,9 +29,7 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build TestLibrary
* @build InvalidProperty
* @build ServiceConfiguration
* @build TestLibrary ServiceConfiguration
* @run main/othervm/policy=security.policy InvalidProperty
*/

@ -29,10 +29,7 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build TestLibrary
* @build Property
* @build ServiceConfiguration
* @build TestProvider
* @build TestLibrary ServiceConfiguration TestProvider
* @run main/othervm/policy=security.policy Property
*/

@ -31,12 +31,7 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build TestLibrary
* @build Receiver
* @build UseCodebaseOnly
* @build UseCodebaseOnly_Stub
* @build Foo
* @build Bar
* @build TestLibrary Receiver UseCodebaseOnly_Stub Foo Bar
* @run main/othervm/policy=security.policy UseCodebaseOnly
*/

@ -30,8 +30,7 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build TestLibrary
* @build UseGetURLs Dummy
* @build TestLibrary Dummy
* @run main/othervm/policy=security.policy/timeout=120 UseGetURLs
*/

@ -28,11 +28,7 @@
* @author Ann Wollrath
*
* @library ../../../../testlibrary
* @build Echo
* @build EchoImpl
* @build EchoImpl_Stub
* @build UseCustomSocketFactory
* @build TestLibrary
* @build TestLibrary Echo EchoImpl EchoImpl_Stub
* @run main/othervm/policy=security.policy/timeout=360 UseCustomSocketFactory
*/

@ -29,12 +29,7 @@
* @author Laird Dornin; code borrowed from Ann Wollrath
*
* @library ../../../../testlibrary
* @build Hello
* @build HelloImpl
* @build HelloImpl_Stub
* @build TestLibrary
* @build UseCustomSocketFactory
* @build Compress
* @build TestLibrary Compress Hello HelloImpl HelloImpl_Stub
* @run main/othervm/policy=security.policy/timeout=240 UseCustomSocketFactory
*/

@ -29,11 +29,7 @@
* @author Ann Wollrath
*
* @library ../../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe
* @build Echo
* @build EchoImpl
* @build EchoImpl_Stub
* @build UseCustomSocketFactory
* @build TestLibrary RMID JavaVM Echo EchoImpl EchoImpl_Stub
* @run main/othervm/policy=security.policy/timeout=120 UseCustomSocketFactory
*/

@ -29,9 +29,7 @@
* (specifically: stubs) that contain the instance's RemoteRef.
* @author Peter Jones
*
* @build NotExtending
* @build NotExtending_Stub
* @build NotExtending_Skel
* @build NotExtending_Stub NotExtending_Skel
* @run main/othervm/timeout=240 NotExtending
*/

@ -21,16 +21,16 @@
* questions.
*/
/**
/*
* @test
* @bug 4251010
* @summary equals does not works on stub objects created with
* custom socket AndFactory
* @library ../../../testlibrary
*
* @build VerifyRemoteEquals
* @run main/othervm/timeout=40 VerifyRemoteEquals
* @author Laird Dornin
*
* @library ../../../testlibrary
* @build TestLibrary
* @run main/othervm/timeout=40 VerifyRemoteEquals
*/
import java.io.*;

@ -26,8 +26,6 @@
* @summary retryServerSocket should not retry on BindException
* @author Ann Wollrath
*
* @library ../../testlibrary
* @build AddrInUse
* @run main/othervm AddrInUse
*/

@ -31,8 +31,7 @@
*
* @author Ann Wollrath
*
* @build ChangeHostName
* @build ChangeHostName_Stub
* @build ChangeHostName ChangeHostName_Stub
* @run main/othervm ChangeHostName
*/

@ -30,6 +30,7 @@
* @bug 6597112
* @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>
* @run main GcDuringExport
*/
import java.rmi.Remote;

@ -32,14 +32,8 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build TestLibrary
* @build JavaVM
* @build KeepAliveDuringCall
* @build KeepAliveDuringCall_Stub
* @build ShutdownMonitor
* @build Shutdown
* @build ShutdownImpl
* @build ShutdownImpl_Stub
* @build TestLibrary JavaVM KeepAliveDuringCall_Stub
* ShutdownMonitor Shutdown ShutdownImpl ShutdownImpl_Stub
* @run main/othervm KeepAliveDuringCall
*/

@ -31,8 +31,7 @@
* IOException (see fix for bugid 4017232).
* @author Peter Jones
*
* @build MarshalAfterUnexport
* @build MarshalAfterUnexport_Stub
* @build MarshalAfterUnexport MarshalAfterUnexport_Stub
* @run main/othervm MarshalAfterUnexport
*/

@ -33,8 +33,7 @@
* @author Peter Jones
* @author Ann Wollrath
*
* @build MarshalAfterUnexport2
* @build MarshalAfterUnexport2_Stub
* @build MarshalAfterUnexport2 MarshalAfterUnexport2_Stub
* @run main/othervm MarshalAfterUnexport2
*/

@ -29,10 +29,7 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
* @build UnexportLeak
* @build UnexportLeak_Stub
* @build TestLibrary
* @build Ping
* @build TestLibrary UnexportLeak_Stub Ping
* @run main/othervm UnexportLeak
*/

@ -25,6 +25,7 @@
* @bug 4442373
* @summary Verify that RMI can successfully unmarshal Class objects for
* primitive types.
* @run main PrimitiveClasses
*/
import java.rmi.MarshalledObject;

@ -31,10 +31,8 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
* @build TestLibrary RMID JavaVM StreamPipe
* @build CheckUnmarshall PoisonPill RuntimeExceptionParameter
* @build CheckUnmarshalOnStopThread
* @build CheckUnmarshalOnStopThread_Stub
* @build TestLibrary CheckUnmarshal CheckUnmarshalOnStopThread_Stub
* PoisonPill RuntimeExceptionParameter
* @run main/othervm/timeout=480 CheckUnmarshalOnStopThread
*/

@ -35,9 +35,7 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build FiniteGCLatency
* @build FiniteGCLatency_Stub
* @build TestLibrary
* @build TestLibrary FiniteGCLatency_Stub
* @run main/othervm/timeout=120 FiniteGCLatency
*/

@ -37,11 +37,7 @@
* @author Peter Jones
*
* @library ../../../testlibrary
* @build TestLibrary
* @build JavaVM
* @build LeaseCheckInterval
* @build LeaseCheckInterval_Stub
* @build SelfTerminator
* @build TestLibrary JavaVM LeaseCheckInterval_Stub SelfTerminator
* @run main/othervm LeaseCheckInterval
*/

@ -30,8 +30,6 @@
* invoked.
* @author Peter Jones
*
* @library ../../../testlibrary
* @build MarshalledObjectGet
* @build MarshalledObjectGet_Stub
* @run main/othervm/timeout=120 MarshalledObjectGet
*/

@ -39,9 +39,7 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
* @build UnreferencedContext
* @build UnreferencedContext_Stub
* @build TestLibrary
* @build TestLibrary UnreferencedContext_Stub
* @run main/othervm/timeout=120 UnreferencedContext
*/

@ -28,7 +28,7 @@
* @author Laird Dornin
*
* @library ../../testlibrary
* @build ClientStackTrace MyRemoteObject_Stub TestLibrary TestParams
* @build TestLibrary ClientStackTrace MyRemoteObject_Stub
* @run main/othervm/policy=security.policy/timeout=120 ClientStackTrace
*/

@ -28,7 +28,7 @@
* @author Laird Dornin
*
* @library ../../testlibrary
* @build GetRemoteClass TestLibrary TestParams
* @build TestLibrary
* @run main/othervm GetRemoteClass
*/

@ -29,8 +29,7 @@
* serialized with the Throwable from the server.
* @author Peter Jones
*
* @build ServerStackTrace
* @build ServerStackTrace_Stub
* @build ServerStackTrace ServerStackTrace_Stub
* @run main/othervm ServerStackTrace
*/

@ -36,10 +36,7 @@
* for reasons of performance or confidentiality requirements.
* @author Peter Jones
*
* @build SuppressStackTraces
* @build Impl2_Stub
* @build Impl1_Stub
* @build Impl1_Skel
* @build SuppressStackTraces Impl2_Stub Impl1_Stub Impl1_Skel
* @run main/othervm SuppressStackTraces
*/

@ -31,11 +31,7 @@
* 4180392
*
* @library ../../testlibrary
* @build UseCustomRef
* @build Ping
* @build UseCustomRef_Stub
* @build UseCustomRef_Skel
* @build TestLibrary
* @build TestLibrary Ping UseCustomRef_Stub UseCustomRef_Skel
* @run main/othervm/policy=security.policy/secure=java.rmi.RMISecurityManager/timeout=120 UseCustomRef
*
* This test was failing to run because the synthetic access

@ -31,7 +31,6 @@
* exception for which it doesn't even consult the RMIFailureHandler.
* @author Peter Jones
*
* @build CloseServerSocketOnTermination
* @run main/othervm CloseServerSocketOnTermination
*/

@ -33,8 +33,7 @@
* @author Laird Dornin
*
* @library ../../testlibrary
* @build CheckFQDN CheckFQDNClient CheckFQDN_Stub TellServerName
* @build TestLibrary
* @build TestLibrary CheckFQDNClient CheckFQDN_Stub TellServerName
* @run main/othervm/timeout=120 CheckFQDN
*/

@ -28,8 +28,7 @@
* @author Laird Dornin
*
* @library ../../testlibrary
* @build CheckLeaseLeak CheckLeaseLeak_Stub LeaseLeakClient LeaseLeak
* @build TestLibrary
* @build TestLibrary CheckLeaseLeak_Stub LeaseLeakClient LeaseLeak
* @run main/othervm/timeout=240 CheckLeaseLeak
*
*/

@ -31,7 +31,7 @@
* @author Peter Jones
*
* @library ../../testlibrary
* @build CloseServerSocket TestLibrary
* @build TestLibrary
* @run main/othervm CloseServerSocket
*/

@ -28,11 +28,7 @@
* @author Laird Dornin
*
* @library ../../testlibrary
* @build DGCDeadLock
* @build Test
* @build TestImpl
* @build TestImpl_Stub
* @build TestLibrary
* @build TestLibrary Test TestImpl TestImpl_Stub
* @run main/othervm/policy=security.policy/timeout=360 DGCDeadLock
*/

@ -31,7 +31,7 @@
* @author Peter Jones
*
* @library ../../testlibrary
* @build HandshakeFailure TestLibrary
* @build TestLibrary
* @run main/othervm HandshakeFailure
*/

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