The following code:
[StaticClass]
public class Main {
public static void main( String[] args){
Foo<Integer> foo = new Foo<Integer> ();
foo.Hello = 9;
System.out.println(foo.Hello);
}
}
class Foo<T>
{
public T Hello;
}
returns the runtime error:
Exception in thread "main" java.lang.VerifyError: (class: pt/test/Main, method:
main signature: ([Ljava/lang/String;)V)
Expecting to find object/array on stack
Could not find the main class: pt.test.Main. Program will exit.
Original issue reported on code.google.com by ice.ta...@gmail.com on 10 Jul 2010 at 5:29
Original issue reported on code.google.com by
ice.ta...@gmail.com
on 10 Jul 2010 at 5:29