Skip to content

Commit 4065ce9

Browse files
PatilShreyastschuchortdev
authored andcommitted
#364 | Replace usage of schemeSpecificPart with rawSchemeSpecificPart; remove encoding path
1 parent 2632152 commit 4065ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/kotlin/com/tschuchort/compiletesting/AbstractKotlinCompilation.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ abstract class AbstractKotlinCompilation<A : CommonCompilerArguments> internal c
262262
.mapNotNull { url ->
263263
val uri = URI.create(url.toString().removeSuffix("/$resourceName"))
264264
when (uri.scheme) {
265-
"jar" -> Paths.get(URI.create(encodePath(uri.schemeSpecificPart.removeSuffix("!"))))
265+
"jar" -> Paths.get(URI.create(uri.rawSchemeSpecificPart.removeSuffix("!")))
266266
"file" -> Paths.get(uri)
267267
else -> return@mapNotNull null
268268
}.toAbsolutePath()

0 commit comments

Comments
 (0)