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

Alan Bateman alanb at openjdk.org
Wed Nov 12 12:47:25 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).

VerifyJimage is a test. I checked the jimage tool and it uses it.  (I'm mostly trying to see if it gets used at compile, link or runtime but it seems not.)

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

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


More information about the core-libs-dev mailing list