|
|
|
|
|
by MrZipf
2651 days ago
|
|
Preliminary VarHandle support in Android start in P. The API is hidden, but it had to start ahead of the Java 9 libraries because it's a lot of work. All code needs to be capable of being interpreted as that's the fallback when compilation invariants are violated (and also when stepping through code with the debugger). A large number of operations combined with different vartypes and backing store types (fields, static fields, arrays, Buffers, etc) makes for a lot of work, even though this is just the slow path. There is no compiler support yet for VarHandles, or MethodHandles, on Android, but there are bugs on these. |
|