[GEOS-6751] WFS can OOM when gzipping large compressible output
Avoid using java7 specific api