Status: New
Labels: Type-Defect Priority-Medium

New issue 284 by if proto file has a message "String" it does not compile in java

What steps will reproduce the problem?
1. create a "message String" in the proto file and make sure that any message in the proto file has a string field in it
2. compile with latest protoc to a java file

What is the expected output? What do you see instead?

this java file does not compile, uses of java.lang.String conflict with your String Object in the java file

What version of the product are you using? On what operating system?
2.4.1, on winxp (this problem was not there in 2.3)

Please provide any additional information below.

You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to