Question

Is it possible to disable JRebel dynamically, without restarting the Java process?

It would be useful as sometimes I want to make changes to the code (and compile it) on a system that is being shared, without those changes becoming "live" yet.

Thank you

Was it helpful?

Solution

Not possible. JRebel instruments the code at the class loading phase. For disabling it, it would require to rollback all the instrumentation back to the initial state, which is not possible atm.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top