URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.jni/] [field.java] - Rev 830
Go to most recent revision | Compare with Previous | Blame | View Log
// 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"); } }
Go to most recent revision | Compare with Previous | Blame | View Log