Repository navigation
fix(bean): 保留完整泛型、克隆语义与异常契约 - #389
Merged
Merged
Conversation
按声明层级解析继承类型变量,保留 record 转换器及异常语义。 恢复兼容泛型属性的 clone 和排序 Map 比较器,保留匹配数组键。 泛型内容仍按完整目标类型绑定,补齐复制与公开入口回归。
按源和目标完整类型决定是否绑定泛型,兼容属性沿用引用或clone。 沿声明类追踪类型变量,保留继承绑定和当前转换上下文。 补充构造器、只读状态、循环引用、不同泛型参数及有界变量回归。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
嵌套容器、泛型数组及继承 Bean/record 的目标类型被压成 Class[] 后可能残留 Map;兼容泛型属性被无条件重建还会造成构造失败、只读状态丢失或循环递归。本 PR 在公共复制/转换 owner 保留完整类型并恢复兼容属性的处理。
两条维护线各 124 项 FastBeanCopier 测试通过,零失败/错误/跳过,各自最终提交的 build/CLA 成功;包含新增 8 项复制契约回归。两线候选 Jar 各通过五个复制触发和三个完整类型 API 入口。最新配套 Core 27、2.20 common 127 项通过,含 41 项真实 TCP RSocket 命令;Supports 75 项及未变的 hsweb 源码复用此前证据,不累加重复运行。5.0.3 后续修复见 #391。
Core 1.3.3-SNAPSHOT 同时被 2.20/2.21 消费。先合入并发布本 5.0.4 与 #391 的 5.0.3 修复、核对实际新 Jar,再发布 Core #135。旧 5.0.4 Jar 缺新 API,不能仅凭 5.0.3 已发布就推进共享 Core。2.21 组件接入见 #1784,2.20 最小配套见 #1788。数组 codec 延迟注册修复位于 Core 公共 owner,不在 hsweb 添加特判。
不承诺任意循环对象图深转换;private record 动态访问限制和独立 gossip 上游缺陷保留。未合并、发布 Maven、替换共享缓存或部署;未做全模块、生产滚动升级或负载测试。