Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Add Kotlin reflection support #419

Closed
sdeleuze opened this issue Dec 18, 2020 · 2 comments
Closed

Add Kotlin reflection support #419

sdeleuze opened this issue Dec 18, 2020 · 2 comments
Assignees
Labels
type: compatibility Native image compatibility issue
Milestone

Comments

@sdeleuze
Copy link
Contributor

I had to revert the switch of KotlinDetector to build time init, because when Kotlin reflection detection works correctly, more reflection is needed (error message like Class com.example.webmvc.Bar[] is instantiated reflectively but was never registered).

Short term we should probably add the related reflection entries, middle term we should probably perform Kotlin reflection at build time via implementing spring-projects/spring-framework#21546.

@sdeleuze sdeleuze added this to the 0.9.0 milestone Dec 18, 2020
@sdeleuze sdeleuze self-assigned this Dec 18, 2020
@sdeleuze sdeleuze added status: blocked An issue that's blocked on an external project change or another issue and removed theme: build-time-transformation labels Jan 28, 2021
@sdeleuze
Copy link
Contributor Author

sdeleuze commented Jan 28, 2021

After discussing with Kotlin team, it should be possible to solve that on Kotlin side, see KT-44594 related issue.

@sdeleuze sdeleuze added the type: compatibility Native image compatibility issue label Jan 28, 2021
@sdeleuze sdeleuze modified the milestones: 0.9.0, 0.9.1 Jan 28, 2021
@sdeleuze sdeleuze modified the milestones: 0.9.1, 0.9.0 Feb 26, 2021
@sdeleuze sdeleuze removed the status: blocked An issue that's blocked on an external project change or another issue label Feb 26, 2021
@sdeleuze
Copy link
Contributor Author

This was fixed as part of 0.9.0 and will be just easier when we will use Kotlin 1.5 to benefits from KT-44594 fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: compatibility Native image compatibility issue
Development

No branches or pull requests

1 participant