< prev index next >

src/share/vm/classfile/classFileParser.cpp

Print this page
rev 9067 : 8139040: Fix initializations before ShouldNotReachHere()

@@ -3577,11 +3577,11 @@
         if (!fs.is_contended() || (fs.contended_group() != current_group)) continue;
 
         // handle statics below
         if (fs.access_flags().is_static()) continue;
 
-        int real_offset;
+        int real_offset = 0;
         FieldAllocationType atype = (FieldAllocationType) fs.allocation_type();
 
         switch (atype) {
           case NONSTATIC_BYTE:
             next_nonstatic_padded_offset = align_size_up(next_nonstatic_padded_offset, 1);
< prev index next >