News for hackers. Stuff that matters.
Re:Android Q Beta by half-kh-hacker on Wednesday March 13, 2019 @06:31PM (#19384611)
> Java 9, 10, and 11 have not changed the bytecode

Off the top of my head, JEP 309, implemented in Java 11, introduces a new instruction called `constantdynamic`

Re:Android Q Beta by jaytaylor on Wednesday March 13, 2019 @11:30PM (#19386311)
JEP309 "constantdynamic" for the uninitiated: https://openjdk.java.net/jeps/309
Re:Android Q Beta by kllrnohj on Wednesday March 13, 2019 @06:46PM (#19384734)
Ah my mistake then. Is there any way to actually use that instruction from Java though? Or is this just bytecode support for a potential future feature?
Re:Android Q Beta by pjmlp on Thursday March 14, 2019 @03:49AM (#19387240)
It gets used by the compiler, so unless ART gets to understand it, those nice Java 11 libraries at Maven central that might make use of it are a no go on Android.

And yes, it is also related to the ongoing Valhala efforts.

https://openjdk.java.net/jeps/303