Retro68/gcc/libjava/testsuite/libjava.lang/WalkerTest.java

16 lines
213 B
Java
Raw Normal View History

2012-03-27 23:13:14 +00:00
class Foo
{
Class bar()
{
return gnu.classpath.VMStackWalker.getCallingClass();
}
}
public class WalkerTest
{
public static void main(String[] argv)
{
System.out.println(new Foo().bar());
}
}