6956164: nightly regressions from 6939207

Fix errors in 6939207.

Reviewed-by: kvn
This commit is contained in:
John R Rose 2010-05-27 09:54:07 -07:00
parent 66b26ccfb4
commit 05b4f2e796
5 changed files with 31 additions and 17 deletions

View file

@ -86,6 +86,7 @@ int Bytecodes::special_length_at(address bcp, address end) {
return (len > 0 && len == (int)len) ? len : -1;
}
}
// Note: Length functions must return <=0 for invalid bytecodes.
return 0;
}