Feat[JDK17]: implement mirror mapping

This commit is contained in:
khanhduytran0 2025-07-06 13:59:14 +07:00
parent 9f67713d9d
commit 3eddeaedd5
3 changed files with 1601 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1368,7 +1368,7 @@ index 10c5c940a..f354ead9f 100644
public: public:
// Initialization/finalization // Initialization/finalization
- void initialize(int size) { _size = size; } - void initialize(int size) { _size = size; }
+ void initialize(int size) { *(int*)mirror_w(&_size) = size; } + void initialize(int size) { mirror_w_set(_size) = size; }
void finalize() { ShouldNotCallThis(); } void finalize() { ShouldNotCallThis(); }
// General info/converters // General info/converters