[PR #1274] [MERGED] modify Java decoder in a way it could be transpiled to exception unfriendly languages #1849

Open
opened 2026-01-29 20:56:08 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/1274
Author: @copybara-service[bot]
Created: 6/6/2025
Status: Merged
Merged: 6/10/2025
Merged by: @copybara-service[bot]

Base: masterHead: test_768061365


📝 Commits (1)

  • 08bdaeb modify Java decoder in a way it could be transpiled to exception unfriendly languages

📊 Changes

8 files changed (+495 additions, -186 deletions)

View changed files

📝 java/org/brotli/dec/BitReader.java (+59 -36)
java/org/brotli/dec/BrotliError.java (+47 -0)
📝 java/org/brotli/dec/BrotliInputStream.java (+1 -0)
📝 java/org/brotli/dec/Decode.java (+331 -123)
📝 java/org/brotli/dec/Dictionary.java (+27 -19)
📝 java/org/brotli/dec/DictionaryData.java (+6 -2)
📝 java/org/brotli/dec/SynthTest.java (+1 -1)
📝 java/org/brotli/dec/Utils.java (+23 -5)

📄 Description

modify Java decoder in a way it could be transpiled to exception unfriendly languages


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/1274 **Author:** [@copybara-service[bot]](https://github.com/apps/copybara-service) **Created:** 6/6/2025 **Status:** ✅ Merged **Merged:** 6/10/2025 **Merged by:** [@copybara-service[bot]](https://github.com/apps/copybara-service) **Base:** `master` ← **Head:** `test_768061365` --- ### 📝 Commits (1) - [`08bdaeb`](https://github.com/google/brotli/commit/08bdaebbf850a5f668ddda6606476a6297f702cf) modify Java decoder in a way it could be transpiled to exception unfriendly languages ### 📊 Changes **8 files changed** (+495 additions, -186 deletions) <details> <summary>View changed files</summary> 📝 `java/org/brotli/dec/BitReader.java` (+59 -36) ➕ `java/org/brotli/dec/BrotliError.java` (+47 -0) 📝 `java/org/brotli/dec/BrotliInputStream.java` (+1 -0) 📝 `java/org/brotli/dec/Decode.java` (+331 -123) 📝 `java/org/brotli/dec/Dictionary.java` (+27 -19) 📝 `java/org/brotli/dec/DictionaryData.java` (+6 -2) 📝 `java/org/brotli/dec/SynthTest.java` (+1 -1) 📝 `java/org/brotli/dec/Utils.java` (+23 -5) </details> ### 📄 Description modify Java decoder in a way it could be transpiled to exception unfriendly languages --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:56:08 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1849