Asyn brotli reflection#738
Conversation
…#737) Prevent EIIE when commons-compress is absent; wrap failures as IOException. Fix runtimeAvailable() to probe CC classes; decouple from helper JARs.
ada8f28 to
654d8bb
Compare
c1658f3 to
7401798
Compare
…ad brotli4j via reflection. Removes hard dependencies and avoids linkage errors when Brotli is absent.
f10a343 to
be49950
Compare
|
@arturobernalg Why are we actually doing all this? What am i missing? |
@ok2c |
|
@arturobernalg I think it was a misunderstanding. The problem was this bit of code that used I once again did a poor job reviewing your changes but I will try to improve. I fixed all these problems with 4a34b97 |
Make DeflatingBrotliEntityProducer and InflatingBrotliDataConsumer load brotli4j via reflection.
Removes hard dependencies and avoids linkage errors when Brotli is absent.