Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fat jars incorrectly shade kotlin-reflect #794

Open
bioball opened this issue Nov 8, 2024 · 0 comments
Open

fat jars incorrectly shade kotlin-reflect #794

bioball opened this issue Nov 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bioball
Copy link
Contributor

bioball commented Nov 8, 2024

The shaded kotlin reflect API tries to load a resource at the wrong path, causing:

java.lang.IllegalStateException: Resource not found in classpath: kotlin/kotlin.kotlin_builtins
	at org.pkl.thirdparty.kotlin.reflect.jvm.internal.impl.serialization.deserialization.builtins.BuiltInsLoaderImpl.createBuiltInPackageFragmentProvider(BuiltInsLoaderImpl.kt:59)
	at org.pkl.thirdparty.kotlin.reflect.jvm.internal.impl.serialization.deserialization.builtins.BuiltInsLoaderImpl.createPackageFragmentProvider(BuiltInsLoaderImpl.kt:35)
	at org.pkl.thirdparty.kotlin.reflect.jvm.internal.impl.builtins.KotlinBuiltIns.createBuiltInsModule(KotlinBuiltIns.java:105)
	at org.pkl.thirdparty.kotlin.reflect.jvm.internal.impl.builtins.DefaultBuiltIns.<init>(DefaultBuiltIns.kt:24)
	at org.pkl.thirdparty.kotlin.reflect.jvm.internal.impl.builtins.DefaultBuiltIns.<init>(DefaultBuiltIns.kt:21)
	at org.pkl.thirdparty.kotlin.reflect.jvm.internal.impl.builtins.DefaultBuiltIns.<clinit>(DefaultBuiltIns.kt:31)
@bioball bioball added the bug Something isn't working label Nov 8, 2024
@bioball bioball changed the title fat jars incorrectly shaded kotlin-stdlib fat jars incorrectly shade kotlin-stdlib Nov 8, 2024
@bioball bioball changed the title fat jars incorrectly shade kotlin-stdlib fat jars incorrectly shade kotlin-reflect Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant