jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.

2007-02-21  Kyle Galloway  <kgallowa@redhat.com>

	* jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
	* testsuite/libjava.jvmti/interp/getargssize.java: New test.
	* testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
	* testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
	* testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
	* testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.

From-SVN: r122201
This commit is contained in:
Kyle Galloway 2007-02-21 18:09:24 +00:00 committed by Kyle Galloway
parent 21af5cdfe2
commit 532e9fe7d3
7 changed files with 167 additions and 1 deletions

View file

@ -0,0 +1,36 @@
public class getargssize
{
static
{
System.loadLibrary("natgetargssize");
}
public int aMethod (float fone, int ione)
{
return 0;
}
public long bMethod (long lone, double done, int ione)
{
return 0;
}
public static boolean cMethod ()
{
return false;
}
public static Object dMethod (Object op)
{
return op;
}
public static native int do_getargssize_tests ();
public static void main (String[] args)
{
System.out.println ("JVMTI getargssize Interpreted Test");
do_getargssize_tests ();
}
}