Hi Bartosz,
I’m Hannes, an engineer here at ZeroTurnaround.
I’ve managed to reproduce the issue. Thank you for the snippet. Although with Tomcat I had to make additional dependencies and add JavaServer Faces templates to reproduce the issue. We will look into the issue as soon as possible and will definitely let you know as soon we have a fix available.
It seems that the issue is only reproduced using our JRebel 6 Agent, as a current workaround, please switch to our Legacy Agent. To change the agent, follow the guide at https://manuals.zeroturnaround.com/jrebel/misc/switch-agents.html.
Also, please let us know, if that fixed the issue for you as a temporary workaround.
Regards,
Hannes