Skip to content

Commit 985c611

Browse files
committed
fix name
1 parent e41be8e commit 985c611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/lang-painless/src/main/java/org/elasticsearch/painless/DefBootstrap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ protected MethodHandle computeValue(Class<?> receiverType) {
202202
return lookup(flavor, name, receiverType).asType(type);
203203
} catch (Throwable t) {
204204
// ClassValue.getFromHashMap wraps checked exceptions as Error, so we
205-
// use a sentinel class [PainlessWrapperError] here to work around
205+
// use a sentinel class [PainlessWrappedException] here to work around
206206
// this issue and later unwrap the original exception
207207
Def.rethrow(t instanceof Exception ? new PainlessWrappedException((Exception) t) : t);
208208
throw new AssertionError();

0 commit comments

Comments
 (0)