RFR: 8341735: Rewrite the build/AbsPathsInImage.java test to not load the entire file at once [v8]

duke duke at openjdk.org
Mon Oct 27 16:26:31 UTC 2025


On Thu, 23 Oct 2025 19:23:51 GMT, Daniel Hu <duke at openjdk.org> wrote:

>> These changes prevent entire binary files from being loaded into memory for build/AbsPathsInImage.java test. Files are buffered and matching is performed using Knuth–Morris–Pratt algorithm. GHA passes and test passes on linux x64. Correctly fails when running with jdk build with `--enable-absolute-paths-in-output`.
>
> Daniel Hu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add comments

@cost0much 
Your change (at version faf42205019d71356bc21cc0ac981861ff7f58cd) is now ready to be sponsored by a Committer.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26030#issuecomment-3452183759


More information about the build-dev mailing list