blob: f254272fd3d3c1c67cb86e32d492f2a15d359c39 [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 interfacedispatchclasses;
import java.util.Comparator;
public class Caller1 {
public static synchronized void run(boolean doCall) {
System.out.println("Caller1::run(boolean)");
if (doCall) {
Comparator<String> comparator = Comparator.naturalOrder();
System.out.println(comparator.compare("A", "B"));
System.out.println(comparator.compare("B", "B"));
System.out.println(comparator.compare("B", "C"));
}
}
}