I don't have visual proof but bare with me, in water, if your swimming about sometimes when your against a block, your character will endlessly jump. To get out of it you just move into the water. Test it. It also seems to work if its a running water block...
Duplicate of MC-127224