We're updating the issue view to help you get more done. 

Convert the GsonHolder to a Service to ensure cleanup

Description

The GsonHolder is a good candidate for a Service as it's unique and stateless, also while it's documented to be threadsafe it is using various ThreadLocal s so we shouldn't hold that in a static reference. Better be safe and avoid references to this on shutdown, especially for applications running Hibernate Search in an EE container.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Priority

Major