JDK-7016268 : Can't get strata information through SA-JDI
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 7,8
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2011-02-01
  • Updated: 2023-12-14
  • Resolved: 2016-08-08
Related Reports
Relates :  
Description
I'm attaching to process using sun.jvm.hotspot.jdi.SACoreAttachingConnector and then calling Location.lineNumber("some-stratum") to get stratum information for a source location for a class which has SourceDebugInformation attribute.

But instead of stratum in SourceDebugInformation, the class appears to have only "Java" stratum. I don't have such problem with, for example, com.sun.tools.jdi.SunCommandLineLauncher: the stratum is accessible.

Please see comments for details.

Comments
RULE "vm/mlvm/indy/func/sajdi/targetInStackTrace" Exception java.io.IOException RULE "vm/mlvm/indy/func/sajdi/targetInStackTrace" Exception java.lang.reflect.InvocationTargetException RULE "vm/mlvm/indy/func/sajdi/targetInStackTrace" Exception sun.jvm.hotspot.debugger.DebuggerException: Can't attach symbolicator to the process RULE "vm/mlvm/indy/func/sajdi/targetInStackTrace" Exception sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: Can't attach symbolicator to the process RULE "vm/mlvm/indy/func/sajdi/targetInStackTrace" ExitCode 97
06-08-2018

The same failure RULE "vm/mlvm/indy/func/sajdi/bootstrapInStackTrace" ExitCode 97 Added for UR testing. Theses tests are still executed for JDK7/8
19-05-2017

Closing as WNF. sajdi tests are removed.
08-08-2016