Skip to content

Conversation

koperagen
Copy link
Collaborator

before, calling df.convert { }.with { } from compiler plugin implementation would cause ClassNotFoundException: kotlinx.datetime.TimeZone. As expected because we don't want to bundle kotlinx.datetime in the plugin.
now with lives in its own class and can be safely called

@koperagen koperagen added this to the 1.0.0-Beta3 milestone Aug 19, 2025
@koperagen koperagen requested a review from Jolanrensen August 19, 2025 13:20
@koperagen koperagen self-assigned this Aug 19, 2025
@koperagen koperagen added enhancement New feature or request Compiler plugin Anything related to the DataFrame Compiler Plugin labels Aug 19, 2025
@koperagen koperagen force-pushed the delayed-static-initialization branch from 18d5bf6 to 15fe227 Compare August 19, 2025 13:45
@koperagen koperagen force-pushed the delayed-static-initialization branch from 15fe227 to 1033df2 Compare August 19, 2025 16:02
@koperagen koperagen changed the title Calling df.convert { }.with { } from compiler plugin won't cause static initialization of TimeZone class Add basic tests that API exposed for compiler plugin works without excluded dependencies Aug 19, 2025
@koperagen koperagen merged commit fdd08c4 into master Aug 20, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compiler plugin Anything related to the DataFrame Compiler Plugin enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants