Simple read/write fails with 1.4.3 on J2SE 1.5 beta 2
Compile and run the attached class with J2SE 1.5 (now 5.0) beta 2 and ASM
1.4.3. It produces the following error:
Exception in thread "main" java.lang.VerifyError: (class: Test, method: main
signature: ([Ljava/lang/String;)V) Illegal type in constant pool
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2133)
at java.lang.Class.getConstructor0(Class.java:2445)
at java.lang.Class.newInstance0(Class.java:311)
at java.lang.Class.newInstance(Class.java:293)
at Test.main(Test.java:10)
Removing line 3 of main (Method m = ...) will eliminate the error.