changeset 5434:5c599c419c1d

8016256: Make finalization final Summary: Add private methods to final methods check Reviewed-by: coleenp, acorn, ahgross Contributed-by: harold.seigel@oracle.com
author hseigel
date Thu, 11 Jul 2013 12:59:03 -0400
parents 3a0774193f71
children d840f02d03b4
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	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 <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();