Skip to content
Permalink
Browse files
8266877: Missing local debug information when debugging JEP-330
Reviewed-by: alanb, jjg
  • Loading branch information
Jaroslav Tulach authored and jonathan-gibbons committed May 28, 2021
1 parent 0c9daa7 commit 6eb91145823275248d049f8557462f09270c0b36
Showing 1 changed file with 3 additions and 0 deletions.
@@ -342,6 +342,9 @@ private List<String> getJavacOpts(String... runtimeArgs) throws Fault {
}
break;
default:
if (opt.startsWith("-agentlib:jdwp=") || opt.startsWith("-Xrunjdwp:")) {
javacOpts.add("-g");
}
// ignore all other runtime args
}
}

1 comment on commit 6eb9114

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 6eb9114 May 28, 2021

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.