summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorBartosz Firyn <bartoszfiryn@gmail.com>2020-03-26 21:30:06 +0100
committerGitHub <noreply@github.com>2020-03-26 21:30:06 +0100
commit5e6b5b27ded252c8ea15a2ac80409fdd844b721a (patch)
treea94c20d575533030cfd090e55d288a8880f04273 /src/main
parent44e777f0410d6c968b75f331ba4d82e4288b5ddc (diff)
downloadjavassist-5e6b5b27ded252c8ea15a2ac80409fdd844b721a.tar.gz
javassist-5e6b5b27ded252c8ea15a2ac80409fdd844b721a.zip
Fix typo in TypeChecker
Should be "bad field access" not "bad filed access".
Diffstat (limited to 'src/main')
-rw-r--r--src/main/javassist/compiler/TypeChecker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/compiler/TypeChecker.java b/src/main/javassist/compiler/TypeChecker.java
index 9e01d0a1..ec7e3cf3 100644
--- a/src/main/javassist/compiler/TypeChecker.java
+++ b/src/main/javassist/compiler/TypeChecker.java
@@ -933,7 +933,7 @@ public class TypeChecker extends Visitor implements Opcode, TokenId {
}
}
- throw new CompileError("bad filed access");
+ throw new CompileError("bad field access");
}
private CtField fieldAccess2(Expr e, String jvmClassName) throws CompileError {