Skip to content

Commit ebb52eb

Browse files
authored
Merge pull request #4047 from tautschnig/pod-init
Initialise all POD members of java_bytecode_languaget
2 parents ad98d00 + 5eac633 commit ebb52eb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

jbmc/src/java_bytecode/java_bytecode_language.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,17 @@ class java_bytecode_languaget:public languaget
112112

113113
virtual ~java_bytecode_languaget();
114114
java_bytecode_languaget(
115-
std::unique_ptr<select_pointer_typet> pointer_type_selector):
115+
std::unique_ptr<select_pointer_typet> pointer_type_selector)
116+
: threading_support(false),
116117
assume_inputs_non_null(false),
117118
object_factory_parameters(),
118119
max_user_array_length(0),
119120
lazy_methods_mode(lazy_methods_modet::LAZY_METHODS_MODE_EAGER),
120121
string_refinement_enabled(false),
122+
throw_runtime_exceptions(false),
123+
assert_uncaught_exceptions(false),
124+
throw_assertion_error(false),
125+
nondet_static(false),
121126
pointer_type_selector(std::move(pointer_type_selector))
122127
{
123128
}

0 commit comments

Comments
 (0)