1# ArkCompiler Subsystem Changelog 2 3## cl.arkcompiler.1 Repair of the Sendable Class Assignment Check in Hotspot Functions 4 5**Reason for Change** 6 7This change is made to fix the Sendable class assignment check issues in hotspot functions. 8 9**Change Impact** 10 11This change is non-compatible. 12 13- Sendable data is used to address performance issues with cross-thread data transfer. For an introduction to its use, see [Sendable Development](../../../application-dev/arkts-utils/arkts-sendable.md). 14- Some constraints were not checked in hotspot functions. As a result, these constraints may be bypassed. 15- The following are the constraints bypassed in this change. 16 17 | \@Sendable Class Decorator | Description | 18 | ------------------------- | ---------------------------------------------------------------------- | 19 | Property type restrictions for decorated objects | 1. The following types are supported: string, number, boolean, bigint, null, undefined, Sendable class, collections.Array, collections.Map, and collections.Set.<br/>2. Closure variables are not allowed.<br/>3. Private properties must be defined using **private**, rather than the number sign (#).<br/>4. Computed properties are not supported. | 20 21- For violations of the **property type restrictions**: 22 - Before change: The program runs normally without errors. 23 - After change: The program throws an exception at the point of constraint violation, indicating that the assignment type does not match. You need to adapt according to the requirements of **property type restrictions** in [Sendable Development](../../../application-dev/arkts-utils/arkts-sendable.md). 24 25**API Level** 26 2711 28 29**Change Since** 30 31OpenHarmony_4.1.6.5 32 33**Key API/Component Changes** 34 35@Sendable decorator 36 37**Adaptation Guide** 38 39After this change, if a type mismatch exception occurs at runtime, it may violate the usage constraints, and it is necessary to check the assignment types. For detailed instructions, see [Sendable Development](../../../application-dev/arkts-utils/arkts-sendable.md). 40