Skip to content

reuse original ApplicationEnvironmentPreparedEvent#421

Merged
ulisesbocchio merged 1 commit intoulisesbocchio:masterfrom
ArloL:spring-boot-4-compatibility
Jan 25, 2026
Merged

reuse original ApplicationEnvironmentPreparedEvent#421
ulisesbocchio merged 1 commit intoulisesbocchio:masterfrom
ArloL:spring-boot-4-compatibility

Conversation

@ArloL
Copy link
Contributor

@ArloL ArloL commented Jan 1, 2026

This tries to fix #417 by reusing the original ApplicationEnvironmentPreparedEvent; I am really not sure if this breaks anything else. This works around the binary incompatibility issue of the constructor where the package has moved. Please let me know if I can improve the code in any way to make it mergeable. I could successfully run mvn clean verify with openjdk 17.

@ulisesbocchio
Copy link
Owner

thanks! that's pretty clever, reusing the same event rather than creating a new one.
Mind re-merging master into your branch?
I made some changes on the CI/CD workflow to run on PRs so all the tests in the test apps in the samples repo can run on your fix.

@ArloL ArloL force-pushed the spring-boot-4-compatibility branch from edd679d to aec5f86 Compare January 2, 2026 08:34
@ArloL
Copy link
Contributor Author

ArloL commented Jan 2, 2026

Glad you like the solution 😊 I just rebased and force-pushed. Hope everything works.

@ulisesbocchio
Copy link
Owner

sorry @ArloL , would you mind rebasing one more time? I made a boo boo on the previous change, that's why the pipeline failed.

@ArloL ArloL force-pushed the spring-boot-4-compatibility branch from aec5f86 to 12f6df7 Compare January 3, 2026 09:44
@ArloL
Copy link
Contributor Author

ArloL commented Jan 3, 2026

Sure. Done 👌

@ArloL
Copy link
Contributor Author

ArloL commented Jan 20, 2026

Any blockers remaining?

@ulisesbocchio ulisesbocchio merged commit 147143c into ulisesbocchio:master Jan 25, 2026
9 checks passed
@ulisesbocchio
Copy link
Owner

Merged, thank you @ArloL !

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.

Spring Boot 4 Integration

2 participants