gt;>> visitParenthesizedExpr
> >>>>>>>>>> ession(
> >>>>>>>>>>>>>>>> UnitCompiler.java:4074)
> >>>>>>>>>>>>>>>>>> at
&
gt;>>>>>> accept(Java.java:4753)
>>>>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>>> org.codehaus.janino.UnitCompiler$12.visitLvalue(
>>>>>>>>>>>>>> UnitCompiler.java:4
n.accept(Java.java:4902)
> >>> > >> >> >>> > >>>> at org.codehaus.janino.UnitCompiler.compileGet(
> >>> > >> >> >>> > >> UnitCompiler.java:4070)
> >>> > >> >> >>> >
;
>>> org.codehaus.janino.UnitCompiler.compileGet2(UnitCompiler.
>>> > >> >> java:4696)
>>> > >> >> >>> > >>>> at org.codehaus.janino.UnitCompiler.access$7800(
>>> >
>>> at org.codehaus.janino.UnitCompiler.compileGet(
>> > >> >> >>> > >> UnitCompiler.java:4070)
>> > >> >> >>> > >>>> at
>> > >> >> >>> > >>> org.codehaus.janino
gt;> ession(
> > >> >> >>> > >> UnitCompiler.java:4083)
> > >> >> >>> > >>>> at
> > >> >> >>> > >>> org.codehaus.janino.UnitCompiler$12$1.
> > visitParenthesizedExpr
> > >> >> ession(
> > >>
; >>> > >>> org.codehaus.janino.UnitCompiler$12.visitLvalue(
> >> >> >>> > UnitCompiler.java:4074)
> >> >> >>> > >>>> at
> >> >> >>> > >>> org.codeha
>> >> >>> > UnitCompiler.java:4070)
>> >> >>> > >>>> at org.codehaus.janino.Java$Lvalue.accept(Java.java:3977)
>> >> >>> > >>>> at org.codehaus.janino.UnitCompiler.compileGet(
>> >> >>>
> at org.codehaus.janino.UnitCompiler.access$6100(
> >> >>> > >> UnitCompiler.java:212)
> >> >>> > >>>> at
> >> >>> > >>> org.codehaus.janino.UnitCompiler$11$1.visitFieldAccess(
> >> UnitComp
dehaus.janino.UnitCompiler$11.visitLvalue(
>> >>> > UnitCompiler.java:3942)
>> >>> > >>>> at
>> >>> > >>> org.codehaus.janino.UnitCompiler$11.visitLvalue(
>> >>> > UnitCompiler.java:3938)
>> >>>
t;> org.codehaus.janino.UnitCompiler.compileContext2(
> >>> > UnitCompiler.java:4047)
> >>> > >>>> at org.codehaus.janino.UnitCompiler.access$6200(
> >>> > >> UnitCompiler.java:212)
> >>>
.visitFieldAccessExpression(
>>> > >> UnitCompiler.java:3942)
>>> > >>>> at
>>> > >>>
>>> org.codehaus.janino.Java$FieldAccessExpression.accept(Java.java:4468)
>>> > >>>> at
>>> >
ler.java:5252)
>> > >>>> at
>> > >>> org.codehaus.janino.UnitCompiler.compileGet2(UnitCompiler.java:4842)
>> > >>>> at org.codehaus.janino.UnitCompiler.access$8300(
>> > >> UnitCompiler.java:212)
>> &
ompileGet(
> > >> UnitCompiler.java:4070)
> > >>>> at
> > >>> org.codehaus.janino.UnitCompiler.compileGetValue(
> > UnitCompiler.java:5253)
> > >>>> at org.codehaus.janino.UnitCompiler.compile2(
> > UnitCompiler.jav
> >>> org.codehaus.janino.Java$LocalVariableDeclarationStatem
> >> ent.accept(Java.java:3351)
> >>>> at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:1466)
> >>>> at org.cod (stack truncated)
> >>>
>
<cademarkeg...@gmail.com> ha
>>>>> scritto:
>>>>>
>>>>>> Not sure if this is related, but it seems like Janino doesn't support
>>>>> Java8
>>>>>> lambdas under "Limitations" in http://janino-compiler.github.
&
er). I
> >> have
> >>> not much time these days.
> >>>
> >>> Anyhow I am testing my apps on jdk10 and Calcite is working like a
> charm
> >> !
> >>>
> >>> Enrico
> >>>
> >>>>
> >>>
> >
> > > > >> Don’t have the error stack, but janino could not compile generated
> > > code
> > > > >> because it said an “unwrap” method did not exist.
> > > > >>
> > > > >> There were no lambdas. I think perh
ange 2 lines in core/pom.xml and run “mvn test”.
> > > >>
> > > >
> > > > Did you try to update to latest Janino?
> > > > It seems to that we have an old version (2.7.6)
> > > >
> > > > Enrico
> > > >
> > > >
ore/pom.xml and run “mvn test”.
> >>
> >
> > Did you try to update to latest Janino?
> > It seems to that we have an old version (2.7.6)
> >
> > Enrico
> >
> >>
> >> Julian
> >>
> >>
> >>> On Apr 9, 20
mvn test”.
>>
>
> Did you try to update to latest Janino?
> It seems to that we have an old version (2.7.6)
>
> Enrico
>
>>
>> Julian
>>
>>
>>> On Apr 9, 2018, at 12:15 PM, Enrico Olivelli <eolive...@gmail.com>
>> wrote:
&g
<eolive...@gmail.com>
> wrote:
> >
> > Il lun 9 apr 2018, 19:05 Julian Hyde <jh...@apache.org> ha scritto:
> >
> >> Has anyone had any luck using JDK 8 syntax (e.g. “->” for lambdas) in
> >> Calcite?
> >>
> >> In core/pom.
test”.
Julian
> On Apr 9, 2018, at 12:15 PM, Enrico Olivelli <eolive...@gmail.com> wrote:
>
> Il lun 9 apr 2018, 19:05 Julian Hyde <jh...@apache.org> ha scritto:
>
>> Has anyone had any luck using JDK 8 syntax (e.g. “->” for lambdas) in
>> Calcite?
>
Il lun 9 apr 2018, 19:05 Julian Hyde <jh...@apache.org> ha scritto:
> Has anyone had any luck using JDK 8 syntax (e.g. “->” for lambdas) in
> Calcite?
>
> In core/pom.xml I changed source=1.7 target=1.7 to source=8 target=8 and
> it allowed the syntax but it seemed to bre
Has anyone had any luck using JDK 8 syntax (e.g. “->” for lambdas) in Calcite?
In core/pom.xml I changed source=1.7 target=1.7 to source=8 target=8 and it
allowed the syntax but it seemed to break any tests that relied on janino.
Related: https://issues.apache.org/jira/browse/CALCITE-2
25 matches
Mail list logo