summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.cni/longfield.java
blob: 917bf953a051115535af67922a0801fb2708d520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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();
  }
}