Hi,

I've been using thrift since last september and built a whole Java app
using it (www.bibale.com). I've been using the snapshot I checked out
last september until today when I attempted to use the latest revision
from trunk.

My code is no longer working as lots of changes have been integrated
that were not backward compatible.

One of the changes included is the definition of static final ints
with the field Ids with names that are upper case versions of the
matching field names. I happen to have a field that was named 'ASIN'
in one of my structs. The compiler does not complain about the whole
upper case field name and thus happily generates code that won't
compile since the ASIN identifier is used twice.

Shouldn't the correct behaviour be one of:

1. Generate a fieldId name that has an 'ID' suffix appended.
2. Have the compiler complain about the whole uppercase symbol.

Mathias.

Reply via email to