File tree Expand file tree Collapse file tree
main/kotlin/org/usvm/util
test/kotlin/org/usvm/samples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ object Versions {
66 const val clikt = " 5.0.0"
77 const val detekt = " 1.23.7"
88 const val ini4j = " 0.5.4"
9- const val jacodb = " da338ffc83 "
9+ const val jacodb = " d7dd9d343b "
1010 const val juliet = " 1.3.2"
1111 const val junit = " 5.9.3"
1212 const val kotlin = " 2.1.0"
Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ suspend fun JcDatabase.classpathWithApproximations(
4444 val approximationsPath = setOf (File (usvmApiJarPath), File (usvmApproximationsJarPath))
4545
4646 val cpWithApproximations = dirOrJars + approximationsPath
47- val featuresWithApproximations = features + listOf (Approximations )
47+ val approximations = this .features.filterIsInstance<Approximations >().singleOrNull()
48+ ? : error(" approximations feature not found in database features" )
49+ val featuresWithApproximations = features + listOf (approximations)
4850 val cp = classpath(cpWithApproximations, featuresWithApproximations.distinct())
4951
5052 val approximationsLocations = cp.locations.filter { it.jarOrFolder in approximationsPath }
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class JacoDBContainer(
2828 builder()
2929
3030 if (samplesWithApproximationsKey == key) {
31- installFeatures(Approximations )
31+ installFeatures(Approximations (emptyList()) )
3232 }
3333
3434 loadByteCode(classpath)
You can’t perform that action at this time.
0 commit comments