thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reiss (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (THRIFT-15) Name of struct 'constants' clashes with class name used for constants
Date Tue, 27 May 2008 18:32:02 GMT

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

David Reiss resolved THRIFT-15.
-------------------------------

    Resolution: Fixed
      Assignee: David Reiss

I meant that if someone else made a class or enum called "constants" in production code on
a case-insensitive filesystem (or if they called something "Constants"), they would run into
this same problem.  But that seems unlikely, so I'll just apply this.

> Name of struct 'constants' clashes with class name used for constants
> ---------------------------------------------------------------------
>
>                 Key: THRIFT-15
>                 URL: https://issues.apache.org/jira/browse/THRIFT-15
>             Project: Thrift
>          Issue Type: Bug
>          Components: Test Suite
>            Reporter: Johan Stuyts
>            Assignee: David Reiss
>            Priority: Minor
>         Attachments: constantsEnum.patch
>
>
> The Thrift file {{ConstantsDemo.thrift}} In the directory {{test}} defines an enum {{constants}}.
The Java file generated for this enum is {{constants.java}}. On case-insensitive filesystems
this will clash with the Java file generated for constants: {{Constants.java}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message