Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rest] Fix Java 21 build #4171

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Conversation

holgerfriedrich
Copy link
Member

Rename internal class.
Old implementation was breaking the Java 21 build when output was set to Java 17 class files.
Compiler got confused by similar class names Entry from local class and Map.

Refs:
openhab/openhab-distro#1590
openhab/openhab-distro#1640

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kaikreuzer kaikreuzer merged commit 875ebaa into openhab:main Apr 5, 2024
3 checks passed
@kaikreuzer kaikreuzer added this to the 4.2 milestone Apr 5, 2024
@holgerfriedrich holgerfriedrich deleted the pr-rest branch April 5, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants