Status: New
Labels: Type-Defect Priority-Medium

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

What steps will reproduce the problem?
1. in the proto file i have a "message Object"
2. when i build it does not gen a compilable java file in 2.4, even though it worked fine in 2.3

What is the expected output? What do you see instead?
the correct thing should be
      private java.lang.Object value_ = "";
but instead it says
      private Object value_ = "";
and this makes it conflict with the "Object" message inside the java file

What version of the product are you using? On what operating system?
this is on Window XP, works in 2.3, broken in 2.4

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