When using stripped and not full pdb files on WIndows, the test CheckForProperDetailStackTrace.java misses source information (but this is no surprise with those much smaller pdb files).
error output is :
java.lang.RuntimeException: Expected source information missing from output
at CheckForProperDetailStackTrace.main(CheckForProperDetailStackTrace.java:145)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1474)
Info about /PDBSTRIPPED
https://learn.microsoft.com/en-us/cpp/build/reference/pdbstripped-strip-private-symbols?view=msvc-170
"The stripped PDB file will not contain:
Type information
Line number information
Per-object file CodeView symbols such as those for functions, locals, and static data"
So no line numbers in those stack traces .
error output is :
java.lang.RuntimeException: Expected source information missing from output
at CheckForProperDetailStackTrace.main(CheckForProperDetailStackTrace.java:145)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1474)
Info about /PDBSTRIPPED
https://learn.microsoft.com/en-us/cpp/build/reference/pdbstripped-strip-private-symbols?view=msvc-170
"The stripped PDB file will not contain:
Type information
Line number information
Per-object file CodeView symbols such as those for functions, locals, and static data"
So no line numbers in those stack traces .
- relates to
-
JDK-8351842 Windows specific issues in combination of JEP 493 and --with-external-symbols-in-bundles=public
-
- Open
-
- links to
-
Commit(master)
openjdk/jdk/69a9b4ce
-
Review(master)
openjdk/jdk25u-dev/17
-
Review(master)
openjdk/jdk/27899