Skip to content

Commit e8550a2

Browse files
Nibedita JenaRavi Reddy
authored andcommitted
8355524: Only every second line in upgradeable files is being used
Backport-of: 57256de
1 parent 7a5e5db commit e8550a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/jdk.jlink/share/classes/jdk/tools/jlink/internal/LinkableRuntimeImage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ private static Set<String> upgradeableFiles(String module) {
9393
// Skip comments
9494
continue;
9595
}
96-
upgradeableFiles.add(scanner.nextLine());
96+
upgradeableFiles.add(line);
9797
}
9898
} catch (IOException e) {
9999
throw new AssertionError("Failure to retrieve upgradeable files for " +
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Configuration for resource paths of files allowed to be
22
# upgraded (in java.base)
3-
lib/tzdb.dat
43
lib/security/cacerts
4+
lib/tzdb.dat

0 commit comments

Comments
 (0)