There is a brace-less else in the options->glr test, but unfortunately the else clause has two statements. This is exactly why we teach our children not to use brace-less expressions.
Please find attached the patch which cures both copies of JavaAction.cpp (from src and src9).
patches JavaAction.cpp to put braces around the glr else clause