Skip to content

Commit

Permalink
8310618: Test serviceability/sa/ClhsdbDumpclass.java fails after 8242…
Browse files Browse the repository at this point in the history
…152: 'StackMapTable:' missing from stdout/stderr

Reviewed-by: kevinw, dholmes
  • Loading branch information
quadhier authored and kevinjwalls committed Jun 22, 2023
1 parent 5a30fb6 commit 370b8b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/hotspot/jtreg/serviceability/sa/ClhsdbDumpclass.java
Expand Up @@ -75,6 +75,8 @@ public static void main(String[] args) throws Exception {
// Run javap on the generated class file to make sure it's valid.
JDKToolLauncher launcher = JDKToolLauncher.createUsingTestJDK("javap");
launcher.addVMArgs(Utils.getTestJavaOpts());
// Let javap print additional info, e.g., StackMapTable
launcher.addToolArg("-verbose");
launcher.addToolArg(classFile.toString());
System.out.println("> javap " + classFile.toString());
List<String> cmdStringList = Arrays.asList(launcher.getCommand());
Expand Down

1 comment on commit 370b8b2

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.