File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
test/jdk/java/nio/channels/FileChannel Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2014, 2024 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2014, 2025 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
2525 * @bug 8054029 8313368
2626 * @requires (os.family == "linux")
2727 * @summary FileChannel.size() should be equal to RandomAccessFile.size() and > 0 for block devs on Linux
28+ * @comment The test must be launched with sudo or the block devices listed in
29+ * the BLK_FNAMES array must be readable by the user running the test.
2830 * @library /test/lib
31+ * @run main/manual BlockDeviceSize
2932 */
3033
3134import java .io .RandomAccessFile ;
You can’t perform that action at this time.
0 commit comments