Mercurial > hg > openjdk > jdk6 > hotspot
changeset 4042:bbd051c9089f
8016256: Make finalization final
Reviewed-by: hseigel
author | sgabdura |
---|---|
date | Mon, 15 Jul 2013 10:22:43 +0400 |
parents | 918a90950fa6 |
children | 3091721c8378 |
files | src/share/vm/classfile/classFileParser.cpp |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/classfile/classFileParser.cpp Thu Oct 10 16:41:17 2013 +0100 +++ b/src/share/vm/classfile/classFileParser.cpp Mon Jul 15 10:22:43 2013 +0400 @@ -3762,9 +3762,8 @@ for (int index = 0; index < num_methods; index++) { methodOop m = (methodOop)methods->obj_at(index); - // skip private, static and <init> methods - if ((!m->is_private()) && - (!m->is_static()) && + // skip static and <init> methods + if ((!m->is_static()) && (m->name() != vmSymbols::object_initializer_name())) { Symbol* name = m->name();