Skip to content

Commit f2fe371

Browse files
committed
Issue #129 Clarify upstream bugfix policy
1 parent a661069 commit f2fe371

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

AGENTS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ IMPORTANT: This API **MUST NOT** deviate from the upstream jdk.sandbox repo whic
176176
- `Json*Impl`: Immutable implementations of `Json*` types.
177177
- `Utils`: Internal utilities and factory methods.
178178

179-
IMPORTANT: Bugs in the main logic this code cannot be fixed in this repo they **MUST** be fixed upstream. Only bugs in any backporting machinery such as the double-check-locking class that is a polyfill for a future JDK `@StableValue` feature may be fixed in this repo.
179+
IMPORTANT: Bugs in upstream-derived core logic MUST be fixed upstream. Do not patch `jdk.sandbox.*` sources in this repo unless the user explicitly agrees (for example, to carry a temporary local backport while the upstream fix is in progress).
180+
181+
Only bugs in local, non-upstream code (for example, backporting shims/polyfills or other modules in this repo) should be fixed here using normal TDD.
180182

181183
### Design Patterns
182184
- Algebraic Data Types: Sealed interfaces enable exhaustive pattern matching.

0 commit comments

Comments
 (0)