Groups
Groups
Sign in
Groups
Groups
proglang-course-2014
Conversations
About
Send feedback
Help
Illegal signature
38 views
Skip to first unread message
Erik Jungmark
unread,
Feb 26, 2014, 10:00:35 AM
2/26/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
2/26/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to proglang-c...@googlegroups.com
Disregard that, there was a problem with our method invocations
Reply all
Reply to author
Forward
0 new messages