Cache implementations should have consistent behavior regarding null keys
Description
It appears that various implementations of Cache have different behavior, regarding null keys (DefaultCache allows them, while the Hazelcast-backed cache does not).
Setting this to a blocker as it is something that needs straightened out/resolved prior to release.
Tom Evans
August 15, 2016 at 7:35 PM
Perhaps emitting a warning log message would be preferable to throwing an exception. Specifically it would be helpful to know which caches are using this currently undocumented "feature" and for what purpose.
In addition, the modified behavior should be configurable via system property (e.g. allowNullCacheKeys = true|false).
It appears that various implementations of Cache have different behavior, regarding null keys (DefaultCache allows them, while the Hazelcast-backed cache does not).
Behavior should be consistent (and documented).