The camera stays locked looking down (or up if mouse inverted), player can move around but the camera stays locked and spinning. When mouse sensitivity is lowered the spinning is less jerky and smoother.
Looks like the game doesn't "grab" the cursor.
I've attached a video.
Environment
Ubuntu 18.04.2 LTS (I've tried on Manjaro 18.0.4 aswell)
openjdk-8-jre
Duplicate of MC-132460.