Skip to content

Commit a64c5bd

Browse files
author
thk123
committed
Given string types an appropriate name
This is used when constructing a symbol_typet from a struct_typet
1 parent 6fd77f4 commit a64c5bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jbmc/src/java_bytecode/java_string_library_preprocess.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ void java_string_library_preprocesst::add_string_type(
222222
{
223223
java_class_typet string_type;
224224
string_type.set_tag(class_name);
225+
string_type.set(ID_name, "java::"+id2string(class_name));
225226
string_type.components().resize(3);
226227
string_type.components()[0].set_name("@java.lang.Object");
227228
string_type.components()[0].set_pretty_name("@java.lang.Object");

0 commit comments

Comments
 (0)