RFR: 8371645: BasicImageReader getEntryNames() is stateful and cannot be called more than once

David Beaumont duke at openjdk.org
Wed Nov 12 12:36:08 UTC 2025


On Wed, 12 Nov 2025 11:17:21 GMT, David Beaumont <duke at openjdk.org> wrote:

> Stop entry name creation using a stateful read of underlying buffer (which moves the position and consumes it).

It is not, the VerifyJimage tool used it (how I discovered the issue).
My IDE shows 8 uses, but JImageTask looks to be the only non-test one.

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

PR Comment: https://git.openjdk.org/jdk/pull/28263#issuecomment-3521709857


More information about the core-libs-dev mailing list