RFR: 8341735: Rewrite the build/AbsPathsInImage.java test to not load the entire file at once [v6]
Daniel Hu
duke at openjdk.org
Tue Oct 14 21:53:41 UTC 2025
> These changes should prevent entire binary files from being loaded into memory for build/AbsPathsInImage.java test. I chose a default buffer size of 8KB since BufferedInputStream uses that, but open to alternative solutions. GHA passes and test passes on linux x64.
Daniel Hu has updated the pull request incrementally with two additional commits since the last revision:
- fix incorrect use of inputstream
- remove extraneous variables/imports
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26030/files
- new: https://git.openjdk.org/jdk/pull/26030/files/82a4cc91..6a72a163
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26030&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26030&range=04-05
Stats: 46 lines in 1 file changed: 33 ins; 4 del; 9 mod
Patch: https://git.openjdk.org/jdk/pull/26030.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26030/head:pull/26030
PR: https://git.openjdk.org/jdk/pull/26030
More information about the build-dev
mailing list