mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6810672: Comment typos
I have collected some typos I have found while looking at the code. Reviewed-by: kvn, never
This commit is contained in:
parent
67a5668b16
commit
05d1de7727
120 changed files with 278 additions and 277 deletions
|
@ -1349,39 +1349,39 @@ bool VM_RedefineClasses::rewrite_cp_refs(instanceKlassHandle scratch_class,
|
|||
|
||||
// rewrite constant pool references in the methods:
|
||||
if (!rewrite_cp_refs_in_methods(scratch_class, THREAD)) {
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
|
||||
// rewrite constant pool references in the class_annotations:
|
||||
if (!rewrite_cp_refs_in_class_annotations(scratch_class, THREAD)) {
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
|
||||
// rewrite constant pool references in the fields_annotations:
|
||||
if (!rewrite_cp_refs_in_fields_annotations(scratch_class, THREAD)) {
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
|
||||
// rewrite constant pool references in the methods_annotations:
|
||||
if (!rewrite_cp_refs_in_methods_annotations(scratch_class, THREAD)) {
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
|
||||
// rewrite constant pool references in the methods_parameter_annotations:
|
||||
if (!rewrite_cp_refs_in_methods_parameter_annotations(scratch_class,
|
||||
THREAD)) {
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
|
||||
// rewrite constant pool references in the methods_default_annotations:
|
||||
if (!rewrite_cp_refs_in_methods_default_annotations(scratch_class,
|
||||
THREAD)) {
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -1600,7 +1600,7 @@ bool VM_RedefineClasses::rewrite_cp_refs_in_annotations_typeArray(
|
|||
byte_i_ref, THREAD)) {
|
||||
RC_TRACE_WITH_THREAD(0x02000000, THREAD,
|
||||
("bad annotation_struct at %d", calc_num_annotations));
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -1666,7 +1666,7 @@ bool VM_RedefineClasses::rewrite_cp_refs_in_annotation_struct(
|
|||
byte_i_ref, THREAD)) {
|
||||
RC_TRACE_WITH_THREAD(0x02000000, THREAD,
|
||||
("bad element_value at %d", calc_num_element_value_pairs));
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
} // end for each component
|
||||
|
@ -1815,7 +1815,7 @@ bool VM_RedefineClasses::rewrite_cp_refs_in_element_value(
|
|||
// field. This is a nested annotation.
|
||||
if (!rewrite_cp_refs_in_annotation_struct(annotations_typeArray,
|
||||
byte_i_ref, THREAD)) {
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
@ -1842,7 +1842,7 @@ bool VM_RedefineClasses::rewrite_cp_refs_in_element_value(
|
|||
annotations_typeArray, byte_i_ref, THREAD)) {
|
||||
RC_TRACE_WITH_THREAD(0x02000000, THREAD,
|
||||
("bad nested element_value at %d", calc_num_values));
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -1886,7 +1886,7 @@ bool VM_RedefineClasses::rewrite_cp_refs_in_fields_annotations(
|
|||
THREAD)) {
|
||||
RC_TRACE_WITH_THREAD(0x02000000, THREAD,
|
||||
("bad field_annotations at %d", i));
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -1923,7 +1923,7 @@ bool VM_RedefineClasses::rewrite_cp_refs_in_methods_annotations(
|
|||
THREAD)) {
|
||||
RC_TRACE_WITH_THREAD(0x02000000, THREAD,
|
||||
("bad method_annotations at %d", i));
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -1991,7 +1991,7 @@ bool VM_RedefineClasses::rewrite_cp_refs_in_methods_parameter_annotations(
|
|||
method_parameter_annotations, byte_i, THREAD)) {
|
||||
RC_TRACE_WITH_THREAD(0x02000000, THREAD,
|
||||
("bad method_parameter_annotations at %d", calc_num_parameters));
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -2041,7 +2041,7 @@ bool VM_RedefineClasses::rewrite_cp_refs_in_methods_default_annotations(
|
|||
method_default_annotations, byte_i, THREAD)) {
|
||||
RC_TRACE_WITH_THREAD(0x02000000, THREAD,
|
||||
("bad default element_value at %d", i));
|
||||
// propogate failure back to caller
|
||||
// propagate failure back to caller
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue