gcc/libjava/testsuite/libjava.lang/WalkerTest.java
Andrew Haley 0854f1891d re PR java/27908 (VMSecureRandom generateSeed infinite loop? (Regression))
2007-09-04  Andrew Haley  <aph@redhat.com>

	PR java/27908
	* testsuite/libjava.lang/PR27908.java
	({run1,run2,run3}.isRunning): New Method.
	(main): Fix race condition.

From-SVN: r128094
2007-09-04 17:54:56 +00:00

16 lines
213 B
Java

class Foo
{
Class bar()
{
return gnu.classpath.VMStackWalker.getCallingClass();
}
}
public class WalkerTest
{
public static void main(String[] argv)
{
System.out.println(new Foo().bar());
}
}