Improving compiler error messages for Java