Skip to content

Commit 92b642d

Browse files
Remove deprecated --java-throw-runtime-exceptions
1 parent d3b8c01 commit 92b642d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

jbmc/src/java_bytecode/java_bytecode_language.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ void java_bytecode_languaget::get_language_options(const cmdlinet &cmd)
4646
{
4747
assume_inputs_non_null=cmd.isset("java-assume-inputs-non-null");
4848
string_refinement_enabled = !cmd.isset("no-refine-strings");
49-
throw_runtime_exceptions =
50-
cmd.isset("java-throw-runtime-exceptions") || // will go away
51-
cmd.isset("throw-runtime-exceptions");
49+
throw_runtime_exceptions = cmd.isset("throw-runtime-exceptions");
5250
assert_uncaught_exceptions = !cmd.isset("disable-uncaught-exception-check");
5351
throw_assertion_error = cmd.isset("throw-assertion-error");
5452
threading_support = cmd.isset("java-threading");

jbmc/src/java_bytecode/java_bytecode_language.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Author: Daniel Kroening, [email protected]
3131
"(disable-uncaught-exception-check)" \
3232
"(throw-assertion-error)" \
3333
"(java-assume-inputs-non-null)" \
34-
"(java-throw-runtime-exceptions)" /* will go away */ \
3534
"(throw-runtime-exceptions)" \
3635
"(java-max-input-array-length):" /* will go away */ \
3736
"(max-nondet-array-length):" \

0 commit comments

Comments
 (0)