netty/netty — pull request #580 by illicitonion (2012-08-31 02:18:55+00:00)
Title: Detect LinkedTransferQueue explicitly, rather than guessing by a proxy

Some OpenJDKs have Deflater.SYNC_FLUSH backported. Rather than guessing
whether LinkedTransferQueue exists based on Deflater.SYNC_FLUSH's
presence, actually detect whether the class exists.

I'd be happy to back the cache in DetectionUtil by a Map if you think it's worth making more generic.