File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
utbot-framework/src/main/kotlin/org/utbot/engine Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3328,10 +3328,11 @@ class Traverser(
3328
3328
val updatedFields = staticFieldsUpdates.mapTo(mutableSetOf ()) { it.fieldId }
3329
3329
val objectUpdates = mutableListOf<UtNamedStore >()
3330
3330
3331
- // we assign unbounded symbolic variables for every non-final field of the class
3331
+ // we assign unbounded symbolic variables for every non-final meaningful field of the class
3332
+ // fields from predefined library classes are excluded, because there are not meaningful
3332
3333
typeResolver
3333
3334
.findFields(declaringClass.type)
3334
- .filter { ! it.isFinal && it.fieldId in updatedFields }
3335
+ .filter { ! it.isFinal && it.fieldId in updatedFields && isStaticFieldMeaningful(it) }
3335
3336
.forEach {
3336
3337
// remove updates from clinit, because we'll replace those values
3337
3338
// with new unbounded symbolic variable
You can’t perform that action at this time.
0 commit comments