blob: 003d258745f72a31e3a7c2333baebde6cdef43f4 [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 Caller3 {
public static synchronized void run(boolean doCall) {
System.out.println("Caller3::run(boolean)");
if (doCall) {
Comparator<String> comparator = Comparator.naturalOrder();
System.out.println(comparator.compare("B", "B"));
System.out.println(comparator.compare("B", "C"));
System.out.println(comparator.compare("A", "B"));
}
}
}