patches JavaAction.cpp to put braces around the glr else clause