[
https://issues.apache.org/jira/browse/AVRO-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting updated AVRO-120:
------------------------------
Attachment: AVRO-120.patch
The attached patch:
- removes all explicit package-name specification from public APIs, instead
package names are retrieved either from the schema or from a Java class.
- changes the protocol compiler to generate separate files per class, rather
than using classes nested within the interface. this permits the generated
classes to be in the same package as the interface or different packages,
however it's specified in the protocol.
- fix schema/protocol parser/renderer to correctly default namespaces
> specific and reflect APIs handle packages poorly
> ------------------------------------------------
>
> Key: AVRO-120
> URL: https://issues.apache.org/jira/browse/AVRO-120
> Project: Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.1.0
> Reporter: Doug Cutting
> Assignee: Doug Cutting
> Fix For: 1.2.0
>
> Attachments: AVRO-120.patch
>
>
> The specific and reflect APIs require applications to manually specify a Java
> package name. Classes used within a protocol or schema must all be in that
> single Java package. Rather, both should determine package names from a
> schema namespaces and from Java class packages.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.