gcc/libjava/testsuite/libjava.cni/longfield.java
Tom Tromey 6932a1994e libjava.exp (gcj_invoke): Moved...
* lib/libjava.exp (gcj_invoke): Moved...
	* libjava.jni/jni.exp: ...from here.

	* libjava.cni/shortfield.out: New file.
	* libjava.cni/shortfield.java: New file.
	* libjava.cni/natshortfield.cc: New file.
	* libjava.cni/natlongfield.cc: New file.
	* libjava.cni/longfield.out: New file.
	* libjava.cni/longfield.java: New file.

	* libjava.cni/cni.exp: New file.

From-SVN: r64702
2003-03-22 07:14:53 +00:00

23 lines
365 B
Java

public class longfield
{
long lval = 232300;
boolean bval = true;
String sval = "maude";
public native void doitc ();
public void doitj()
{
System.out.println(lval);
System.out.println(bval);
System.out.println(sval);
}
public static void main(String[] args)
{
longfield f = new longfield();
f.doitc();
f.doitj();
}
}