[ 
https://issues.apache.org/jira/browse/CALCITE-3175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16891914#comment-16891914
 ] 

Julian Hyde commented on CALCITE-3175:
--------------------------------------

The current PR uses Class.forName to create a class mentioned by name in the 
serialized form. This might create a security hole.

The receiver ought to know the target (enum) class already, so why store it in 
the serialized form?

> Serialize to json of trim function cause exception
> --------------------------------------------------
>
>                 Key: CALCITE-3175
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3175
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Wang Yanlin
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Serialize the RexCall of *trim* function cause *java.lang.AssertionError* 
> exception.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to