mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8293456: runtime/os/TestTracePageSizes.java sub-tests fail with "AssertionError: No memory range found for address: NNNN"
Reviewed-by: alanb, lancea
This commit is contained in:
parent
32c7b6283d
commit
76df73b390
2 changed files with 10 additions and 7 deletions
|
@ -668,8 +668,11 @@ abstract class UnixFileSystem
|
|||
// set to true when file and attributes copied
|
||||
boolean complete = false;
|
||||
try {
|
||||
// set to true when data copied
|
||||
boolean copied = false;
|
||||
if (!directCopyNotSupported) {
|
||||
|
||||
// Some forms of direct copy do not work on zero size files
|
||||
if (!directCopyNotSupported && attrs.size() > 0) {
|
||||
// copy bytes to target using platform function
|
||||
long comp = Blocker.begin();
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue