The GitHub Actions job "Binary Compatibility" on pekko.git/refactor/urlencoder-charset has failed. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: 9ba3a0560c5069c66b76c04057353d47395c451b / 虎鸣 <[email protected]> refactor: use StandardCharsets.UTF_8 with URLEncoder/URLDecoder Motivation: Multiple files pass charset as a String ("utf-8") or via ByteString.UTF_8 (which is StandardCharsets.UTF_8.name()) to URLEncoder.encode and URLDecoder.decode. JDK 10 added overloads that accept a Charset object directly, avoiding the checked UnsupportedEncodingException declaration. Modification: Replace "utf-8" and ByteString.UTF_8 string arguments with StandardCharsets.UTF_8 Charset object in 17 call sites across 8 files. Remove 4 unused ByteString imports. Result: Type-safe charset specification, no UnsupportedEncodingException declaration needed, removes ByteString dependency where it was only used for charset name constants. Tests: sbt "cluster-sharding/compile" "cluster-sharding-typed/compile" "cluster-tools/compile" "persistence-query/compile" "stream/compile" — all passed References: Refs #3136 Report URL: https://github.com/apache/pekko/actions/runs/28001004868 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
