Skip to content

Commit b4f57ee

Browse files
author
Joel Allred
authored
Merge pull request #1410 from LAJW/fix-test-gen
TG-634 (Rollback) Remove invariant causing failure in unit test generation involving CharSequences
2 parents 93149be + bcfb914 commit b4f57ee

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/java_bytecode/java_object_factory.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -882,13 +882,6 @@ void java_object_factoryt::gen_nondet_struct_init(
882882
binary_relation_exprt(me, ID_le, max_length)));
883883
}
884884
}
885-
else
886-
{
887-
INVARIANT(
888-
class_identifier!="java.lang.CharSequence" &&
889-
class_identifier!="java.lang.AbstractStringBuilder",
890-
"Trying to initialize abstract class");
891-
}
892885
}
893886
}
894887
}

0 commit comments

Comments
 (0)