kshchepanovskyi / protostuff-googlecode-exported

Automatically exported from code.google.com/p/protostuff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1.0.7 Build error: ProtoParserTest fails

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. mvn install

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

Failed tests:   testImport(com.dyuproject.protostuff.parser.ProtoParserTest)
Tests run: 19, Failures: 1, Errors: 0, Skipped: 0


What version of the product are you using? On what operating system?
OS/X 1.0.7 (and HEAD)


Please provide any additional information below.
protoc 2.5.0

Original issue reported on code.google.com by rich.burdon on 19 May 2014 at 3:11

Build errors if moving on by disabling tests.

mvn install -DskipTests

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) 
on project protostuff-model-json: Compilation failure: Compilation failure:
[ERROR] 
/Users/burdon/projects/src/thirdparty/googlecode/protostuff-1.0.7/protostuff-mod
el-json/src/main/java/com/dyuproject/protostuff/json/ProtobufJSON.java:[131,39] 
error: name clash: <B>parseFrom(InputStream,Class<B>) and 
<T>parseFrom(InputStream,Class<T>) have the same erasure

Original comment by rich.burdon on 20 May 2014 at 2:22

what java version are you using?
The codebase compiles fine with 1.5/1.6
Can you try compiling github.com/protostuff/protostuff on your machine?

Original comment by david.yu...@gmail.com on 20 May 2014 at 2:40