문제

I'm trying to do code hot swapping in Eclipse using the Slick2D framework. The problem is that I cannot do it inside BasicGame#render(GameContainer gc, Graphics g), although I can do it in BasicGame#update(GameContainer gc). What could the problem be?

도움이 되었습니까?

해결책

Hot swapping code doesn't always work. From the eclipse documentation:

Note that some changes such as new or deleted methods, class variables or inner classes cannot be hot swapped, depending on the support provided by a particular VM.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top