*** empty log message ***

From-SVN: r31448
This commit is contained in:
Anthony Green 2000-01-16 21:01:25 +00:00 committed by Anthony Green
parent a67861482d
commit ed4c3661d5
5 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,13 @@
// 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());
}
}

View file

@ -0,0 +1,2 @@
[0-9]+
[0-9]+

View file

@ -0,0 +1,34 @@
// 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;
}

View file

@ -0,0 +1,3 @@
This is a pr133 instance named Rocket J. Squirrel
Leaving identifySelf()...
goodbye