If your Javassist-coded Java is not valid, the bytecode verifier will reject it at runtime.
如果在你的Javassist代码中,所使用的Java是非法的,那么在运行时字节码验证器会拒绝它。
Also keep in mind that besides the JVM verifier, ASM maintains a separate bytecode verifier, so it's good to run both and verify that your bytecode passes both of them.
But most people would agree that's much better than having to deal with bytecode! (Although, if you happen to like coding directly in bytecode, stay tuned for the ASM section.) The JVM includes a bytecode verifier to guard against invalid bytecode.
20m:12s - The JVM has you covered. The bytecode verifier checks the bytecode regardless of how you add it.
20分12秒:无论您如何添加字节码,JVM都会调用字节码验证器检查字节码的语法和有效性。
Before execution, 'Move' contracts would get verified by a bytecode verifier for all types of bugs. In the meantime, the bytecode undergoes interpretation with types for execution and verification.
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.