8252002: remove usage of PropertyResolvingWrapper in vmTestbase/nsk/jdwp
Reviewed-by: cjplummer, sspitsyn
This commit is contained in:
parent
ffc97ba585
commit
a55cde4d6b
@ -57,9 +57,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ArrayReference.GetValues.getvalues001
|
||||
* nsk.jdwp.ArrayReference.GetValues.getvalues001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ArrayReference.GetValues.getvalues001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ArrayReference.GetValues.getvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -59,9 +59,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ArrayReference.GetValues.getvalues002
|
||||
* nsk.jdwp.ArrayReference.GetValues.getvalues002a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ArrayReference.GetValues.getvalues002a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ArrayReference.GetValues.getvalues002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -56,9 +56,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ArrayReference.Length.length001
|
||||
* nsk.jdwp.ArrayReference.Length.length001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ArrayReference.Length.length001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ArrayReference.Length.length001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -59,9 +59,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ArrayReference.SetValues.setvalues001
|
||||
* nsk.jdwp.ArrayReference.SetValues.setvalues001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ArrayReference.SetValues.setvalues001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ArrayReference.SetValues.setvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -54,9 +54,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ArrayType.NewInstance.newinstance001
|
||||
* nsk.jdwp.ArrayType.NewInstance.newinstance001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ArrayType.NewInstance.newinstance001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ArrayType.NewInstance.newinstance001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -56,9 +56,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ClassLoaderReference.VisibleClasses.visibclasses001
|
||||
* nsk.jdwp.ClassLoaderReference.VisibleClasses.visibclasses001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ClassLoaderReference.VisibleClasses.visibclasses001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ClassLoaderReference.VisibleClasses.visibclasses001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -59,9 +59,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ClassObjectReference.ReflectedType.reflectype001
|
||||
* nsk.jdwp.ClassObjectReference.ReflectedType.reflectype001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ClassObjectReference.ReflectedType.reflectype001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ClassObjectReference.ReflectedType.reflectype001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -59,9 +59,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ClassType.InvokeMethod.invokemeth001
|
||||
* nsk.jdwp.ClassType.InvokeMethod.invokemeth001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ClassType.InvokeMethod.invokemeth001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ClassType.InvokeMethod.invokemeth001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -59,9 +59,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ClassType.NewInstance.newinst001
|
||||
* nsk.jdwp.ClassType.NewInstance.newinst001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ClassType.NewInstance.newinst001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ClassType.NewInstance.newinst001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -65,9 +65,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ClassType.SetValues.setvalues001
|
||||
* nsk.jdwp.ClassType.SetValues.setvalues001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ClassType.SetValues.setvalues001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ClassType.SetValues.setvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -55,9 +55,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ClassType.Superclass.superclass001
|
||||
* nsk.jdwp.ClassType.Superclass.superclass001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ClassType.Superclass.superclass001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ClassType.Superclass.superclass001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -59,9 +59,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.BREAKPOINT.breakpoint001
|
||||
* nsk.jdwp.Event.BREAKPOINT.breakpoint001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.BREAKPOINT.breakpoint001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.BREAKPOINT.breakpoint001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -59,9 +59,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.CLASS_PREPARE.clsprepare001
|
||||
* nsk.jdwp.Event.CLASS_PREPARE.clsprepare001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.CLASS_PREPARE.clsprepare001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.CLASS_PREPARE.clsprepare001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -61,9 +61,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.CLASS_UNLOAD.clsunload001
|
||||
* nsk.jdwp.Event.CLASS_UNLOAD.clsunload001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.CLASS_UNLOAD.clsunload001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.CLASS_UNLOAD.clsunload001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -48,9 +48,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.Composite.composite001
|
||||
* nsk.jdwp.Event.Composite.composite001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.Composite.composite001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.Composite.composite001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -63,9 +63,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.EXCEPTION.exception001
|
||||
* nsk.jdwp.Event.EXCEPTION.exception001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.EXCEPTION.exception001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.EXCEPTION.exception001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -62,9 +62,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.FIELD_ACCESS.fldaccess001
|
||||
* nsk.jdwp.Event.FIELD_ACCESS.fldaccess001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.FIELD_ACCESS.fldaccess001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.FIELD_ACCESS.fldaccess001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -63,9 +63,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.FIELD_MODIFICATION.fldmodification001
|
||||
* nsk.jdwp.Event.FIELD_MODIFICATION.fldmodification001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.FIELD_MODIFICATION.fldmodification001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.FIELD_MODIFICATION.fldmodification001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -60,9 +60,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.METHOD_ENTRY.methentry001
|
||||
* nsk.jdwp.Event.METHOD_ENTRY.methentry001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.METHOD_ENTRY.methentry001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.METHOD_ENTRY.methentry001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -60,9 +60,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.METHOD_EXIT.methexit001
|
||||
* nsk.jdwp.Event.METHOD_EXIT.methexit001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.METHOD_EXIT.methexit001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.METHOD_EXIT.methexit001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -62,9 +62,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.SINGLE_STEP.singlestep001
|
||||
* nsk.jdwp.Event.SINGLE_STEP.singlestep001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.SINGLE_STEP.singlestep001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.SINGLE_STEP.singlestep001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -62,9 +62,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.SINGLE_STEP.singlestep002
|
||||
* nsk.jdwp.Event.SINGLE_STEP.singlestep002a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.SINGLE_STEP.singlestep002a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.SINGLE_STEP.singlestep002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -62,9 +62,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.SINGLE_STEP.singlestep003
|
||||
* nsk.jdwp.Event.SINGLE_STEP.singlestep003a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.SINGLE_STEP.singlestep003a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.SINGLE_STEP.singlestep003
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -60,9 +60,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.THREAD_DEATH.thrdeath001
|
||||
* nsk.jdwp.Event.THREAD_DEATH.thrdeath001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.THREAD_DEATH.thrdeath001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.THREAD_DEATH.thrdeath001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -60,9 +60,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.THREAD_START.thrstart001
|
||||
* nsk.jdwp.Event.THREAD_START.thrstart001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.THREAD_START.thrstart001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.THREAD_START.thrstart001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -52,9 +52,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.VM_DEATH.vmdeath001
|
||||
* nsk.jdwp.Event.VM_DEATH.vmdeath001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.VM_DEATH.vmdeath001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.VM_DEATH.vmdeath001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -59,9 +59,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.VM_DEATH.vmdeath002
|
||||
* nsk.jdwp.Event.VM_DEATH.vmdeath002a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.VM_DEATH.vmdeath002a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.VM_DEATH.vmdeath002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -50,9 +50,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.VM_START.vmstart001
|
||||
* nsk.jdwp.Event.VM_START.vmstart001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Event.VM_START.vmstart001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Event.VM_START.vmstart001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -57,9 +57,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.EventRequest.Clear.clear001
|
||||
* nsk.jdwp.EventRequest.Clear.clear001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.EventRequest.Clear.clear001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.EventRequest.Clear.clear001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -55,9 +55,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001
|
||||
* nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -49,9 +49,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp002
|
||||
* nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp002a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp002a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -52,9 +52,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp003
|
||||
* nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp003a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp003a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp003
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -58,9 +58,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.EventRequest.Set.set001
|
||||
* nsk.jdwp.EventRequest.Set.set001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.EventRequest.Set.set001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.EventRequest.Set.set001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -60,9 +60,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.EventRequest.Set.set002
|
||||
* nsk.jdwp.EventRequest.Set.set002a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.EventRequest.Set.set002a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.EventRequest.Set.set002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -53,9 +53,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Method.Bytecodes.bytecodes001
|
||||
* nsk.jdwp.Method.Bytecodes.bytecodes001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Method.Bytecodes.bytecodes001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Method.Bytecodes.bytecodes001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -56,9 +56,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Method.IsObsolete.isobsolete001
|
||||
* nsk.jdwp.Method.IsObsolete.isobsolete001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Method.IsObsolete.isobsolete001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Method.IsObsolete.isobsolete001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -68,12 +68,11 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build ExecDriver
|
||||
* @build nsk.jdwp.Method.IsObsolete.isobsolete002
|
||||
* nsk.jdwp.Method.IsObsolete.isobsolete002a
|
||||
* @build nsk.jdwp.Method.IsObsolete.isobsolete002a
|
||||
* nsk.jdwp.Method.IsObsolete.isobsolete002b
|
||||
* @run driver nsk.share.ExtraClassesBuilder
|
||||
* newclass
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Method.IsObsolete.isobsolete002
|
||||
* .
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
|
@ -67,9 +67,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Method.LineTable.linetable001
|
||||
* nsk.jdwp.Method.LineTable.linetable001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.Method.LineTable.linetable001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Method.LineTable.linetable001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -56,12 +56,11 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Method.VariableTable.vartable001
|
||||
* nsk.jdwp.Method.VariableTable.vartable001a
|
||||
* @build nsk.jdwp.Method.VariableTable.vartable001a
|
||||
* @comment debuggee should be compiled w/ debug info
|
||||
* @clean nsk.jdwp.Method.VariableTable.vartable001a
|
||||
* @compile -g:lines,source,vars ../vartable001a.java
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Method.VariableTable.vartable001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -56,12 +56,11 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Method.VariableTableWithGeneric.vartblwithgen001
|
||||
* nsk.jdwp.Method.VariableTableWithGeneric.vartblwithgen001a
|
||||
* @build nsk.jdwp.Method.VariableTableWithGeneric.vartblwithgen001a
|
||||
* @comment debuggee should be compiled w/ debug info
|
||||
* @clean nsk.jdwp.Method.VariableTableWithGeneric.vartblwithgen001a
|
||||
* @compile -g:lines,source,vars ../vartblwithgen001a.java
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.Method.VariableTableWithGeneric.vartblwithgen001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -53,9 +53,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.DisableCollection.disablecol001
|
||||
* nsk.jdwp.ObjectReference.DisableCollection.disablecol001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ObjectReference.DisableCollection.disablecol001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ObjectReference.DisableCollection.disablecol001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -54,9 +54,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.EnableCollection.enablecol001
|
||||
* nsk.jdwp.ObjectReference.EnableCollection.enablecol001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ObjectReference.EnableCollection.enablecol001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ObjectReference.EnableCollection.enablecol001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -57,9 +57,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.GetValues.getvalues001
|
||||
* nsk.jdwp.ObjectReference.GetValues.getvalues001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ObjectReference.GetValues.getvalues001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ObjectReference.GetValues.getvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -60,9 +60,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.InvokeMethod.invokemeth001
|
||||
* nsk.jdwp.ObjectReference.InvokeMethod.invokemeth001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ObjectReference.InvokeMethod.invokemeth001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ObjectReference.InvokeMethod.invokemeth001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -56,9 +56,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.IsCollected.iscollected001
|
||||
* nsk.jdwp.ObjectReference.IsCollected.iscollected001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ObjectReference.IsCollected.iscollected001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ObjectReference.IsCollected.iscollected001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -68,9 +68,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.MonitorInfo.monitorinfo001
|
||||
* nsk.jdwp.ObjectReference.MonitorInfo.monitorinfo001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ObjectReference.MonitorInfo.monitorinfo001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ObjectReference.MonitorInfo.monitorinfo001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -58,9 +58,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.ReferenceType.referencetype001
|
||||
* nsk.jdwp.ObjectReference.ReferenceType.referencetype001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ObjectReference.ReferenceType.referencetype001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ObjectReference.ReferenceType.referencetype001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -69,8 +69,7 @@
|
||||
* @requires !vm.graal.enabled
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.ReferringObjects.referringObjects001.referringObjects001
|
||||
* @run main/othervm/native PropertyResolvingWrapper
|
||||
* @run main/othervm/native
|
||||
* nsk.jdwp.ObjectReference.ReferringObjects.referringObjects001.referringObjects001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
@ -82,10 +81,13 @@
|
||||
|
||||
package nsk.jdwp.ObjectReference.ReferringObjects.referringObjects001;
|
||||
|
||||
import java.io.*;
|
||||
import nsk.share.Consts;
|
||||
import nsk.share.jdwp.*;
|
||||
import nsk.share.jpda.AbstractDebuggeeTest;
|
||||
import nsk.share.jdwp.CommandPacket;
|
||||
import nsk.share.jdwp.JDWP;
|
||||
import nsk.share.jdwp.ReplyPacket;
|
||||
import nsk.share.jdwp.TestDebuggerType1;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
public class referringObjects001 extends TestDebuggerType1 {
|
||||
|
||||
@ -93,11 +95,11 @@ public class referringObjects001 extends TestDebuggerType1 {
|
||||
return nsk.jdwp.ObjectReference.ReferringObjects.referringObjects001.referringObjects001a.class.getName();
|
||||
}
|
||||
|
||||
public static void main(String argv[]) {
|
||||
public static void main(String[] argv) {
|
||||
System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE);
|
||||
}
|
||||
|
||||
public static int run(String argv[], PrintStream out) {
|
||||
public static int run(String[] argv, PrintStream out) {
|
||||
return new referringObjects001().runIt(argv, out);
|
||||
}
|
||||
|
||||
|
@ -58,8 +58,7 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.ReferringObjects.referringObjects002.referringObjects002
|
||||
* @run main/othervm/native PropertyResolvingWrapper
|
||||
* @run main/othervm/native
|
||||
* nsk.jdwp.ObjectReference.ReferringObjects.referringObjects002.referringObjects002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
@ -71,20 +70,24 @@
|
||||
|
||||
package nsk.jdwp.ObjectReference.ReferringObjects.referringObjects002;
|
||||
|
||||
import java.io.PrintStream;
|
||||
import nsk.share.Consts;
|
||||
import nsk.share.jdwp.*;
|
||||
import nsk.share.jdwp.CommandPacket;
|
||||
import nsk.share.jdwp.JDWP;
|
||||
import nsk.share.jdwp.ReplyPacket;
|
||||
import nsk.share.jdwp.TestDebuggerType1;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
public class referringObjects002 extends TestDebuggerType1 {
|
||||
protected String getDebugeeClassName() {
|
||||
return nsk.jdwp.ObjectReference.ReferringObjects.referringObjects002.referringObjects002a.class.getName();
|
||||
}
|
||||
|
||||
public static void main(String argv[]) {
|
||||
public static void main(String[] argv) {
|
||||
System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE);
|
||||
}
|
||||
|
||||
public static int run(String argv[], PrintStream out) {
|
||||
public static int run(String[] argv, PrintStream out) {
|
||||
return new referringObjects002().runIt(argv, out);
|
||||
}
|
||||
|
||||
@ -124,7 +127,7 @@ public class referringObjects002 extends TestDebuggerType1 {
|
||||
setSuccess(false);
|
||||
}
|
||||
|
||||
long expectedReferrersID[] = new long[expectedReferrersCount];
|
||||
long[] expectedReferrersID = new long[expectedReferrersCount];
|
||||
|
||||
// initialize expected IDs of referrers
|
||||
for (int i = 0; i < expectedReferrersCount; i++) {
|
||||
@ -132,21 +135,21 @@ public class referringObjects002 extends TestDebuggerType1 {
|
||||
+ (i + 1));
|
||||
}
|
||||
|
||||
long receivedReferrersID[] = new long[referringObjects];
|
||||
long[] receivedReferrersID = new long[referringObjects];
|
||||
|
||||
for (int i = 0; i < referringObjects; i++) {
|
||||
JDWP.Value value = reply.getValue();
|
||||
log.display("tagged-ObjectID = " + value);
|
||||
|
||||
receivedReferrersID[i] = ((Long) value.getValue()).longValue();
|
||||
receivedReferrersID[i] = (Long) value.getValue();
|
||||
}
|
||||
|
||||
// check that correct IDs of referrers was received
|
||||
for (int i = 0; i < referringObjects; i++) {
|
||||
boolean isIDExpected = false;
|
||||
|
||||
for (int j = 0; j < expectedReferrersID.length; j++) {
|
||||
if (receivedReferrersID[i] == expectedReferrersID[j]) {
|
||||
for (long l : expectedReferrersID) {
|
||||
if (receivedReferrersID[i] == l) {
|
||||
isIDExpected = true;
|
||||
break;
|
||||
}
|
||||
@ -160,8 +163,9 @@ public class referringObjects002 extends TestDebuggerType1 {
|
||||
|
||||
if (!getSuccess()) {
|
||||
log.complain("Expected IDs:");
|
||||
for (int i = 0; i < expectedReferrersID.length; i++)
|
||||
log.complain("" + expectedReferrersID[i]);
|
||||
for (long l : expectedReferrersID) {
|
||||
log.complain("" + l);
|
||||
}
|
||||
}
|
||||
|
||||
if (!reply.isParsed()) {
|
||||
|
@ -67,9 +67,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.SetValues.setvalues001
|
||||
* nsk.jdwp.ObjectReference.SetValues.setvalues001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ObjectReference.SetValues.setvalues001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ObjectReference.SetValues.setvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -53,9 +53,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.ClassLoader.classloader001
|
||||
* nsk.jdwp.ReferenceType.ClassLoader.classloader001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.ClassLoader.classloader001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.ClassLoader.classloader001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -53,9 +53,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.ClassObject.classobj001
|
||||
* nsk.jdwp.ReferenceType.ClassObject.classobj001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.ClassObject.classobj001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.ClassObject.classobj001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -55,9 +55,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.Fields.fields001
|
||||
* nsk.jdwp.ReferenceType.Fields.fields001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.Fields.fields001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.Fields.fields001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -44,9 +44,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.FieldsWithGeneric.fldwithgeneric001
|
||||
* nsk.jdwp.ReferenceType.FieldsWithGeneric.fldwithgeneric001t
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.FieldsWithGeneric.fldwithgeneric001t
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.FieldsWithGeneric.fldwithgeneric001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -56,9 +56,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.GetValues.getvalues001
|
||||
* nsk.jdwp.ReferenceType.GetValues.getvalues001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.GetValues.getvalues001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.GetValues.getvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -64,8 +64,7 @@
|
||||
* @requires !vm.graal.enabled
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.Instances.instances001.instances001
|
||||
* @run main/othervm/native PropertyResolvingWrapper
|
||||
* @run main/othervm/native
|
||||
* nsk.jdwp.ReferenceType.Instances.instances001.instances001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
@ -77,21 +76,24 @@
|
||||
|
||||
package nsk.jdwp.ReferenceType.Instances.instances001;
|
||||
|
||||
import java.io.*;
|
||||
import nsk.share.Consts;
|
||||
import nsk.share.jdwp.*;
|
||||
import nsk.share.jpda.AbstractDebuggeeTest;
|
||||
import nsk.share.jdwp.CommandPacket;
|
||||
import nsk.share.jdwp.JDWP;
|
||||
import nsk.share.jdwp.ReplyPacket;
|
||||
import nsk.share.jdwp.TestDebuggerType1;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
public class instances001 extends TestDebuggerType1 {
|
||||
protected String getDebugeeClassName() {
|
||||
return nsk.jdwp.ReferenceType.Instances.instances001.instances001a.class.getName();
|
||||
}
|
||||
|
||||
public static void main(String argv[]) {
|
||||
public static void main(String[] argv) {
|
||||
System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE);
|
||||
}
|
||||
|
||||
public static int run(String argv[], PrintStream out) {
|
||||
public static int run(String[] argv, PrintStream out) {
|
||||
return new instances001().runIt(argv, out);
|
||||
}
|
||||
|
||||
|
@ -57,8 +57,7 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.Instances.instances002.instances002
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.Instances.instances002.instances002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
@ -70,20 +69,24 @@
|
||||
|
||||
package nsk.jdwp.ReferenceType.Instances.instances002;
|
||||
|
||||
import java.io.*;
|
||||
import nsk.share.Consts;
|
||||
import nsk.share.jdwp.*;
|
||||
import nsk.share.jdwp.CommandPacket;
|
||||
import nsk.share.jdwp.JDWP;
|
||||
import nsk.share.jdwp.ReplyPacket;
|
||||
import nsk.share.jdwp.TestDebuggerType1;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
public class instances002 extends TestDebuggerType1 {
|
||||
protected String getDebugeeClassName() {
|
||||
return nsk.jdwp.ReferenceType.Instances.instances002.instances002a.class.getName();
|
||||
}
|
||||
|
||||
public static void main(String argv[]) {
|
||||
public static void main(String[] argv) {
|
||||
System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE);
|
||||
}
|
||||
|
||||
public static int run(String argv[], PrintStream out) {
|
||||
public static int run(String[] argv, PrintStream out) {
|
||||
return new instances002().runIt(argv, out);
|
||||
}
|
||||
|
||||
@ -118,7 +121,7 @@ public class instances002 extends TestDebuggerType1 {
|
||||
log.complain("Unexpected 'instances' value: " + instances + ", expected is " + expectedInstances);
|
||||
}
|
||||
|
||||
long expectedInstancesID[] = new long[expectedInstances];
|
||||
long[] expectedInstancesID = new long[expectedInstances];
|
||||
|
||||
// initialize expected IDs of instances
|
||||
for (int i = 0; i < expectedInstances; i++) {
|
||||
@ -126,21 +129,21 @@ public class instances002 extends TestDebuggerType1 {
|
||||
JDWP.Tag.OBJECT);
|
||||
}
|
||||
|
||||
long receivedInstancesID[] = new long[instances];
|
||||
long[] receivedInstancesID = new long[instances];
|
||||
|
||||
for (int i = 0; i < instances; i++) {
|
||||
JDWP.Value value = reply.getValue();
|
||||
log.display("tagged-ObjectID = " + value);
|
||||
|
||||
receivedInstancesID[i] = ((Long) value.getValue()).longValue();
|
||||
receivedInstancesID[i] = (Long) value.getValue();
|
||||
}
|
||||
|
||||
// check that correct IDs of instances was received
|
||||
for (int i = 0; i < instances; i++) {
|
||||
boolean isIDExpected = false;
|
||||
|
||||
for (int j = 0; j < expectedInstancesID.length; j++) {
|
||||
if (receivedInstancesID[i] == expectedInstancesID[j]) {
|
||||
for (long l : expectedInstancesID) {
|
||||
if (receivedInstancesID[i] == l) {
|
||||
isIDExpected = true;
|
||||
break;
|
||||
}
|
||||
@ -154,8 +157,9 @@ public class instances002 extends TestDebuggerType1 {
|
||||
|
||||
if (!getSuccess()) {
|
||||
log.complain("Expected IDs:");
|
||||
for (int i = 0; i < expectedInstancesID.length; i++)
|
||||
log.complain("" + expectedInstancesID[i]);
|
||||
for (long l : expectedInstancesID) {
|
||||
log.complain("" + l);
|
||||
}
|
||||
}
|
||||
|
||||
if (!reply.isParsed()) {
|
||||
|
@ -57,9 +57,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.Interfaces.interfaces001
|
||||
* nsk.jdwp.ReferenceType.Interfaces.interfaces001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.Interfaces.interfaces001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.Interfaces.interfaces001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -55,9 +55,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.Methods.methods001
|
||||
* nsk.jdwp.ReferenceType.Methods.methods001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.Methods.methods001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.Methods.methods001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -44,9 +44,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.MethodsWithGeneric.methwithgeneric001
|
||||
* nsk.jdwp.ReferenceType.MethodsWithGeneric.methwithgeneric001t
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.MethodsWithGeneric.methwithgeneric001t
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.MethodsWithGeneric.methwithgeneric001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -55,9 +55,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.Modifiers.modifiers001
|
||||
* nsk.jdwp.ReferenceType.Modifiers.modifiers001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.Modifiers.modifiers001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.Modifiers.modifiers001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -60,9 +60,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.NestedTypes.nestedtypes001
|
||||
* nsk.jdwp.ReferenceType.NestedTypes.nestedtypes001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.NestedTypes.nestedtypes001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.NestedTypes.nestedtypes001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -51,9 +51,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.Signature.signature001
|
||||
* nsk.jdwp.ReferenceType.Signature.signature001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.Signature.signature001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.Signature.signature001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -43,9 +43,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.SignatureWithGeneric.sigwithgeneric001
|
||||
* nsk.jdwp.ReferenceType.SignatureWithGeneric.sigwithgeneric001t
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.SignatureWithGeneric.sigwithgeneric001t
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.SignatureWithGeneric.sigwithgeneric001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -38,9 +38,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.SourceDebugExtension.srcdebugext001
|
||||
* nsk.jdwp.ReferenceType.SourceDebugExtension.srcdebugext001t
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.SourceDebugExtension.srcdebugext001t
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.SourceDebugExtension.srcdebugext001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -51,9 +51,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.SourceFile.srcfile001
|
||||
* nsk.jdwp.ReferenceType.SourceFile.srcfile001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.SourceFile.srcfile001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.SourceFile.srcfile001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -53,9 +53,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.Status.status001
|
||||
* nsk.jdwp.ReferenceType.Status.status001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ReferenceType.Status.status001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ReferenceType.Status.status001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -60,12 +60,11 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.StackFrame.GetValues.getvalues001
|
||||
* nsk.jdwp.StackFrame.GetValues.getvalues001a
|
||||
* @build nsk.jdwp.StackFrame.GetValues.getvalues001a
|
||||
* @comment debuggee should be compiled w/ debug info
|
||||
* @clean nsk.jdwp.StackFrame.GetValues.getvalues001a
|
||||
* @compile -g:lines,source,vars ../getvalues001a.java
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.StackFrame.GetValues.getvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -59,9 +59,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.StackFrame.PopFrames.popframes001
|
||||
* nsk.jdwp.StackFrame.PopFrames.popframes001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.StackFrame.PopFrames.popframes001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.StackFrame.PopFrames.popframes001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -71,12 +71,11 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.StackFrame.SetValues.setvalues001
|
||||
* nsk.jdwp.StackFrame.SetValues.setvalues001a
|
||||
* @build nsk.jdwp.StackFrame.SetValues.setvalues001a
|
||||
* @comment debuggee should be compiled w/ debug info
|
||||
* @clean nsk.jdwp.StackFrame.SetValues.setvalues001a
|
||||
* @compile -g:lines,source,vars ../setvalues001a.java
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.StackFrame.SetValues.setvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -58,9 +58,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.StackFrame.ThisObject.thisobject001
|
||||
* nsk.jdwp.StackFrame.ThisObject.thisobject001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.StackFrame.ThisObject.thisobject001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.StackFrame.ThisObject.thisobject001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -51,9 +51,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.StringReference.Value.value001
|
||||
* nsk.jdwp.StringReference.Value.value001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.StringReference.Value.value001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.StringReference.Value.value001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,2 +0,0 @@
|
||||
# disabled till JDK-8252002 is fixed
|
||||
allowSmartActionArgs=false
|
@ -48,9 +48,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadGroupReference.Children.children001
|
||||
* nsk.jdwp.ThreadGroupReference.Children.children001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadGroupReference.Children.children001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadGroupReference.Children.children001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -48,9 +48,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadGroupReference.Name.name001
|
||||
* nsk.jdwp.ThreadGroupReference.Name.name001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadGroupReference.Name.name001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadGroupReference.Name.name001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -51,9 +51,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadGroupReference.Parent.parent001
|
||||
* nsk.jdwp.ThreadGroupReference.Parent.parent001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadGroupReference.Parent.parent001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadGroupReference.Parent.parent001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -61,9 +61,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.CurrentContendedMonitor.curcontmonitor001
|
||||
* nsk.jdwp.ThreadReference.CurrentContendedMonitor.curcontmonitor001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadReference.CurrentContendedMonitor.curcontmonitor001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.CurrentContendedMonitor.curcontmonitor001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -74,8 +74,7 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn001.forceEarlyReturn001
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn001.forceEarlyReturn001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
@ -87,21 +86,21 @@
|
||||
|
||||
package nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn001;
|
||||
|
||||
import java.io.*;
|
||||
import nsk.share.Consts;
|
||||
import nsk.share.jdwp.*;
|
||||
import nsk.share.jdwp.CommandPacket;
|
||||
import nsk.share.jdwp.JDWP;
|
||||
import nsk.share.jdwp.JDWP.Value;
|
||||
import nsk.share.jdwp.ReplyPacket;
|
||||
import nsk.share.jdwp.TestDebuggerType1;
|
||||
import nsk.share.jpda.ForceEarlyReturnTestThread;
|
||||
|
||||
public class forceEarlyReturn001
|
||||
extends TestDebuggerType1
|
||||
{
|
||||
import java.io.PrintStream;
|
||||
|
||||
public class forceEarlyReturn001 extends TestDebuggerType1 {
|
||||
// data needed to create JDWP command,
|
||||
// also this class create breakpoint in method which should be forced to return
|
||||
class TestData
|
||||
{
|
||||
public TestData(long classID, String methodName, int lineNumber, long threadID, Value value, Value invalidValue)
|
||||
{
|
||||
class TestData {
|
||||
public TestData(long classID, String methodName, int lineNumber, long threadID, Value value, Value invalidValue) {
|
||||
breakpointID = debuggee.requestBreakpointEvent(
|
||||
JDWP.TypeTag.CLASS,
|
||||
classID,
|
||||
@ -120,27 +119,22 @@ extends TestDebuggerType1
|
||||
public long threadID;
|
||||
}
|
||||
|
||||
protected String getDebugeeClassName()
|
||||
{
|
||||
protected String getDebugeeClassName() {
|
||||
return "nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn001.forceEarlyReturn001a";
|
||||
}
|
||||
|
||||
public static void main (String argv[])
|
||||
{
|
||||
System.exit(run(argv,System.out) + Consts.JCK_STATUS_BASE);
|
||||
public static void main(String[] argv) {
|
||||
System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE);
|
||||
}
|
||||
|
||||
public static int run(String argv[], PrintStream out)
|
||||
{
|
||||
public static int run(String[] argv, PrintStream out) {
|
||||
return new forceEarlyReturn001().runIt(argv, out);
|
||||
}
|
||||
|
||||
// send command and receive empty reply
|
||||
// all asserts should be done in debuggee
|
||||
private void sendCommand(long threadID, Value value, boolean expectError, int errorCode)
|
||||
{
|
||||
try
|
||||
{
|
||||
private void sendCommand(long threadID, Value value, boolean expectError, int errorCode) {
|
||||
try {
|
||||
int JDWP_COMMAND_ID = JDWP.Command.ThreadReference.ForceEarlyReturn;
|
||||
|
||||
log.display("Create command: " + JDWP.commandNames.get(JDWP_COMMAND_ID));
|
||||
@ -159,19 +153,16 @@ extends TestDebuggerType1
|
||||
|
||||
reply = getReply(command, expectError, errorCode);
|
||||
|
||||
if(expectError)
|
||||
if (expectError)
|
||||
return;
|
||||
|
||||
log.display("Empty reply");
|
||||
|
||||
if(!reply.isParsed())
|
||||
{
|
||||
if (!reply.isParsed()) {
|
||||
setSuccess(false);
|
||||
log.complain("Extra trailing bytes found in reply packet at: " + reply.currentPosition());
|
||||
}
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
} catch (Exception e) {
|
||||
setSuccess(false);
|
||||
log.complain("Caught exception while testing JDWP command: " + e);
|
||||
e.printStackTrace(log.getOutStream());
|
||||
@ -182,24 +173,21 @@ extends TestDebuggerType1
|
||||
|
||||
// create Value objects which should be send in command packet and
|
||||
// initialize breapoints in tested methods
|
||||
private void initTestData()
|
||||
{
|
||||
private void initTestData() {
|
||||
long classID = debuggee.getReferenceTypeID(createTypeSignature(ForceEarlyReturnTestThread.class.getName()));
|
||||
|
||||
Value testValues[] = new Value[ForceEarlyReturnTestThread.testedTypesNames.length + 1];
|
||||
Value testInvalidValues[] = new Value[ForceEarlyReturnTestThread.testedTypesNames.length + 1];
|
||||
Value[] testValues = new Value[ForceEarlyReturnTestThread.testedTypesNames.length + 1];
|
||||
Value[] testInvalidValues = new Value[ForceEarlyReturnTestThread.testedTypesNames.length + 1];
|
||||
|
||||
testValues[0] = new JDWP.Value(JDWP.Tag.VOID, new Long(0));
|
||||
testValues[0] = new JDWP.Value(JDWP.Tag.VOID, 0L);
|
||||
|
||||
for(int i = 1; i < ForceEarlyReturnTestThread.testedTypesNames.length; i++)
|
||||
{
|
||||
for (int i = 1; i < ForceEarlyReturnTestThread.testedTypesNames.length; i++) {
|
||||
testValues[i] = debuggee.getStaticFieldValue(
|
||||
classID,
|
||||
debuggee.getClassFieldID(classID, "expected" + ForceEarlyReturnTestThread.testedTypesNames[i] + "Value", true));
|
||||
}
|
||||
|
||||
for(int i = 0; i < ForceEarlyReturnTestThread.testedTypesNames.length; i++)
|
||||
{
|
||||
for (int i = 0; i < ForceEarlyReturnTestThread.testedTypesNames.length; i++) {
|
||||
testInvalidValues[i] = debuggee.getStaticFieldValue(
|
||||
classID,
|
||||
debuggee.getClassFieldID(classID, "invalid" + ForceEarlyReturnTestThread.testedTypesNames[i] + "Value", true));
|
||||
@ -209,8 +197,7 @@ extends TestDebuggerType1
|
||||
|
||||
testData = new TestData[ForceEarlyReturnTestThread.testedTypesNames.length];
|
||||
|
||||
for(int i = 0; i < ForceEarlyReturnTestThread.testedTypesNames.length; i++)
|
||||
{
|
||||
for (int i = 0; i < ForceEarlyReturnTestThread.testedTypesNames.length; i++) {
|
||||
testData[i] = new TestData(classID,
|
||||
ForceEarlyReturnTestThread.testedTypesNames[i] + "Method",
|
||||
ForceEarlyReturnTestThread.breakpointLines[i],
|
||||
@ -220,27 +207,25 @@ extends TestDebuggerType1
|
||||
}
|
||||
}
|
||||
|
||||
public void doTest()
|
||||
{
|
||||
public void doTest() {
|
||||
initTestData();
|
||||
|
||||
pipe.println(forceEarlyReturn001a.COMMAND_START_EXECUTION);
|
||||
|
||||
if(!isDebuggeeReady())
|
||||
if (!isDebuggeeReady())
|
||||
return;
|
||||
|
||||
for(int i = 0; i < testData.length; i++)
|
||||
{
|
||||
for (TestData testDatum : testData) {
|
||||
// wait when tested thread call method with breapoint
|
||||
debuggee.waitForBreakpointEvent(testData[i].breakpointID);
|
||||
debuggee.waitForBreakpointEvent(testDatum.breakpointID);
|
||||
|
||||
log.display("Send invalid command: valid value: " + testData[i].value + " invalid value: " + testData[i].invalidValue);
|
||||
log.display("Send invalid command: valid value: " + testDatum.value + " invalid value: " + testDatum.invalidValue);
|
||||
// send ForceEarlyReturn command with invalid value
|
||||
sendCommand(testData[i].threadID, testData[i].invalidValue, true, JDWP.Error.TYPE_MISMATCH);
|
||||
sendCommand(testDatum.threadID, testDatum.invalidValue, true, JDWP.Error.TYPE_MISMATCH);
|
||||
|
||||
log.display("Send valid command: valid value: " + testData[i].value);
|
||||
log.display("Send valid command: valid value: " + testDatum.value);
|
||||
// send ForceEarlyReturn command
|
||||
sendCommand(testData[i].threadID, testData[i].value, false, 0);
|
||||
sendCommand(testDatum.threadID, testDatum.value, false, 0);
|
||||
|
||||
// resume debuggee
|
||||
debuggee.resume();
|
||||
@ -248,7 +233,7 @@ extends TestDebuggerType1
|
||||
|
||||
pipe.println(forceEarlyReturn001a.COMMAND_END_EXECUTION);
|
||||
|
||||
if(!isDebuggeeReady())
|
||||
if (!isDebuggeeReady())
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -66,8 +66,7 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002
|
||||
* @run main/othervm/native PropertyResolvingWrapper
|
||||
* @run main/othervm/native
|
||||
* nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
@ -79,24 +78,28 @@
|
||||
|
||||
package nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002;
|
||||
|
||||
import java.io.*;
|
||||
|
||||
import nsk.share.Consts;
|
||||
import nsk.share.jdwp.*;
|
||||
import nsk.share.jdwp.CommandPacket;
|
||||
import nsk.share.jdwp.EventPacket;
|
||||
import nsk.share.jdwp.JDWP;
|
||||
import nsk.share.jdwp.JDWP.Value;
|
||||
import nsk.share.jdwp.ReplyPacket;
|
||||
import nsk.share.jdwp.TestDebuggerType1;
|
||||
import nsk.share.jpda.AbstractDebuggeeTest;
|
||||
import nsk.share.jpda.StateTestThread;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
public class forceEarlyReturn002 extends TestDebuggerType1 {
|
||||
protected String getDebugeeClassName() {
|
||||
return "nsk.jdwp.ThreadReference.ForceEarlyReturn.forceEarlyReturn002.forceEarlyReturn002a";
|
||||
}
|
||||
|
||||
public static void main(String argv[]) {
|
||||
public static void main(String[] argv) {
|
||||
System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE);
|
||||
}
|
||||
|
||||
public static int run(String argv[], PrintStream out) {
|
||||
public static int run(String[] argv, PrintStream out) {
|
||||
return new forceEarlyReturn002().runIt(argv, out);
|
||||
}
|
||||
|
||||
|
@ -56,9 +56,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.FrameCount.framecnt001
|
||||
* nsk.jdwp.ThreadReference.FrameCount.framecnt001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadReference.FrameCount.framecnt001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.FrameCount.framecnt001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -61,9 +61,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.Frames.frames001
|
||||
* nsk.jdwp.ThreadReference.Frames.frames001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadReference.Frames.frames001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.Frames.frames001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -65,9 +65,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.Interrupt.interrupt001
|
||||
* nsk.jdwp.ThreadReference.Interrupt.interrupt001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadReference.Interrupt.interrupt001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.Interrupt.interrupt001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -55,9 +55,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.Name.name001
|
||||
* nsk.jdwp.ThreadReference.Name.name001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadReference.Name.name001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.Name.name001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -61,9 +61,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.OwnedMonitors.ownmonitors001
|
||||
* nsk.jdwp.ThreadReference.OwnedMonitors.ownmonitors001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadReference.OwnedMonitors.ownmonitors001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.OwnedMonitors.ownmonitors001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -62,8 +62,7 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.OwnedMonitorsStackDepthInfo.ownedMonitorsStackDepthInfo001.ownedMonitorsStackDepthInfo001
|
||||
* @run main/othervm/native/timeout=420 PropertyResolvingWrapper
|
||||
* @run main/othervm/native/timeout=420
|
||||
* nsk.jdwp.ThreadReference.OwnedMonitorsStackDepthInfo.ownedMonitorsStackDepthInfo001.ownedMonitorsStackDepthInfo001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
@ -75,20 +74,24 @@
|
||||
|
||||
package nsk.jdwp.ThreadReference.OwnedMonitorsStackDepthInfo.ownedMonitorsStackDepthInfo001;
|
||||
|
||||
import java.io.*;
|
||||
import nsk.share.Consts;
|
||||
import nsk.share.jdwp.*;
|
||||
import nsk.share.jdwp.CommandPacket;
|
||||
import nsk.share.jdwp.JDWP;
|
||||
import nsk.share.jdwp.ReplyPacket;
|
||||
import nsk.share.jdwp.TestDebuggerType1;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
public class ownedMonitorsStackDepthInfo001 extends TestDebuggerType1 {
|
||||
protected String getDebugeeClassName() {
|
||||
return nsk.jdwp.ThreadReference.OwnedMonitorsStackDepthInfo.ownedMonitorsStackDepthInfo001.ownedMonitorsStackDepthInfo001a.class.getName();
|
||||
}
|
||||
|
||||
public static void main(String argv[]) {
|
||||
public static void main(String[] argv) {
|
||||
System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE);
|
||||
}
|
||||
|
||||
public static int run(String argv[], PrintStream out) {
|
||||
public static int run(String[] argv, PrintStream out) {
|
||||
return new ownedMonitorsStackDepthInfo001().runIt(argv, out);
|
||||
}
|
||||
|
||||
@ -126,14 +129,14 @@ public class ownedMonitorsStackDepthInfo001 extends TestDebuggerType1 {
|
||||
|
||||
reply = getReply(command);
|
||||
|
||||
MonitorInfo expectedMonitors[] = new MonitorInfo[ownedMonitorsStackDepthInfo001a.expectedMonitorCounts];
|
||||
MonitorInfo[] expectedMonitors = new MonitorInfo[ownedMonitorsStackDepthInfo001a.expectedMonitorCounts];
|
||||
|
||||
long classID = debuggee.getReferenceTypeID(createTypeSignature(getDebugeeClassName()));
|
||||
|
||||
// obtain information about aquired monitors
|
||||
for (int i = 0; i < ownedMonitorsStackDepthInfo001a.expectedMonitorCounts; i++) {
|
||||
long monitorID = queryObjectID(classID, "monitor" + (i + 1));
|
||||
int depth = ((Integer) debuggee.getStaticFieldValue(classID, "depth" + (i + 1), JDWP.Tag.INT).getValue()).intValue();
|
||||
int depth = (Integer) debuggee.getStaticFieldValue(classID, "depth" + (i + 1), JDWP.Tag.INT).getValue();
|
||||
|
||||
expectedMonitors[i] = new MonitorInfo(monitorID, depth);
|
||||
}
|
||||
@ -148,7 +151,7 @@ public class ownedMonitorsStackDepthInfo001 extends TestDebuggerType1 {
|
||||
log.complain("Unexpected value of 'owned': " + owned + ", expected value is " + expectedMonitors.length);
|
||||
}
|
||||
|
||||
MonitorInfo receivedMonitors[] = new MonitorInfo[owned];
|
||||
MonitorInfo[] receivedMonitors = new MonitorInfo[owned];
|
||||
|
||||
for (int i = 0; i < owned; i++) {
|
||||
JDWP.Value value = reply.getValue();
|
||||
@ -157,21 +160,21 @@ public class ownedMonitorsStackDepthInfo001 extends TestDebuggerType1 {
|
||||
int stack_depth = reply.getInt();
|
||||
log.display("stack_depth = " + stack_depth);
|
||||
|
||||
receivedMonitors[i] = new MonitorInfo(((Long) value.getValue()).longValue(), stack_depth);
|
||||
receivedMonitors[i] = new MonitorInfo((Long) value.getValue(), stack_depth);
|
||||
}
|
||||
|
||||
// check that correct information about acquired monitors was received
|
||||
for (int i = 0; i < owned; i++) {
|
||||
boolean monitorFound = false;
|
||||
|
||||
for (int j = 0; j < expectedMonitors.length; j++) {
|
||||
if (receivedMonitors[i].monitorObjectID == expectedMonitors[j].monitorObjectID) {
|
||||
for (MonitorInfo expectedMonitor : expectedMonitors) {
|
||||
if (receivedMonitors[i].monitorObjectID == expectedMonitor.monitorObjectID) {
|
||||
monitorFound = true;
|
||||
|
||||
if (receivedMonitors[i].depth != expectedMonitors[j].depth) {
|
||||
if (receivedMonitors[i].depth != expectedMonitor.depth) {
|
||||
setSuccess(false);
|
||||
log.complain("Unexpected monitor depth for monitor " + receivedMonitors[i].monitorObjectID + ": "
|
||||
+ receivedMonitors[i].depth + ", expected value is " + expectedMonitors[j].depth);
|
||||
+ receivedMonitors[i].depth + ", expected value is " + expectedMonitor.depth);
|
||||
}
|
||||
|
||||
break;
|
||||
@ -186,8 +189,8 @@ public class ownedMonitorsStackDepthInfo001 extends TestDebuggerType1 {
|
||||
|
||||
if (!getSuccess()) {
|
||||
log.complain("Expected monitors: ");
|
||||
for (int i = 0; i < expectedMonitors.length; i++) {
|
||||
log.complain("monitor: " + expectedMonitors[i].monitorObjectID + " " + expectedMonitors[i].depth);
|
||||
for (MonitorInfo expectedMonitor : expectedMonitors) {
|
||||
log.complain("monitor: " + expectedMonitor.monitorObjectID + " " + expectedMonitor.depth);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -50,8 +50,7 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.OwnedMonitorsStackDepthInfo.ownedMonitorsStackDepthInfo002.ownedMonitorsStackDepthInfo002
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.OwnedMonitorsStackDepthInfo.ownedMonitorsStackDepthInfo002.ownedMonitorsStackDepthInfo002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
@ -63,22 +62,26 @@
|
||||
|
||||
package nsk.jdwp.ThreadReference.OwnedMonitorsStackDepthInfo.ownedMonitorsStackDepthInfo002;
|
||||
|
||||
import java.io.*;
|
||||
import nsk.share.Consts;
|
||||
import nsk.share.jdwp.*;
|
||||
import nsk.share.jdwp.AbstractJDWPDebuggee;
|
||||
import nsk.share.jdwp.CommandPacket;
|
||||
import nsk.share.jdwp.JDWP;
|
||||
import nsk.share.jdwp.TestDebuggerType1;
|
||||
import nsk.share.jpda.AbstractDebuggeeTest;
|
||||
import nsk.share.jpda.StateTestThread;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
public class ownedMonitorsStackDepthInfo002 extends TestDebuggerType1 {
|
||||
protected String getDebugeeClassName() {
|
||||
return AbstractJDWPDebuggee.class.getName();
|
||||
}
|
||||
|
||||
public static void main(String argv[]) {
|
||||
public static void main(String[] argv) {
|
||||
System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE);
|
||||
}
|
||||
|
||||
public static int run(String argv[], PrintStream out) {
|
||||
public static int run(String[] argv, PrintStream out) {
|
||||
return new ownedMonitorsStackDepthInfo002().runIt(argv, out);
|
||||
}
|
||||
|
||||
@ -102,8 +105,6 @@ public class ownedMonitorsStackDepthInfo002 extends TestDebuggerType1 {
|
||||
|
||||
// in this test always expect reply with error
|
||||
getReply(command, true, errorCode);
|
||||
|
||||
return;
|
||||
} catch (Exception e) {
|
||||
setSuccess(false);
|
||||
log.complain("Caught exception while testing JDWP command: " + e);
|
||||
|
@ -58,9 +58,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.Resume.resume001
|
||||
* nsk.jdwp.ThreadReference.Resume.resume001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadReference.Resume.resume001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.Resume.resume001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -55,9 +55,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.Status.status001
|
||||
* nsk.jdwp.ThreadReference.Status.status001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadReference.Status.status001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.Status.status001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -58,9 +58,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.Stop.stop001
|
||||
* nsk.jdwp.ThreadReference.Stop.stop001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadReference.Stop.stop001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.Stop.stop001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -57,9 +57,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.Suspend.suspend001
|
||||
* nsk.jdwp.ThreadReference.Suspend.suspend001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadReference.Suspend.suspend001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.Suspend.suspend001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -57,9 +57,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.SuspendCount.suspendcnt001
|
||||
* nsk.jdwp.ThreadReference.SuspendCount.suspendcnt001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadReference.SuspendCount.suspendcnt001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.SuspendCount.suspendcnt001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -57,9 +57,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ThreadReference.ThreadGroup.threadgroup001
|
||||
* nsk.jdwp.ThreadReference.ThreadGroup.threadgroup001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.ThreadReference.ThreadGroup.threadgroup001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.ThreadReference.ThreadGroup.threadgroup001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -48,9 +48,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.VirtualMachine.AllClasses.allclasses001
|
||||
* nsk.jdwp.VirtualMachine.AllClasses.allclasses001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.VirtualMachine.AllClasses.allclasses001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.VirtualMachine.AllClasses.allclasses001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -44,9 +44,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.VirtualMachine.AllClassesWithGeneric.allclswithgeneric001
|
||||
* nsk.jdwp.VirtualMachine.AllClassesWithGeneric.allclswithgeneric001t
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.VirtualMachine.AllClassesWithGeneric.allclswithgeneric001t
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.VirtualMachine.AllClassesWithGeneric.allclswithgeneric001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -46,9 +46,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.VirtualMachine.AllThreads.allthreads001
|
||||
* nsk.jdwp.VirtualMachine.AllThreads.allthreads001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.VirtualMachine.AllThreads.allthreads001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.VirtualMachine.AllThreads.allthreads001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -46,9 +46,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.VirtualMachine.Capabilities.capabilities001
|
||||
* nsk.jdwp.VirtualMachine.Capabilities.capabilities001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.VirtualMachine.Capabilities.capabilities001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.VirtualMachine.Capabilities.capabilities001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -48,9 +48,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.VirtualMachine.CapabilitiesNew.capabilitiesnew001
|
||||
* nsk.jdwp.VirtualMachine.CapabilitiesNew.capabilitiesnew001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.VirtualMachine.CapabilitiesNew.capabilitiesnew001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.VirtualMachine.CapabilitiesNew.capabilitiesnew001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -39,9 +39,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.VirtualMachine.ClassPaths.classpaths001
|
||||
* nsk.jdwp.VirtualMachine.ClassPaths.classpaths001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.VirtualMachine.ClassPaths.classpaths001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.VirtualMachine.ClassPaths.classpaths001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -46,9 +46,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.VirtualMachine.ClassesBySignature.classbysig001
|
||||
* nsk.jdwp.VirtualMachine.ClassesBySignature.classbysig001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.VirtualMachine.ClassesBySignature.classbysig001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.VirtualMachine.ClassesBySignature.classbysig001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -42,9 +42,8 @@
|
||||
*
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.VirtualMachine.CreateString.createstr001
|
||||
* nsk.jdwp.VirtualMachine.CreateString.createstr001a
|
||||
* @run main/othervm PropertyResolvingWrapper
|
||||
* @build nsk.jdwp.VirtualMachine.CreateString.createstr001a
|
||||
* @run main/othervm
|
||||
* nsk.jdwp.VirtualMachine.CreateString.createstr001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user