Changing the length of a revolute joint

Hey guys:

Is there a way to dynamically change the length of a revolute joint? So I can control the length and angle of a joint at the same time?

I know I can do it with a complicated setup of joints, but I'd like to keep it simple if possible.

Thanks in advance.

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