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

No-reflection initialization of DefaultHazelcastInstanceFactory #185

Merged
merged 1 commit into from
Jun 23, 2020

Conversation

pivovarit
Copy link
Contributor

@pivovarit pivovarit commented Jun 23, 2020

There's no need to use reflection to instantiate a default factory. That might screw up non-standard environments (OSGi, GraalVM native images, some application servers, etc).


Fixes: #39

@pivovarit pivovarit force-pushed the no-reflection-start branch 2 times, most recently from e9f1d1f to ca99591 Compare June 23, 2020 11:05
@pivovarit pivovarit marked this pull request as ready for review June 23, 2020 11:05
@pivovarit pivovarit requested review from enozcan and a team as code owners June 23, 2020 11:05
@pivovarit pivovarit requested review from alparslanavci and leszko and removed request for alparslanavci June 23, 2020 11:05
@pivovarit pivovarit self-assigned this Jun 23, 2020
@pivovarit pivovarit merged commit 95ab595 into master Jun 23, 2020
@pivovarit pivovarit deleted the no-reflection-start branch June 23, 2020 13:27
@pivovarit pivovarit added this to the 2.1.0 milestone Jun 26, 2020
@pivovarit pivovarit added the bug label Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OSGi java.lang.ClassNotFoundException: com.hazelcast.hibernate.instance.DefaultHazelcastInstanceFactory
2 participants