suztomo commented on pull request #16850: URL: https://github.com/apache/beam/pull/16850#issuecomment-1047878120
And thank you for checking the dependencies with Linkage Checker. For the linkage errors you pasted https://gist.github.com/benWize/0edd56b32d9b1e7b22d4cd9c231887c3. These are false positives. `com.aayushatharva.brotli4j` and `com.github.luben.zstd` are compression algorithms optionally used by Netty. When Netty users need them, they include the libraries in the class path; otherwise, the classes are not needed. # Linkage Errors from optional dependencies ``` Class com.aayushatharva.brotli4j.decoder.DecoderJNI$Status is not found; referenced by 2 class files io.grpc.netty.shaded.io.netty.handler.codec.compression.BrotliDecoder (io.grpc:grpc-netty-shaded:1.44.1) io.netty.handler.codec.compression.BrotliDecoder (io.netty:netty-codec:4.1.72.Final) Cause: Unknown The valid symbol is in com.aayushatharva.brotli4j:brotli4j:jar:1.6.0 at org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.38.0-SNAPSHOT / io.netty:netty-handler:4.1.72.Final (compile) / io.netty:netty-codec:4.1.72.Final (compile) / com.aayushatharva.brotli4j:brotli4j:1.6.0 (compile, optional) but it was not selected because the path contains an optional dependency ``` (and others) They are shown there because optional dependencies are not by default included. They are false positives. # Linkage Errors from GraalVM (or svm) ``` Class org.graalvm.nativeimage.hosted.Feature$IsInConfigurationAccess is not found; referenced by 10 class files com.oracle.svm.core.jdk8.LocalizationFeatureJDK8 (org.graalvm.nativeimage:svm:19.3.6) com.oracle.svm.core.graal.snippets.PosixAArch64VaListSnippetsFeature (org.graalvm.nativeimage:svm:19.3.6) com.oracle.svm.hosted.SecurityServicesFeature (org.graalvm.nativeimage:svm:19.3.6) com.oracle.svm.hosted.FallbackFeature (org.graalvm.nativeimage:svm:19.3.6) com.oracle.svm.graal.AMD64ArrayIndexOfForeignCallsFeature (org.graalvm.nativeimage:svm:19.3.6) ... ``` These are errors coming from GraalVM classes. Because the JVMs other than GraalVM do not have the classes, they are false positives. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
