You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2018/01/17 20:45:00 UTC

[jira] [Commented] (CALCITE-2138) Add Locale.getDefault() to forbidden api list

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

Julian Hyde commented on CALCITE-2138:
--------------------------------------

We should ban TimeZone.getDefault() also.

This will not be a minor change. It is worth doing, to ensure that Calcite's behavior will stay the same if it is deployed in a server with different timezone/locale to the client. For code intended to be used in a server, the timezone/locale of the server should have no effect.

> Add Locale.getDefault() to forbidden api list
> ---------------------------------------------
>
>                 Key: CALCITE-2138
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2138
>             Project: Calcite
>          Issue Type: Bug
>         Environment: came as part of discussion in https://issues.apache.org/jira/browse/CALCITE-2107
>            Reporter: Nishant Bangarwa
>            Assignee: Nishant Bangarwa
>            Priority: Major
>




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