1e41f4b71Sopenharmony_ci# ArkCompiler Subsystem Changelog
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## cl.arkcompiler.1 Change in ArkCompiler Internal Implementation
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ciChanged the internal implementation of ArkCompiler.
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ci**Change Since**
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ciOpenHarmony_4.1.6.1
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci**Reason for Change**
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ciTo implement the ECMAScript 2022 class and sendable class features, new bytecodes are required.
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci**Change Description**
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ciThe following bytecodes are added to the class feature:
18e41f4b71Sopenharmony_ci1. `definefieldbyname`
19e41f4b71Sopenharmony_ci2. `callruntime.definefieldbyvalue`
20e41f4b71Sopenharmony_ci3. `callruntime.definefieldbyindex`
21e41f4b71Sopenharmony_ci4. `callruntime.defineprivateproperty`
22e41f4b71Sopenharmony_ci5. `callruntime.callinit`
23e41f4b71Sopenharmony_ci6. `callruntime.createprivateproperty`
24e41f4b71Sopenharmony_ci7. `callruntime.topropertykey`
25e41f4b71Sopenharmony_ci8. `ldprivateproperty`
26e41f4b71Sopenharmony_ci9. `stprivateproperty`
27e41f4b71Sopenharmony_ci10. `testin`
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ciThe following bytecodes are added to the sendable class:
30e41f4b71Sopenharmony_ci1. `callruntime.definesendableclass`
31e41f4b71Sopenharmony_ci2. `callruntime.ldsendableclass`
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ci**Change Impact**
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ciThe new bytecodes added in SDK OpenHarmony_4.1.6.1 require support from ROM in the same version. Therefore, earlier ROM in API version 11 cannot run the HAPs built by SDK OpenHarmony_4.1.6.1.
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ciIf you are using SDK OpenHarmony_4.1.6.1 and ROM in API version 10, you can set the **compatiableSdkVersion: 10** option from DevEco Studio to build a HAP that can run on the ROM.
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ci**Symptom**
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ciIf the SDK and ROM do not match, the following errors may occur:
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ci1. jsCrash: `Load file with filename '/data/storage/el1/bundle/entry/ets/module.abc' failed, recordName 'com.example.myapplication/entry/ets/entryability/EntryAbility' not exists` along with hilog: `Unable to open file 'filename' with abc file version 11.0.2.0. Maximum supported abc file version on the current system image is 9.0.0.0. Please upgrade the runtime to supported version or generate byte code with former SDK tools`
44e41f4b71Sopenharmony_ci
45e41f4b71Sopenharmony_ci2. cppCrash: `Unable to open file 'filename' with abc file version 11.0.2.0. Maximum supported abc file version on the current system image is 11.0.1.0. Please upgrade the system image or use former version of SDK tools to generate abc files`
46e41f4b71Sopenharmony_ci
47e41f4b71Sopenharmony_ci**Solution**
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ciUpdate the ROM to OpenHarmony_4.1.6.1 or later.
50