[PATCH] Improve performance of parsing unknown fields in Java (#9371)
authorAdam Cozzette <acozzette@google.com>
Wed, 5 Jan 2022 16:50:29 +0000 (08:50 -0800)
committerHelmut Grohne <helmut@subdivi.de>
Tue, 4 Apr 2023 15:09:31 +0000 (16:09 +0100)
commitb337d6b688c018b1637c59840888af4f7531cd49
treee8ff0d985c4baaf3c5361e7ad64dc437c70cd2b8
parenta3b5f51cc654ffe011d12c751141dcd861d2fa5b
[PATCH] Improve performance of parsing unknown fields in Java (#9371)

Credit should go to @elharo for most of these Java changes--I am just
cherry-picking them from our internal codebase. The one thing I did
change was to give the UTF-8 validation tests their own Bazel test
target. This makes it possible to give the other tests a shorter
timeout, which is important for UnknownFieldSetPerformanceTest in
particular.

Gbp-Pq: Name CVE-2021-22569.patch
java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java