You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Reiss (JIRA)" <ji...@apache.org> on 2008/05/27 20:32:02 UTC
[jira] Resolved: (THRIFT-15) Name of struct 'constants' clashes
with class name used for constants
[ 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.