There is no way to run a java program under the debugger with assertions
enabled in the target program. Since there is no API for enabling
assertions within the program for bootstrap classes, the consequence
is that it is impossible to have assertions enabled for bootstrap classes
when running the program under the debugger.
enabled in the target program. Since there is no API for enabling
assertions within the program for bootstrap classes, the consequence
is that it is impossible to have assertions enabled for bootstrap classes
when running the program under the debugger.
- relates to
-
JDK-6220047 TTY: jdb should also support the -cp option
- Closed
-
JDK-6389899 JDB help command doesn't correctly describe run command
- Closed