eclipse-3.1.1-Unmatched braces in the pattern

来源:互联网 发布:去广告软件 编辑:程序博客网 时间:2024/05/07 13:01

Eclipse3.x安装中文语言包后,查看某个JAVA类(没有关联的源文件)源代码时候的错误Unmatched braces in the pattern。

在网上找到了答案:问题在org.eclipse.jdt.internal.core.util. Messages类的disassembler_opentypedeclaration字段。在语言包插件的 org.eclipse.jdt.core.nl1_3.1.1.jar文件里面找到对应的messages_zh.properties,找到这一段 disassembler_opentypedeclaration=/ “{”,根据其它语言文件的内容将其改为disassembler_opentypedeclaration=/ '{'。

点击这里下载修改好的org.eclipse.jdt.core.nl1_3.1.1.jar文件。 
原创粉丝点击