guxingke / mini-jvm

使用 JDK8 实现 JVM(Java Virtual Machine)

Home Page:https://jvm.guxingke.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JVMTest

neo-expert opened this issue · comments

Maybe you can use my JVMTest.java Application which tests every Bytecode-Instruction (except INVOKEDYNAMIC):
https://gitlab.com/neoexpert/jvm/-/blob/184d80e18d6cfb130146604ea3f02f64f2843654/JVMTest.java

When your JVM can run this, then it is almost complete.

thanks ,i found it works well except native print method.

Yeah this method will only be invoked, when JVM is not correctly implemented. You can use it to deliver error codes.

wow , I want to check again. 😂