[ 
https://issues.apache.org/jira/browse/CALCITE-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated CALCITE-2342:
---------------------------------
    Comment: was deleted

(was: I saw some javadoc failures under JDK 11. While you're in the code, can 
you fix those also.)

> use of assert with side-effect in Schemas
> -----------------------------------------
>
>                 Key: CALCITE-2342
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2342
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Laurent Goujon
>            Assignee: Laurent Goujon
>            Priority: Major
>
> {{Schemas#path(CalciteSchema,Iterable<String>)}} method has the following 
> code:
> {code:java}
> if (!rootSchema.name.isEmpty()) {
>   assert rootSchema.name.equals(iterator.next());
> }
> {code}
> Depending if assertions are enabled or not, iterator state might be different



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to