This is an automated email from the ASF dual-hosted git repository.

jhyde pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git


The following commit(s) were added to refs/heads/master by this push:
     new b1c7a0b  ImmutableBeans on JDK 8 requires interface to be public
b1c7a0b is described below

commit b1c7a0be86498d4c7688c28191416e9a57a17275
Author: Julian Hyde <[email protected]>
AuthorDate: Thu Jan 16 17:48:58 2020 -0800

    ImmutableBeans on JDK 8 requires interface to be public
---
 core/src/test/java/org/apache/calcite/test/MaterializationTest.java | 2 +-
 core/src/test/java/org/apache/calcite/util/ImmutableBeanTest.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/core/src/test/java/org/apache/calcite/test/MaterializationTest.java 
b/core/src/test/java/org/apache/calcite/test/MaterializationTest.java
index 23e94b5..902f60a 100644
--- a/core/src/test/java/org/apache/calcite/test/MaterializationTest.java
+++ b/core/src/test/java/org/apache/calcite/test/MaterializationTest.java
@@ -3020,7 +3020,7 @@ public class MaterializationTest {
   }
 
   /** Fluent class that contains information necessary to run a test. */
-  private interface Sql {
+  public interface Sql {
     default void ok() {
       that().sameResultWithMaterializationsDisabled();
     }
diff --git a/core/src/test/java/org/apache/calcite/util/ImmutableBeanTest.java 
b/core/src/test/java/org/apache/calcite/util/ImmutableBeanTest.java
index 1540b7a..de197ec 100644
--- a/core/src/test/java/org/apache/calcite/util/ImmutableBeanTest.java
+++ b/core/src/test/java/org/apache/calcite/util/ImmutableBeanTest.java
@@ -437,7 +437,7 @@ public class ImmutableBeanTest {
   }
 
   /** Bean interface that has a default method and one property. */
-  interface BeanWithDefault {
+  public interface BeanWithDefault {
     default String nTimes(int x) {
       if (x <= 0) {
         return "";

Reply via email to