--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/CRTable.java Wed Jun 14 20:05:01 2017 +0000
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/CRTable.java Thu Jun 15 13:44:42 2017 +0200
@@ -27,6 +27,7 @@
import java.util.*;
+import com.sun.tools.javac.resources.CompilerProperties.Warnings;
import com.sun.tools.javac.tree.*;
import com.sun.tools.javac.util.*;
import com.sun.tools.javac.util.List;
@@ -173,7 +174,7 @@
", new_pos = " + new_pos);
}
if (new_pos == Position.NOPOS)
- log.warning(pos, "position.overflow", line);
+ log.warning(pos, Warnings.PositionOverflow(line));
return new_pos;
}