An easy way to change the length of a distance joint?

Is there an easy way to change the length of a distance joint?
The only way I can guess is to destroy the joint, move the body and then recreate a joint again... Is there some better solution?
You can just arbitarily change the length yourself.... I do this in one of my games. First time I tried it I was surprised by the lack of physics errors... then I realized it was because I was changing it by tiny amounts each frame( on a keypress. ) So I made it jump larger amounts and got the errors I expected. Now, by errors I don't mean actual runtime errors, just visual errors from things 'popping.' Anyway, I simply made a 'move body along vector' function and used that.
Other ideas:

Prismatic / revolute joint hybrid with inbetween "dummy" bodies.

Experiment with line joints
Thanks, mayo. I tried with prismatic/revolute joint, but there was two problems. First I need the joint attached to a dynamic body, second - the prismatic joint cannot rotate. So I made it with a line joint with dynamic change of the limits.

Original thread: https://box2d.org/forum/viewtopic.php?t=4454