* MAINTAINERS (nvptx): Add self.
[official-gcc.git] / libjava / testsuite / libjava.lang / pr133.java
blob42009f4c851c0ab127b3477621d354e8f953eb5b
1 // PR 133
3 // System.exit(0) appears to hang the program.
5 public class pr133 {
6 public static void main(String argv[])
8 String name;
10 if (argv.length == 0) {
11 name = "Rocket J. Squirrel";
12 } else {
13 name = argv[0];
16 new pr133(name).identifySelf();
17 System.out.println("goodbye");
19 System.exit(0);
22 public pr133 (String name)
24 v_name = name;
27 public void identifySelf()
29 System.out.println("This is a pr133 instance named " + v_name);
30 System.out.println("Leaving identifySelf()...");
33 private String v_name;