blob: 4cbbf11e901c5b0f4d5ffec5c687826a4ee752ee [file] [log] [blame]
// Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.accessrelaxation.privateinstance;
public class Sub1 extends Base implements Itf1 {
@Override
public String foo1() {
return "Sub1::foo1()";
}
private synchronized String bar1(int i) {
return "Sub1::bar1(" + i + ")";
}
public String pBar1() {
return bar1(1);
}
@Override
public void dump() {
System.out.println(foo1());
System.out.println(foo1(0));
try {
System.out.println(bar1(0));
} catch (Throwable e) {
System.out.println(e.getClass().getName());
}
}
}