34 Star 155 Fork 649

OpenHarmony / arkcompiler_ets_runtime

 / 详情

[Bug]: Lack of native state scope during calling FunctionRef

待办的
创建于  
2024-03-28 18:13

发生了什么问题?

During calling the FunctionRef class functions, we may execute native code but do that in the RUNNING state.

期望行为是什么?

While executing native code in the FunctionRef class functions, we have to change the JSThread state to NATIVE.

如何复现该缺陷

Create FunctionRef::New and check the thread state inside the native callback

其他补充信息

版本或分支信息

  • master
  • Release 4.1
  • Release 4.0
  • Release 3.2

评论 (1)

Aleksandr Emelenko 创建了任务
Aleksandr Emelenko 添加了
 
bug
标签
展开全部操作日志

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @weng-changcheng @gonggong @孙哲 @Gargoyle.h @chuning1988 。如果需要调整订阅PR、Issue的变更状态,请访问链接

Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @weng-changcheng @gonggong @孙哲 @Gargoyle.h @chuning1988 for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7387629 openharmony ci 1656582662 11268259 aemelenko 1657802842
1
https://gitee.com/openharmony/arkcompiler_ets_runtime.git
git@gitee.com:openharmony/arkcompiler_ets_runtime.git
openharmony
arkcompiler_ets_runtime
arkcompiler_ets_runtime

搜索帮助