3 ms·
Yeah, that's hotswap in practical use. When using debug mode in Eclipse, you're able hotswap - which basically means that you can change the content of a method
by JeanPierre 15y ago
Yeah, that's hotswap in practical use. When using debug mode in Eclipse, you're able hotswap - which basically means that you can change the content of a method while the program is running. When the method is called again, the new content will be executed.
- yellowbkpk 15y agoJust a point of information: he can't do that here because the Java/OpenGL interface is all static Java methods (which only get loaded when the class loads the first time).
- julian37 15y agoI might be missing something, but how is that relevant? Surely there's no need to hot-swap any OpenGL API methods, right? EDIT: Also, I googled a bit and I can find no indication that HotSwap doesn't work for static methods. Are you sure you're not spreading misinformation here? See for instance http://stackoverflow.com/a/9466778 http://stackoverflow.com/a/9466778
- TazeTSchnitzel 15y agoHe was doing it here though.
- bobobjorn 15y agoyou can also do it with jrebel, which can reload alot more then debug mode.