Skip to content

Commit cea277b

Browse files
Use TrustedLibraries instead of packagesToProcessConcretely
1 parent 46d0aa0 commit cea277b

File tree

1 file changed

+1
-2
lines changed
  • utbot-framework/src/main/kotlin/org/utbot/engine

1 file changed

+1
-2
lines changed

utbot-framework/src/main/kotlin/org/utbot/engine/Traverser.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1791,8 +1791,7 @@ class Traverser(
17911791
private fun isStaticFieldMeaningful(field: SootField) =
17921792
!Modifier.isSynthetic(field.modifiers) &&
17931793
// we don't want to set fields from library classes
1794-
!javaPackagesToProcessConcretely.any { field.declaringClass.packageName.startsWith(it) } &&
1795-
!sunPackagesToProcessConcretely.any { field.declaringClass.packageName.startsWith(it) }
1794+
!field.declaringClass.isFromTrustedLibrary()
17961795

17971796
/**
17981797
* Locates object represents static fields of particular class.

0 commit comments

Comments
 (0)