已关闭
Introduce checkcast.nonnull #8996
Lyupa Anastasia创建于 2025年12月30日关闭于 5月18日
2025年12月30日 添加了label:enhancement
openharmony_ci
2025年12月30日 评论:
2025年12月30日 评论:
感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 [@weng-changcheng](https://gitcode.com/weng-changcheng) [@godmiaozi](https://gitcode.com/godmiaozi) [@liyiming13](https://gitcode.com/liyiming13) [@lijin1039](https://gitcode.com/lijin1039) [@Prof](https://gitcode.com/Prof) [@dingding5](https://gitcode.com/dingding5) [@v-cherkashin](https://gitcode.com/v-cherkashin) 。如果需要调整订阅PR、Issue的变更状态,请访问链接。
Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer gitcode for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.


2025年12月30日 添加了label:waiting_for_assign
1月22日 关联了pull request:[WIP]Introduce checkcast.nonnull
1月23日 关联了pull request:Introduce checkcast.nonnull
1月23日 修改标题为 “[WIP]Introduce checkcast.nonnull”,原标题为“Introduce checkcast.nonnull”
1月23日 修改标题为 “Introduce checkcast.nonnull”,原标题为“[WIP]Introduce checkcast.nonnull”
openharmony_dcp
2月14日 评论:
2月14日 评论:
开发自提单,长时间未处理,经领域审视,issue先关闭


2月14日 issue状态由 待办的 改变为 已完成
2月14日 关闭了 issue
2月18日 关联了pull request:Introduce checkcast.nonnull
3月13日 issue状态由 已完成 改变为 设计中
3月13日 重新打开了 issue
5月18日 issue状态由 设计中 改变为 已完成
5月18日 关闭了 issue
感谢提出新需求。
新需求提供了什么功能?
Current checkcast always accepts the nullref. Add an checkcast bytecode to always reject the nullref.
该需求带来的价值、应用场景?
Null-safety requires a lot of redundant bytecode to be produced instead of the checkcast.