hg: jdk7/hotspot-rt/hotspot: 6845426: non-static <clinit> method with no args is called during the class initialization process

keith.mcguigan at oracle.com keith.mcguigan at oracle.com
Fri Mar 4 19:09:49 PST 2011


Changeset: dbad0519a1c4
Author:    kamg
Date:      2011-03-04 14:40 -0500
URL:       http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/dbad0519a1c4

6845426: non-static <clinit> method with no args is called during the class initialization process
Summary: Only call <clinit> with ACC_STATIC for classfiles with version > 50
Reviewed-by: acorn, dholmes, coleenp

! src/share/vm/classfile/classFileParser.cpp
! src/share/vm/oops/instanceKlass.cpp
! src/share/vm/oops/klassVtable.cpp
! src/share/vm/oops/methodOop.cpp
! src/share/vm/oops/methodOop.hpp



More information about the hotspot-runtime-dev mailing list