Skip to content

Commit 90c9510

Browse files
committed
spelling: uninitialized
Signed-off-by: Josh Soref <[email protected]>
1 parent e7a009e commit 90c9510

File tree

1 file changed

+8
-8
lines changed
  • visualvm/libs.profiler/lib.profiler/src/org/graalvm/visualvm/lib/jfluid/classfile

1 file changed

+8
-8
lines changed

visualvm/libs.profiler/lib.profiler/src/org/graalvm/visualvm/lib/jfluid/classfile/ClassInfo.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ public void updateTable(int injectionPos, int injectedBytesCount, int methodIdx,
397397
offsetAdjusted = true;
398398
}
399399
}
400-
frame.updateUnitilializedList(injectionPos, injectedBytesCount, changeTypeIsInjectNewInstr, injectionBindsToFollowingInstruction);
400+
frame.updateUninitializedList(injectionPos, injectedBytesCount, changeTypeIsInjectNewInstr, injectionBindsToFollowingInstruction);
401401
}
402402
}
403403
}
@@ -605,7 +605,7 @@ private int getVerificationTypeInfoSize(byte type) {
605605
case 3: // ITEM_Double
606606
case 4: // ITEM_Long
607607
case 5: // ITEM_Null
608-
case 6: // ITEM_UnitializedThis
608+
case 6: // ITEM_UninitializedThis
609609
return 1;
610610
case 7: // ITEM_Object
611611
case 8: // ITEM_Uninitialized
@@ -629,7 +629,7 @@ private void setOffsetDelta(int newOffsetDelta) {
629629
modified = true;
630630
}
631631

632-
private void updateUnitilializedList(int injectionPos, int injectedBytesCount, boolean changeTypeIsInjectNewInstr, boolean injectionBindsToFollowingInstruction) {
632+
private void updateUninitializedList(int injectionPos, int injectedBytesCount, boolean changeTypeIsInjectNewInstr, boolean injectionBindsToFollowingInstruction) {
633633
if (uninitializedList != null) {
634634
for (int i = 0; i<uninitializedList.size();i++) {
635635
Integer off = uninitializedList.get(i);
@@ -646,15 +646,15 @@ private void updateUnitilializedList(int injectionPos, int injectedBytesCount, b
646646

647647
private void storeUninitializedVariableInfo(byte[] buffer, int offset, int listIndex) {
648648
byte type = buffer[offset++];
649-
if (type == 8) { // ITEM_Unitialized
649+
if (type == 8) { // ITEM_Uninitialized
650650
if (uninitializedList == null) {
651651
uninitializedList = new ArrayList();
652652
}
653653
while (uninitializedList.size() < listIndex+1) {
654654
uninitializedList.add(null);
655655
}
656656
uninitializedList.set(listIndex,Integer.valueOf(getU2(buffer,offset)));
657-
// LOG.finer("ITEM_Unitialized "+Integer.valueOf(getU2(buffer,offset)));
657+
// LOG.finer("ITEM_Uninitialized "+Integer.valueOf(getU2(buffer,offset)));
658658
}
659659
}
660660

@@ -701,7 +701,7 @@ void writeFrame(byte[] ret, int newFrameOffset) {
701701
byte type = ret[offset];
702702
int typeInfoSize = getVerificationTypeInfoSize(type);
703703

704-
if (type == 8) { // ITEM_Unitialized
704+
if (type == 8) { // ITEM_Uninitialized
705705
putU2(ret,offset+1,off.intValue());
706706
}
707707
offset += typeInfoSize;
@@ -718,7 +718,7 @@ void writeFrame(byte[] ret, int newFrameOffset) {
718718
byte type = ret[offset];
719719
int typeInfoSize = getVerificationTypeInfoSize(type);
720720

721-
if (type == 8) { // ITEM_Unitialized
721+
if (type == 8) { // ITEM_Uninitialized
722722
putU2(ret,offset+1,uninitializedList.get(i).intValue());
723723
}
724724
offset += typeInfoSize;
@@ -730,7 +730,7 @@ void writeFrame(byte[] ret, int newFrameOffset) {
730730
byte type = ret[offset];
731731
int typeInfoSize = getVerificationTypeInfoSize(type);
732732

733-
if (type == 8) { // ITEM_Unitialized
733+
if (type == 8) { // ITEM_Uninitialized
734734
putU2(ret,offset+1,uninitializedList.get(locals+i).intValue());
735735
}
736736
offset += typeInfoSize;

0 commit comments

Comments
 (0)