Shazam.java: New file.

* libjava.lang/Shazam.java: New file.
	libjava.lang/Shazam.out: New file.

From-SVN: r27022
This commit is contained in:
Anthony Green 1999-05-19 06:53:20 +00:00 committed by Anthony Green
parent 777004694d
commit 7ec6a04ef8
3 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-05-24 Anthony Green <green@cygnus.com>
* libjava.lang/Shazam.java: New file.
libjava.lang/Shazam.out: New file.
1999-05-12 Andrew Haley <aph@cygnus.com>
* libjava.lang/Invoke_2.java: New file.

View File

@ -0,0 +1,18 @@
import java.io.*;
public class Shazam {
private static String shazam ()
{
try {
return "shazam";
} finally {
System.out.println ("The next line should say \"shazam\"");
}
}
public static void main (String[] args)
{
System.out.println (shazam ());
}
}

View File

@ -0,0 +1,2 @@
The next line should say "shazam"
shazam