At the moment due to original limitations of Java SDK the HotSwapping is possible ONLY if a method body is altered. In all other cases (like changing method or class signature), the class reload is impossible and the corresponding error message appears.
To reload changed classes
- Do one of the following:
- In the Reload Changed Classes dialog box, confirm reloading. Results are displayed in the Messages tool window.
To configure reloading behavior
- On the main menu, choose , and under expand the node.
- Open HotSwap page.
- Click one of the radio buttons in the group Reload classes after compilation. You can opt to always reload classes, reload after confirmation, or never do it.