Possible Null `StringCreater` in `UTFEncoderDecoder` #5777

Closed
serkan-ozal opened this Issue Jul 24, 2015 · 0 comments

Projects

None yet

1 participant

@serkan-ozal
Contributor

When hazelcast.nio.faststring is enabled, UTFEncoderDecoder tries to create FastStringCreator but if the reflection is not available due to security manager, buildFastStringCreator return null and then StringCreator becomes null

@serkan-ozal serkan-ozal self-assigned this Jul 24, 2015
@serkan-ozal serkan-ozal added this to the 3.6 milestone Jul 24, 2015
@serkan-ozal serkan-ozal changed the title from Possible Null `StringCreater` to Possible Null `StringCreater` in `UTFEncoderDecoder` Jul 24, 2015
@serkan-ozal serkan-ozal added a commit to serkan-ozal/hazelcast that referenced this issue Aug 20, 2015
@serkan-ozal serkan-ozal Create `DefaultStringCreator` if creating `FastStringCreator` fails f…
…or some reason such as not allowed reflection usage by system's `SecurityManager`. Fixes #5777
373ca2b
@serkan-ozal serkan-ozal added a commit to serkan-ozal/hazelcast that referenced this issue Aug 20, 2015
@serkan-ozal serkan-ozal Create `DefaultStringCreator` if creating `FastStringCreator` fails f…
…or some reason such as not allowed reflection usage by system's `SecurityManager`. Fixes #5777
1820521
@jerrinot jerrinot closed this in #6027 Aug 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment