changeset 4935:28e475dfa88b

8016256: Make finalization final Reviewed-by: hseigel
author sgabdura
date Mon, 15 Jul 2013 10:22:43 +0400
parents a3bbc959356e
children d6fd3f84a30c
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 Jul 10 16:33:14 2013 -0700
+++ b/src/share/vm/classfile/classFileParser.cpp	Mon Jul 15 10:22:43 2013 +0400
@@ -4051,9 +4051,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();