summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/WalkerTest.java
blob: f4e41fecfa09ba252f9864253c7ecb18b05ac8b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class Foo
{
  Class bar()
  {
    return gnu.classpath.VMStackWalker.getCallingClass();
  }
}

public class WalkerTest
{
  public static void main(String[] argv)
  {
    System.out.println(new Foo().bar());
  }
}