RFR: 8291360: Create entry points to expose low-level class file information

David Holmes dholmes at openjdk.org
Sat Jul 30 07:50:20 UTC 2022


On Sat, 30 Jul 2022 07:44:11 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Or, Can the VM do this traversal as/more efficiently than doing at the java level?
>
> It is usual for the Java code to do such checks and throw exceptions, so that the VM assumes it is correct and only asserts incase something has been missed on the Java side.

Though in this case the Java code has defined behaviour for array types so it is correct for the VM to assume this is not an array type and to assert if it is.

-------------

PR: https://git.openjdk.org/jdk/pull/9688



More information about the build-dev mailing list