JDK-6709504 : SAJDI: RuntimeEx: should not reach here in sun.jvm.hotspot.jdi.VirtualMachineImpl.addReferenceType
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: hs13
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2008-06-02
  • Updated: 2012-01-11
  • Resolved: 2012-01-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Duplicate :  
Description
3 SAJDI tests
	nsk/sajdi/ClassLoaderReference/visibleClasses/vsbclasses001
	nsk/sajdi/ClassType/interfaces/interfaces001
	nsk/sajdi/ReferenceType/nestedTypes/nestedtypes002
fail with HS13-b02 on 64-bits platforms (linux-amd64, solaris-amd64, solaris-sparcv9). All tests fail because of the same exception thrown from VirtualMachineImpl.addReferenceType, exception trace example:
Exception in thread "main" java.lang.RuntimeException: should not reach here
	at sun.jvm.hotspot.jdi.VirtualMachineImpl.addReferenceType(VirtualMachineImpl.java:458)
	at sun.jvm.hotspot.jdi.VirtualMachineImpl.referenceType(VirtualMachineImpl.java:433)
	at sun.jvm.hotspot.jdi.ClassObjectReferenceImpl.reflectedType(ClassObjectReferenceImpl.java:43)
	at nsk.sajdi.ClassLoaderReference.visibleClasses.vsbclasses001.getClassesList(vsbclasses001.java:453)
	at nsk.sajdi.ClassLoaderReference.visibleClasses.vsbclasses001.runIt(vsbclasses001.java:67)
	at nsk.sajdi.ClassLoaderReference.visibleClasses.vsbclasses001.run(vsbclasses001.java:26)
	at nsk.sajdi.ClassLoaderReference.visibleClasses.vsbclasses001.main(vsbclasses001.java:21)

I can't reproduce this failure with HS13-b01 (HS from the JDK7b27).

To reproduce:
	ssh  vm-v215-02.sfbay
	cd /net/sqenfs-2.sfbay/export2/results/vm/gtee/JDK7/NIGHTLY/VM/2008-05-31/Main_Baseline_PIT/vm/solaris-sparcv9/server/mixed/vm-solaris-sparcv9_server_mixed_nsk.sajdi.testlist2008-05-31-22-11-11/ResultDir/vsbclasses001
	sh rerun.sh