Skip to content

fix: use config class loader, then context class loader, then parent in GIZMO#2284

Open
Christopher-Chianelli wants to merge 2 commits intoTimefoldAI:mainfrom
Christopher-Chianelli:fix/2264
Open

fix: use config class loader, then context class loader, then parent in GIZMO#2284
Christopher-Chianelli wants to merge 2 commits intoTimefoldAI:mainfrom
Christopher-Chianelli:fix/2264

Conversation

@Christopher-Chianelli
Copy link
Copy Markdown
Contributor

Note: the thread local solution is ugly, but I don't see another way of passing this required data to where it needs to be without a massive refactoring of everything.

The test basically copies the existing TestdataObject, TestdataEntity, TestdataValue and TestdataSolution class into a new class loader, and can reproduce the exception when the solver config's classloader is not set.

Fixes #2264

…in GIZMO

Co-authored-by: Jan Willem Keizer <janwillemkeizer@gmail.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 4, 2026

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

Successfully merging this pull request may close these issues.

fix(core): GizmoClassLoader parent-first delegation breaks ConstraintProvider class identity under Spring Boot DevTools

1 participant