public boolean validate(Context context, int id) {
try {
for (int i = 0; i < size; i++) {
// Throws an exception if validation fails
ReadFieldAccess r = entries[i];
long lock = LockTable.checkLock(context, r.getHash(), id);
if (lock >= 0 && lock != r.getLock()) {
// Other version: cannot validate
return false;
}
}
} catch (TransactionException e) {