fairyhawk / protostuff

Automatically exported from code.google.com/p/protostuff
Apache License 2.0
0 stars 0 forks source link

Java files with Class<?> fails to parse #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a Java source file with a Class<?> field

What is the expected output? What do you see instead?
Expected output is successful creation of proto file, but I get:

line X:Y no viable alternative at character '<'

And a lot of the same warnings after that 'til the end of file

What version of the product are you using? On what operating system?
protostuff-compiler-1.0.0-jarjar.jar, Mac OS/X 10.6.6

Please provide any additional information below.

Original issue reported on code.google.com by arcn...@gmail.com on 18 Mar 2011 at 8:03

GoogleCodeExporter commented 8 years ago
I don't understand your problem.
You are simply using the compiler yes?
Can you supply the proto that triggers the your problem?
There is probably something wrong with your proto syntax-wise.

Original comment by david.yu...@gmail.com on 18 Mar 2011 at 9:49

GoogleCodeExporter commented 8 years ago
Sorry, maybe I was a bit asleep or something. I tried to parse a Java file 
instead of a .proto. I continued to do so, because a Enum inside my .java was 
correctly generated, but failed to parse my Class<?> fields.

I'll try creating a proto file, sorry for the noise

Original comment by arcn...@gmail.com on 18 Mar 2011 at 9:53

GoogleCodeExporter commented 8 years ago

Original comment by david.yu...@gmail.com on 18 Mar 2011 at 11:35