Closed
调整 Util 异常抛出方式、回退 ConsoleTest050–089 并清理部件依赖 #2552
王子睿Add on  13 days agoClosed at  10 days ago
王子睿
王子睿
13 days ago Create

当前变更需要统一跟踪以下调整:

  1. native_module_util.cpp 中 SetTrackGlobalRef、GetThresholdProperty、OnVMHeapMemoryPressure 的 6 处参数错误改用文件内 ThrowError,沿用 BusinessError、数字错误码 401,保留原有错误文案和返回路径。
  2. 回退 test_console.cpp 中 ConsoleTest050~ConsoleTest089 共 40 个用例,保留 ConsoleTest049 及之前内容。
  3. 删除 bundle.json 中 typescript 和 ace_engine 部件依赖。
  4. 同步 Util 工作区调整:清理头文件和命名空间引用、调整 EnableLocalHandleDetection 位置及注册顺序、增加 hintGC 注册。

验证状态:JSON 解析及按原 CRLF 行尾检查的 git diff --check 通过;独立仓库缺少 OpenHarmony 构建依赖,C++ 语法检查因缺失头文件中止,尚未完成模块构建和设备测试。需要在完整源码环境构建 util、console 及相关单测,并验证 hintGC 注册与运行时接口兼容性。

likedislike
王子睿王子睿
13 days ago Associated pull request
openharmony_ci
openharmony_ciCollaborators
13 days ago Comments:

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 [@weng-changcheng](https://gitcode.com/weng-changcheng) [@xliu-huanwei](https://gitcode.com/xliu-huanwei) [@gong_19901](https://gitcode.com/gong_19901) 。如果需要调整订阅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.

likedislike
openharmony_ciopenharmony_ciCollaborators
13 days ago Added label: waiting_for_assign
openharmony_ciopenharmony_ciCollaborators
10 days ago Close issue
openharmony_ciopenharmony_ciCollaborators
10 days ago changed custom state from 待办的 to 已完成