mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Fixing ArrayIndexOutOfBoundsException reported by Steven Beal caused by broken code to setup endLine in SourceInfo.updateLineInfo.
This commit is contained in:
parent
55ec62b72d
commit
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user