Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 310 by [email protected]: protoc generates uncompilable java
code
http://code.google.com/p/protobuf/issues/detail?id=310
When the following protobuf definition is supplied to protoc (2.4.1), the
generated java code does not compile because of conflicting unqualified
references to different String classes.
message Message {
message String {
}
required String string1 = 1;
required string string2 = 2;
}
protoc should always output fully-qualified name for java.lang.String in
the generated code.
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.