summaryrefslogtreecommitdiffstats
path: root/tests/new/packagevisibility/testPackage/Class2.java
blob: d32e84683568c9bf94787a31cb9eb0dc88a215ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package packagevisibility.testPackage;

class Class2 {
    String doIt(String s) {
        new Runnable() {
                public void run() {
                    System.out.println("running");
                }
            }.run();

        return s + "-class2";
    }
}