Title: Simplify enum deduplication logic in JtdPropertyTest · Issue #104 · simbo1905/java.util.json.Java21 · GitHub
Open Graph Title: Simplify enum deduplication logic in JtdPropertyTest · Issue #104 · simbo1905/java.util.json.Java21
X Title: Simplify enum deduplication logic in JtdPropertyTest · Issue #104 · simbo1905/java.util.json.Java21
Description: Issue #99: Enforce RFC 8927 semantics for {} schema and remove AJV compatibility Problem Current codebase contains legacy AJV/JSON Schema compatibility where {} could mean "accept anything". This contradicts RFC 8927: {} always means an ...
Open Graph Description: Issue #99: Enforce RFC 8927 semantics for {} schema and remove AJV compatibility Problem Current codebase contains legacy AJV/JSON Schema compatibility where {} could mean "accept anything". This c...
X Description: Issue #99: Enforce RFC 8927 semantics for {} schema and remove AJV compatibility Problem Current codebase contains legacy AJV/JSON Schema compatibility where {} could mean "accept anything&quo...
Opengraph URL: https://github.com/simbo1905/java.util.json.Java21/issues/104
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Simplify enum deduplication logic in JtdPropertyTest","articleBody":"Issue #99: Enforce RFC 8927 semantics for {} schema and remove AJV compatibility\n\n## Problem\n\nCurrent codebase contains legacy AJV/JSON Schema compatibility where `{}` could mean \"accept anything\".\nThis contradicts RFC 8927: `{}` always means an object with no properties allowed \n(`properties = {}`, `optionalProperties = {}`, `additionalProperties = false`).\n\nThis dual behavior causes complexity and test contradictions.\n\n## Goals\n1. Rip out all AJV-style \"compatibility mode\" handling (`fromRef`, `EmptySchema fallback`).\n2. Make `{}` always RFC 8927 strict (`PropertiesSchema` with no properties, no additionalProperties).\n3. Add an `INFO` log warning whenever `{}` is compiled to help developers spot semantic differences from AJV/JSON Schema.\n4. Rewrite AJV-derived tests to expect failures or exceptions under RFC mode.\n5. Update README.md and AGENTS.md to document the difference.\n\n## Implementation Notes\n- Follow Markdown-Driven-Development: update documentation before code\n- Add INFO-level logging when {} schema is compiled\n- Ensure all tests validate strict RFC 8927 behavior\n- Update user-facing documentation to explain the semantic difference\n\nEOF \u003c /dev/null","author":{"url":"https://github.com/simbo1905","@type":"Person","name":"simbo1905"},"datePublished":"2025-09-28T21:59:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/104/java.util.json.Java21/issues/104"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:627264c9-6ee3-37c4-395f-cf05bcbf63c8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8348:C428D:2BB205:375805:697E5B6C |
| html-safe-nonce | 2e8326e19c604b3af0b8de719051c1755a83499efd6e06a741bbd311fb9cb04d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzQ4OkM0MjhEOjJCQjIwNTozNzU4MDU6Njk3RTVCNkMiLCJ2aXNpdG9yX2lkIjoiNTYzODMzNDQwODI2NDkzMjIwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4bd0f31c49b1b1afa8d883de8e168730a7f2211b2c0f251d37854f12534bcb8a |
| hovercard-subject-tag | issue:3462604484 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/simbo1905/java.util.json.Java21/104/issue_layout |
| twitter:image | https://opengraph.githubassets.com/237dc067e0ddd226ae589487fe699e8b48b08dd8bf479cb54dc5068067aa4f7d/simbo1905/java.util.json.Java21/issues/104 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/237dc067e0ddd226ae589487fe699e8b48b08dd8bf479cb54dc5068067aa4f7d/simbo1905/java.util.json.Java21/issues/104 |
| og:image:alt | Issue #99: Enforce RFC 8927 semantics for {} schema and remove AJV compatibility Problem Current codebase contains legacy AJV/JSON Schema compatibility where {} could mean "accept anything". This c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | simbo1905 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/simbo1905/java.util.json.Java21 git https://github.com/simbo1905/java.util.json.Java21.git |
| octolytics-dimension-user_id | 322608 |
| octolytics-dimension-user_login | simbo1905 |
| octolytics-dimension-repository_id | 1025867939 |
| octolytics-dimension-repository_nwo | simbo1905/java.util.json.Java21 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1025867939 |
| octolytics-dimension-repository_network_root_nwo | simbo1905/java.util.json.Java21 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width