MartijnVisser opened a new pull request, #184: URL: https://github.com/apache/flink-shaded/pull/184
## Purpose of the change [FLINK-41544](https://issues.apache.org/jira/browse/FLINK-41544). `flink-shaded-netty` gets Netty's NOTICE and licence files only through `netty-codec-native-quic`, which brings licences for code we don't bundle and misses others. Flink uses neither QUIC nor HTTP/3, and their natives statically link BoringSSL and quiche, so this stops bundling them and ships Netty's notices directly. ## Brief change log - Exclude `netty-codec-http3`, `netty-codec-classes-quic` and `netty-codec-native-quic` from `netty-all`. - Write Netty's attributions into the module NOTICE as plain text, grouped by licence, for the code that is in the jar. - Ship the licences of the bundled non-ASLv2 code from Netty's `license/` at the tag, plus Bjoern Hoehrmann's UTF-8 decoder in `Utf8Validator` and liburing in the io_uring natives (both MIT), which Netty's NOTICE doesn't list. - Drop the `META-INF/license` relocation, the `LICENSE.txt` filter and the NOTICE path rewrite, which only applied to the QUIC jar's files. ## Verifying this change - Ran the `ci.yml` build (with `install` instead of `deploy`) and `check-license` locally: both pass. - Against the released `4.2.17.Final-22.0` jar, the 274 removed class and native entries are all QUIC, HTTP/3 or quiche; the other 3254 are byte-identical. None of the remaining natives contains BoringSSL. - Every class from a third-party origin listed in Netty's NOTICE, plus the two above, has its licence file or NOTICE entry in the jar, and no licence file is shipped for code that isn't there. - Flink doesn't reference the shaded QUIC or HTTP/3 packages on `master`, `release-2.3`, `release-2.2` or `release-1.20`. ## Impact and documentation The jar no longer contains the shaded `io.netty.handler.codec.quic` and `io.netty.handler.codec.http3` packages or the quiche natives. With BoringSSL gone from this jar, the README's cryptographic software notice is accurate again. The backport for 21.1 is a separate PR against `release-21.0`. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Claude Code 2.1.331 (Claude Opus 5.5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
