-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, spring-boot-python-executor relies on reflection, dynamic proxies, and resource loading (e.g. .py scripts). This works fine on a regular JVM but causes issues when running in Spring Native / GraalVM Native Image, since required classes and resources are not automatically discovered. Without explicit hints, native builds may fail at runtime with ClassNotFoundException, reflection errors, or missing resource exceptions.
- Introduce a RuntimeHintsRegistrar for spring-boot-python-executor that registers:
- Reflection hints for PythonExecutor, resolvers, and script-related classes.
- Resource hints for bundled Python files (e.g. python/**).
- Proxy hints for interfaces like PythonResolver where dynamic proxies may be created.
This ensures full compatibility with Spring AOT processing and native-image builds.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Projects
Status
Backlog