python sdk api has renew_session parameter that is very useful. It lacks in java sdk
This should work out of the box with the Java SDK, no need for an extra parameter. It was already reported/verified in bug 1018560. What specific failure are you seeing now?
i checked it - yes it is working ok (session was renewed)