зеркало из https://github.com/mozilla/gecko-dev.git
Fixing ArrayIndexOutOfBoundsException reported by Steven Beal caused by broken code to setup endLine in SourceInfo.updateLineInfo.
This commit is contained in:
Родитель
55ec62b72d
Коммит
7ad5c25d66
|
@ -2233,7 +2233,7 @@ class SourceInfo {
|
|||
}
|
||||
|
||||
int fnFirstLine = lines[0];
|
||||
int fnEndLine = lines[0];
|
||||
int fnEndLine = fnFirstLine + 1;
|
||||
for (int i = 1; i != lines.length; ++i) {
|
||||
int line = lines[i];
|
||||
if (line < fnFirstLine) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче