Commit ed4c3661 by Anthony Green Committed by Anthony Green

*** empty log message ***

From-SVN: r31448
parent a6786148
2000-01-16 Anthony Green <green@cygnus.com>
* libjava.lang/pr133.out: New file.
* libjava.lang/pr133.java: New file.
* libjava.lang/pr100.xpo: New file.
* libjava.lang/pr100.java: New file.
2000-01-16 Anthony Green <green@cygnus.com>
* libjava.lang/pr93.xpo: New file.
* libjava.lang/pr93.java: New file.
2000-01-16 Anthony Green <green@cygnus.com>
* libjava.lang/lang.exp: Handle regexp matches correctly.
2000-01-16 Anthony Green <green@cygnus.com>
* libjava.lang/pr83.out: New file.
* libjava.lang/pr83.java: New file.
......
// PR 100
// Second call to hashcode causes SEGV when dynamically linking.
public class pr100
{
public static void main(String[] args) {
pr100 ht = new pr100();
System.err.println(ht.hashCode());
System.err.println(ht.getClass().hashCode());
}
}
// PR 133
// System.exit(0) appears to hang the program.
public class pr133 {
public static void main(String argv[])
{
String name;
if (argv.length == 0) {
name = "Rocket J. Squirrel";
} else {
name = argv[0];
}
new pr133(name).identifySelf();
System.out.println("goodbye");
System.exit(0);
}
public pr133 (String name)
{
v_name = name;
}
public void identifySelf()
{
System.out.println("This is a pr133 instance named " + v_name);
System.out.println("Leaving identifySelf()...");
}
private String v_name;
}
This is a pr133 instance named Rocket J. Squirrel
Leaving identifySelf()...
goodbye
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment