Skip to content

Commit

Permalink
8342609: Bug in jpackage test helper
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeysemenyukoracle committed Oct 18, 2024
1 parent 5eae20f commit e7b9555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2024, 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 Down Expand Up @@ -379,7 +379,7 @@ public void accept(Path root) {
try {
final List<Path> paths;
if (contentsOnly) {
try (var pathStream = Files.walk(root, 0)) {
try (var pathStream = Files.list(root)) {
paths = pathStream.collect(Collectors.toList());
}
} else {
Expand Down

0 comments on commit e7b9555

Please sign in to comment.