1 // Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file 2 // for details. All rights reserved. Use of this source code is governed by a 3 // BSD-style license that can be found in the LICENSE file. 4 package lambdadesugaringnplus.other; 5 6 class PackagePrivate { 7 @Override toString()8 public String toString() { 9 return "PackagePrivate::toString()"; 10 } 11 } 12 13 public interface InterfaceWithDefaultPackagePrivate { foo()14 String foo(); 15 defaultFoo()16 default String defaultFoo() { 17 return "defaultFoo: " + new PackagePrivate().toString(); 18 } 19 staticFoo()20 static String staticFoo() { 21 return "staticFoo: " + new PackagePrivate().toString(); 22 } 23 } 24