public boolean isDirty() {
return myIsDirty;
}
public void loadPage(final Page page) {
try {
<BUG>page.getBuf().position(0);
final FileChannel channel = getChannel();
channel.read(page.getBuf(), page.getOffset());
releaseChannel();
}</BUG>
catch (IOException e) {

public boolean isDirty() {
return myIsDirty;
}
public void loadPage(final Page page) {
try {
final RandomAccessFile file = getFile();
file.seek(page.getOffset());
final ByteBuffer buf = page.getBuf();
file.read(buf.array(), 0, Page.PAGE_SIZE);
releaseFile();
}
catch (IOException e) {
