GWC caches stale response encoders

Description

GWC.cachedTileEncoders should not be static because it then references stale beans when a new application context and GWC singleton are created. Because it should usually be recreated whenever the GWC singleton is recreated, a member variable seems a more robust solution.

This defect caused the failures noted after was fixed.

Environment

None

Status

Assignee

Ben Caradoc-Davies

Reporter

Ben Caradoc-Davies

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure