How does the JVM class verifier perform class validation?
Can someone tell me the steps?
Four passes passed:
Checking the main format (when the class is loaded) - (magic number, checking the pool of constants).
Additional check (when linking) - check the final modifiers, check for direct subclasses, valid fields, check the constant pool.
Checking the byte code (when linking) - check the code array - the operand stack is good, local variables, the correct method call, field assignment, etc.
( ) - / .
. 4.9.1
http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html
. 4.9 VM. .
Source: https://habr.com/ru/post/1708951/More articles:How to solve the case when users switch to index.php - phpMySQL with two LEFT JOINs in one table - sqlAlpha transparency with particle effects in OpenGL - openglJson.net property: single value or array of values โโ- c #Voice Trigger Detection - speech-recognitionHow to get product information from amazon based on url only? - ruby โโ| fooobar.comEnumSet and operation - javaAsynchronous Search - searchWhy doesn't my site use the Tahoma font? - cssShould games rely solely on frame rate? - collision-detectionAll Articles