Why do you use bridj and netty library?

Hello,

We use version 5.5 of language tool.

Thanks to maven dependency:tree command, we have seen that you use bridj and io_grpc_netty_shaded_netty_tcnative.

[INFO] +- org.languagetool:languagetool-core:jar:5.5:compile
[INFO] |  +- com.gitlab.dumonts:hunspell:jar:1.1.1:compile
[INFO] |  |  - com.nativelibs4java:bridj:jar:0.7.0:compile
[INFO] |  |     - com.google.android.tools:dx:jar:1.7:compile
[INFO] +- org.languagetool:languagetool-core:jar:5.5:compile
[INFO] |  +- io.grpc:grpc-netty-shaded:jar:1.27.2:compile
[INFO] |  |  - io.grpc:grpc-core:jar:1.27.2:compile (version selected from constraint [1.27.2,1.27.2])
[INFO] |  |     +- com.google.code.gson:gson:jar:2.8.5:compile
[INFO] |  |     +- com.google.android:annotations:jar:4.1.1.4:compile
[INFO] |  |     - io.perfmark:perfmark-api:jar:0.19.0:compile

We face some incompatibility issues with this two elements and we have to exclude them with maven.

Before doing this modification, can you explain me why do you need this, to be sure we will have no regression when exclude them.

Thanks,
Regards,
Isabelle

bridj is used for some languages (e.g. German) for spell checking. I think (but I cannot make any guarantees) that io_grpc_netty_shaded_netty_tcnative is only used in our Cloud setup and not relevant elsewhere.