If you get these warnings:
Code:
Class128.java:60: warning: non-varargs call of varargs method with inexact argum
ent type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
Long var_long = (Long) method.invoke(runtime, null);
^
Class279_Sub13.java:103: warning: non-varargs call of varargs method with inexac
t argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
Integer integer = (Integer) method.invoke(runtime, null);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 warnings
Press any key to continue . . .
go into class128.java.
search for:
Code:
Long var_long = (Long) method.invoke(runtime, null);
change to:
Code:
Long var_long = (Long) method.invoke(runtime, (Object[])null);
go into Class279_Sub13.java
search for:
Code:
Integer integer = (Integer) method.invoke(runtime, null);
change to:
Code:
Integer integer = (Integer) method.invoke(runtime, (Object[])null);
Compile.