changeset 3837:22ef5097ef1a

8016256: Make finalization final Reviewed-by: hseigel
author sgabdura
date Mon, 15 Jul 2013 10:22:43 +0400
parents 01fe4d85c01c
children a34906833a8a
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();