Skip to content

Commit a510d99

Browse files
committed
spelling: throwable
Signed-off-by: Josh Soref <[email protected]>
1 parent 67e85ea commit a510d99

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class DynamicClassInfo extends ClassInfo {
6161
private DynamicClassInfo superClass; // Superclass as a DynamicClassInfo (just name not is inconvenient when multiple classloaders are used)
6262
private String classFileLocation; // Directory or .jar file where the .class file is located.
6363
private int[] baseCPoolCount;
64-
private int java_lang_ThowableCPIndex; // constant pool index for java.lang.Throwable
64+
private int java_lang_ThrowableCPIndex; // constant pool index for java.lang.Throwable
6565
private char[] instrMethodIds; // Ids assigned to instrumented methods, 0 for uninstrumented methods
6666
private DynamicClassInfo[] interfacesDCI; // Ditto for superinterfaces
6767

@@ -549,14 +549,14 @@ public void addGlobalCatchStackMapTableEntry(int methodIdx, int endPC) {
549549
if (stackMapTableCPindex == 0) {
550550
stackMapTableCPindex = getBaseCPoolCount(INJ_STACKMAP);
551551
}
552-
if (java_lang_ThowableCPIndex == 0) {
553-
java_lang_ThowableCPIndex = getCPIndexOfClass("java/lang/Throwable"); // NOI18N
554-
if (java_lang_ThowableCPIndex == -1) {
555-
// LOG.finer("java/lang/Thowable not found in " + getName()); // NOI18N
556-
java_lang_ThowableCPIndex = getBaseCPoolCount(INJ_THROWABLE);
552+
if (java_lang_ThrowableCPIndex == 0) {
553+
java_lang_ThrowableCPIndex = getCPIndexOfClass("java/lang/Throwable"); // NOI18N
554+
if (java_lang_ThrowableCPIndex == -1) {
555+
// LOG.finer("java/lang/Throwable not found in " + getName()); // NOI18N
556+
java_lang_ThrowableCPIndex = getBaseCPoolCount(INJ_THROWABLE);
557557
}
558558
}
559-
stacksCPIdx = new int[] {java_lang_ThowableCPIndex};
559+
stacksCPIdx = new int[] {java_lang_ThrowableCPIndex};
560560
if (!isStatic) {
561561
if (constructor) {
562562
localsCPIdx = new int[] {0};

0 commit comments

Comments
 (0)