aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/expr
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2003-10-06 14:39:17 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2003-10-06 14:39:17 +0000
commitb730655d0d439dee1f7d0ca1ecf9750bee12739d (patch)
tree218032b2a43e950b8435793831b44fb9be959948 /src/main/javassist/expr
parentd0add86d9763f89c88bafe7613ac5107d6bb949d (diff)
downloadjavassist-b730655d0d439dee1f7d0ca1ecf9750bee12739d.tar.gz
javassist-b730655d0d439dee1f7d0ca1ecf9750bee12739d.zip
improved the compilation of static method calls.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@49 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/expr')
-rw-r--r--src/main/javassist/expr/NewExpr.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/expr/NewExpr.java b/src/main/javassist/expr/NewExpr.java
index 2452b95c..423a5d72 100644
--- a/src/main/javassist/expr/NewExpr.java
+++ b/src/main/javassist/expr/NewExpr.java
@@ -206,7 +206,7 @@ public class NewExpr extends Expr {
bytecode.addIndex(newIndex);
bytecode.addOpcode(DUP);
gen.atMethodCall2(newType, MethodInfo.nameInit,
- args, false, true);
+ args, false, true, -1);
gen.setType(newType);
}
}