Skip to content

Commit

Permalink
8351086: (fc) Make java/nio/channels/FileChannel/BlockDeviceSize.java…
Browse files Browse the repository at this point in the history
… test manual

Reviewed-by: msheppar
  • Loading branch information
Brian Burkhalter committed Mar 6, 2025
1 parent 93f2260 commit 0892913
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/jdk/java/nio/channels/FileChannel/BlockDeviceSize.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand All @@ -25,7 +25,10 @@
* @bug 8054029 8313368
* @requires (os.family == "linux")
* @summary FileChannel.size() should be equal to RandomAccessFile.size() and > 0 for block devs on Linux
* @comment The test must be launched with sudo or the block devices listed in
* the BLK_FNAMES array must be readable by the user running the test.
* @library /test/lib
* @run main/manual BlockDeviceSize
*/

import java.io.RandomAccessFile;
Expand Down

0 comments on commit 0892913

Please sign in to comment.