In this video I show a short demo of the enhanced hotswap capabilities of Java on Truffle in GraalVM 21.0.
Java on Truffle allows you to change the running Java code during a debug session supporting a wide range of changes:
- Adding and removing methods
- Adding and removing constructors
- Adding and removing methods from interfaces
- Changing access modifiers of methods
- Changing access modifiers of constructors
- Changing lambdas
- Adding and removing inner classes
Links:
Java on Truffle - [ Ссылка ]
Example application and the description of the steps - [ Ссылка ]
GraalVM getting started guide - [ Ссылка ]
Chapters:
0:00 - Introduction
0:53 - Starting the debug session
1:32 - Adding new method to the class
1:57 - Reloading the changes
2:27 - Changing modifiers of the method
3:13 - Java on Truffle info
Ещё видео!