# HG changeset patch # User hseigel # Date 1373561943 14400 # Node ID 5c599c419c1da905470f6372552150a59dbe5390 # Parent 3a0774193f711d00a64cb2bc6c62a1302e92e0e4 8016256: Make finalization final Summary: Add private methods to final methods check Reviewed-by: coleenp, acorn, ahgross Contributed-by: harold.seigel@oracle.com diff -r 3a0774193f71 -r 5c599c419c1d src/share/vm/classfile/classFileParser.cpp --- a/src/share/vm/classfile/classFileParser.cpp Wed Jun 19 11:02:10 2013 +0100 +++ b/src/share/vm/classfile/classFileParser.cpp Thu Jul 11 12:59:03 2013 -0400 @@ -4481,9 +4481,8 @@ for (int index = 0; index < num_methods; index++) { Method* m = methods->at(index); - // skip private, static and methods - if ((!m->is_private()) && - (!m->is_static()) && + // skip static and methods + if ((!m->is_static()) && (m->name() != vmSymbols::object_initializer_name())) { Symbol* name = m->name();