field.out: New file.
* libjava.jni/field.out: New file. * libjava.jni/field.c: New file. * libjava.jni/field.java: New file. From-SVN: r40776
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// Test for array field lookup.
|
||||
|
||||
public class field
|
||||
{
|
||||
// A field for us to look up.
|
||||
public Object[] F = new Object[7];
|
||||
|
||||
public native Object[] fetch ();
|
||||
|
||||
public void doit ()
|
||||
{
|
||||
System.out.println (F == fetch ());
|
||||
}
|
||||
|
||||
public static void main (String[] args)
|
||||
{
|
||||
field q = new field ();
|
||||
q.doit ();
|
||||
}
|
||||
|
||||
static
|
||||
{
|
||||
System.loadLibrary ("field");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user