We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34d20fa commit b97b80aCopy full SHA for b97b80a
jbmc/src/java_bytecode/java_object_factory.cpp
@@ -826,9 +826,10 @@ void java_object_factoryt::gen_nondet_struct_init(
826
// This code mirrors the `remove_java_new` pass:
827
auto initial_object = zero_initializer(expr.type(), source_locationt(), ns);
828
CHECK_RETURN(initial_object.has_value());
829
- const irep_idt qualified_clsid = "java::" + id2string(struct_tag);
830
set_class_identifier(
831
- to_struct_expr(*initial_object), ns, struct_tag_typet(qualified_clsid));
+ to_struct_expr(*initial_object),
+ ns,
832
+ struct_tag_typet("java::" + id2string(struct_tag)));
833
834
// If the initialised type is a special-cased String type (one with length
835
// and data fields introduced by string-library preprocessing), initialise
0 commit comments