commit | 97fe626c25d57d47816f95486be77ef39646ed59 | [log] [tgz] |
---|---|---|
author | Kezhu Wang <kezhuw@apache.org> | Sun Aug 13 10:34:06 2023 +0800 |
committer | GitHub <noreply@github.com> | Sun Aug 13 10:34:06 2023 +0800 |
tree | 701000e3271e308e5832bc23b7a44272d7a701a7 | |
parent | abfa96f0622549f610eda08b62a1fead87452083 [diff] |
CURATOR-626: Postpone null namespace facade creation to avoid partial initialization (#475) In construction of `CuratorFrameworkImpl`, it constructs a sub class `NamespaceFacade` for commonly used `nullNamespace`. Due to this recursive construction, `nullNamespace` has uninitialized fields which cause NPT in certain cases. This commit solves this by postponing `nullNamespace` creation.
Apache Curator is a Java/JVM client library for Apache ZooKeeper, a distributed coordination service.
Apache Curator includes a high-level API framework and utilities to make using Apache ZooKeeper much easier and more reliable. It also includes recipes for common use cases and extensions such as service discovery and a Java 8 asynchronous DSL.
For more details: