0854f1891d
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
16 lines
213 B
Java
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());
|
|
}
|
|
}
|