kshchepanovskyi / protostuff-googlecode-exported

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can protostuff be compatibled with jdk 1.5

GoogleCodeExporter opened this issue · comments

I found the pom of protostuff is configured with 
jdk 1.5 source and target (maven-compiler-plugin).

but protostuff jar is compiled by jdk 1.6,and also protostuff use some jdk 1.6 
api(such as ConcurrentSkipListMap).

so protostuff can not work in the jdk 1.5 enviorment.

I desperately hope that protostuff can provide the support of jdk 1.5.


Original issue reported on code.google.com by tully...@gmail.com on 27 Jun 2012 at 2:13

I am facing the same issue now. Can anyone reply to this. Thank you

Original comment by sowmya.m...@gmail.com on 19 Feb 2013 at 8:58

I had moved the jdk 1.6 api so that protostuff can be used in jdk 1.5. if you 
need source code,I can send you a copy.

Original comment by tully...@gmail.com on 20 Feb 2013 at 3:17

I seemed to have missed this. (Sorry about that)
Eclipse definitely did not give me a warning about using ConcurrentSkipListMap.
I'll try to address this issue in the 1.1.0 release (which will include array 
ser/deser improvements).

Original comment by david.yu...@gmail.com on 20 Feb 2013 at 11:25

  • Changed state: Accepted
eclipse will give warning when use JDK 1.5 Library.(not using JDK 1.6 Library 
set compliance to 1.5)  

Original comment by tully...@gmail.com on 20 Feb 2013 at 11:31

use the source,delete the errors.

Original comment by gaoxiang...@gmail.com on 16 May 2014 at 7:36

Attachments: