Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.8.0
-
None
-
None
-
Using a variable name that also happens to be a toplevel domain name (like 'org') no longer causes errors.
Description
The problem is in the generated 'readExternal' and 'writeExternal' functions, because they do something like:
WRITER$.write(this, org.apache.avro.specific.SpecificData.getEncoder(out));
When a member variable called 'org' exists, then the compile fails because the compiler thinks that 'org' is a member variable and that 'apache cannot be resolved or is not a field'.
Attachments
Attachments
Issue Links
- blocks
-
AVRO-1833 Release 1.8.1
- Resolved