From bcc10aa32b7e1dcdb6a9729ae3916b5523e096da Mon Sep 17 00:00:00 2001 From: chiba Date: Wed, 5 Jan 2011 05:26:06 +0000 Subject: [PATCH] fixed a typo. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@580 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- src/main/javassist/compiler/Parser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/javassist/compiler/Parser.java b/src/main/javassist/compiler/Parser.java index a885af6e..d4838141 100644 --- a/src/main/javassist/compiler/Parser.java +++ b/src/main/javassist/compiler/Parser.java @@ -891,7 +891,7 @@ public final class Parser implements TokenId { /* cast.expr : "(" builtin.type ("[" "]")* ")" unary.expr | "(" class.type ("[" "]")* ")" unary.expr2 - unary.expr2 is a unary.expr begining with "(", NULL, StringL, + unary.expr2 is a unary.expr beginning with "(", NULL, StringL, Identifier, THIS, SUPER, or NEW. Either "(int.class)" or "(String[].class)" is a not cast expression. -- 2.39.5