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)
Reporter: Ben Maurer
Thrift file 1
namespace java net.recaptcha.foo.bar
struct ChunkInfoRequest {
1: chunkheader.CaptchaImageType imageType
}
Package 2:
namespace java net.recaptcha.foo.blah
enum CaptchaImageType {
FOO = 1
}
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.