--- old/src/share/classes/com/sun/tools/javac/jvm/CRTable.java 2011-11-02 11:34:02.594312127 -0700 +++ new/src/share/classes/com/sun/tools/javac/jvm/CRTable.java 2011-11-02 11:34:02.529507321 -0700 @@ -532,7 +532,7 @@ */ public int endPos(JCTree tree) { if (tree == null) return Position.NOPOS; - if (tree.getTag() == JCTree.BLOCK) + if (tree.hasTag(JCTree.Tag.BLOCK)) return ((JCBlock) tree).endpos; Integer endpos = endPositions.get(tree); if (endpos != null)