提交 46d1d669 authored 作者: Thomas Mueller's avatar Thomas Mueller

A persistent multi-version map: compact based on estimated size, not page count

上级 5f87d67d
...@@ -329,15 +329,9 @@ public class TestFileSystem extends TestBase { ...@@ -329,15 +329,9 @@ public class TestFileSystem extends TestBase {
new AssertThrows(UnsupportedOperationException.class) { public void test() throws IOException { new AssertThrows(UnsupportedOperationException.class) { public void test() throws IOException {
channel.map(MapMode.PRIVATE, 0, channel.size()); channel.map(MapMode.PRIVATE, 0, channel.size());
}}; }};
new AssertThrows(UnsupportedOperationException.class) { public void test() throws IOException {
channel.read(ByteBuffer.allocate(10), 0);
}};
new AssertThrows(UnsupportedOperationException.class) { public void test() throws IOException { new AssertThrows(UnsupportedOperationException.class) { public void test() throws IOException {
channel.read(new ByteBuffer[]{ByteBuffer.allocate(10)}, 0, 0); channel.read(new ByteBuffer[]{ByteBuffer.allocate(10)}, 0, 0);
}}; }};
new AssertThrows(UnsupportedOperationException.class) { public void test() throws IOException {
channel.write(ByteBuffer.allocate(10), 0);
}};
new AssertThrows(UnsupportedOperationException.class) { public void test() throws IOException { new AssertThrows(UnsupportedOperationException.class) { public void test() throws IOException {
channel.write(new ByteBuffer[]{ByteBuffer.allocate(10)}, 0, 0); channel.write(new ByteBuffer[]{ByteBuffer.allocate(10)}, 0, 0);
}}; }};
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论