Skip to content

Commit

Permalink
Added ret and jsr issue to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ronyhe committed Jul 29, 2018
1 parent 6b5092d commit 61bbffb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ This project was written against the [JVM 8 spec](https://docs.oracle.com/javase
- It does little to no verification of instruction preconditions
- It rarely complies with the exceptions that instructions should throw
- It does not implement native methods
- It does not implement the jsr and ret instructions

Note that the jsr and ret instructions are, to my understanding, largely obsolete.
Modern Java compiler do not emit them (although other JVM languages might) and the specification discourages their use.
See [this stackoverflow discutssion](https://stackoverflow.com/a/21150629).

Addressing these issues should not prove very difficult. Others are welcome to tackle them.
In fact, this might prove a useful didactic task for students of various advanced topics.
Expand Down

0 comments on commit 61bbffb

Please sign in to comment.