hg: jdk9/dev/jdk: 8169715: jimage fails with IAE when attempts to inspect an empty file

andrey.x.nazarov at oracle.com andrey.x.nazarov at oracle.com
Tue Feb 14 11:53:09 UTC 2017


Changeset: 4eb7b73bb5b6
Author:    dkononenko
Date:      2017-02-14 14:31 +0300
URL:       http://hg.openjdk.java.net/jdk9/dev/jdk/rev/4eb7b73bb5b6

8169715: jimage fails with IAE when attempts to inspect an empty file
Summary: Added buffer's capacity checks.
Reviewed-by: jlaskey, anazarov
Contributed-by: denis.kononenko at oracle.com

! src/java.base/share/classes/jdk/internal/jimage/BasicImageReader.java



More information about the jdk9-dev-changes mailing list