Illegal signature

38 views
Skip to first unread message

Erik Jungmark

unread,
Feb 26, 2014, 10:00:35 AM2/26/14
to proglang-c...@googlegroups.com
For the function

void foo() {
}

we generate the following code:

.method public static foo()V
.limit locals 100
.limit stack 1000
return
.end method
;

When we try to run it, we get the following error: Method "foo" in class Foo has illegal signature () .

How is the signature illegal? As I've understood it, the syntax for function signatures in JVM is .method public static name(TypeList)MethodType

Erik Jungmark

unread,
Feb 26, 2014, 10:19:11 AM2/26/14
to proglang-c...@googlegroups.com
Disregard that, there was a problem with our method invocations
Reply all
Reply to author
Forward
0 new messages