[
https://issues.apache.org/jira/browse/THRIFT-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Duxbury resolved THRIFT-315.
----------------------------------
Resolution: Fixed
Turns out this was fixed already as part of another issue. Oops!
> Invalid code when Enum is in another package
> --------------------------------------------
>
> Key: THRIFT-315
> URL: https://issues.apache.org/jira/browse/THRIFT-315
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (Java)
> Affects Versions: 0.1
> Reporter: Ben Maurer
> Assignee: Bryan Duxbury
> Priority: Blocker
> Fix For: 0.1
>
>
> Thrift file 1
> {code}
> namespace java net.recaptcha.foo.bar
> struct ChunkInfoRequest {
> 1: chunkheader.CaptchaImageType imageType
> }
> {code}
> Thrift file 2
> {code}
> namespace java net.recaptcha.foo.blah
> enum CaptchaImageType {
> FOO = 1
> }
> {code}
> When the java code is generated, the ChunkInfoRequest.validate method doesn't
> fully qualify the type name, leading to a compile error
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.