hg: jdk9/hs-rt/hotspot: 7127066: Class verifier accepts an invalid class file

harold.seigel at oracle.com harold.seigel at oracle.com
Wed Mar 25 14:30:17 UTC 2015


Changeset: ded59fa90a09
Author:    hseigel
Date:      2015-03-25 08:16 -0400
URL:       http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/ded59fa90a09

7127066: Class verifier accepts an invalid class file
Summary: For *store bytecodes, compare incoming, not outgoing, type state with exception handlers' stack maps.
Reviewed-by: acorn, dholmes

! src/share/vm/classfile/verifier.cpp
! src/share/vm/interpreter/bytecodes.hpp
+ test/runtime/stackMapCheck/BadMap.jasm
+ test/runtime/stackMapCheck/BadMapDstore.jasm
+ test/runtime/stackMapCheck/BadMapIstore.jasm
+ test/runtime/stackMapCheck/StackMapCheck.java



More information about the jdk9-all-changes mailing list