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

Investigate removal of KParameter class generation #534

Open
jamesnetherton opened this issue Dec 10, 2019 · 2 comments
Open

Investigate removal of KParameter class generation #534

jamesnetherton opened this issue Dec 10, 2019 · 2 comments

Comments

@jamesnetherton
Copy link
Contributor

For the SQL extension I had to work around a problem with a NoClassDefFoundError for a Kotlin class: KParameter.

I never got to the bottom of what was causing it. KParameter is only referenced in a few places which I added substitutions for.

It would be good to see if the problem can be resolved and the workaround removed.

@davsclaus
Copy link
Contributor

What is bringing Kotlin into the mix in the first place?

@jamesnetherton
Copy link
Contributor Author

It's an optional dependency of Spring. But because there is some Kotlin class usage in spring-core & spring-bean, it gets detected during the native image build. Hence the substitutions and workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants