mirror of
https://github.com/openharmony/arkcompiler_runtime_core.git
synced 2026-08-25 12:23:53 -04:00
c8c1c3a077
Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11012
Co-Authored-By: NA
Signed-off-by: sujianpeng <sujianpeng@huawei.com>
This reverts commit 08268c8cb1 and related changes.
Reason: Revert dedicated Any/never bytecode runtime types while preserving ANI descriptor support
Scheme:
- Remove InitializeSyntheticClassRoot for ANY/NEVER
- Keep Y/N ANI descriptors (mapped to Object at runtime)
- Restore ani_mangle.cpp: Y/N -> Object, U -> Object
- Restore BuildAny/AddAny/SetReturnAny APIs returning Y descriptor
- Restore ets_panda_file_items.h class_descriptors namespace
- Fix tests affected by signature changes
- Add interface_bridge1.ets to ignored list (LinkerMethodConflictError)
- Add binary_compatibility tests to ignored list (pass after revert)
- Add overriding tests to ignored list (duplicate method errors)
- Update class_method_over.params.yaml expectations
- Update binary_compatibility tests expected errors (LY to Object)
- Delete any_general.pa/any_array_general.pa (require Y runtime class)
ArkGuard
ArkGuard is a static bytecode obfuscation tools.
Ark独立构建
Build
Linux
./ark.py x64.release ark_guard_packages_linux --gn-args="abckit_enable=true"
Run UnitTest
./ark.py x64.release ark_guard_host_unittest --gn-args="abckit_enable=true"