Skip to content

Conversation

@bevzzz
Copy link
Collaborator

@bevzzz bevzzz commented Sep 26, 2025

OpenJDK has a known bug that doesn't accept null keys/values into Collectors.toMap().

Since object properties (and, potentially, other values we receive from the server) may very well be null we need to work around that. This PR adds a simple MapUtil.collect(...) helper to safely create Maps from Streams.

@bevzzz bevzzz self-assigned this Sep 26, 2025
Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@bevzzz bevzzz merged commit 725ef52 into v6 Sep 26, 2025
2 checks passed
@bevzzz bevzzz deleted the v6-fix-toMap branch September 26, 2025 14:43
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.

2 participants