src/share/vm/classfile/classFileParser.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/classfile/classFileParser.cpp	Wed Jul  8 09:05:31 2015
--- new/src/share/vm/classfile/classFileParser.cpp	Wed Jul  8 09:05:29 2015

*** 5086,5097 **** --- 5086,5097 ---- nextp = skip_over_field_signature(p, false, length, CHECK_0); } // The first non-signature thing better be a ')' if ((length > 0) && (*p++ == JVM_SIGNATURE_ENDFUNC)) { length--; ! if (name->utf8_length() > 0 && name->byte_at(0) == '<') { ! // All internal methods must return void ! if (name == vmSymbols::object_initializer_name()) { ! // All "<init>" methods must return void if ((length == 1) && (p[0] == JVM_SIGNATURE_VOID)) { return args_size; } } else { // Now we better just have a return value

src/share/vm/classfile/classFileParser.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File