Looks like the tally is:
10 +1
3 -1
So.. No native 1.6 at the current time.
I investigated a number of techniques for providing backwards
compatibility. Most of them are geared towards 1.4 level
compatibility and are not apropos. One small step we could take
involves
* Use -source 1.6 and -target 1.5
This uses 1.6 source level compatibility (@Override in interfaces,
etc.) with 1.5 class file format. We would then rely upon the
animal-sniffer plugin to ensure 1.5 level compatibility.
* Create a separate jdk15 maven 'classifier' that has the 1.5 jars.
Default build is native 1.6
We will need to use a special profile that:
- sets -target 1.5
- sets the classifier to jdk15
- uses some sort of source-code level transformation plus backport
jar to support jdk 1.5
For example...
.getBytes(Charsets.UTF_8) --> .getBytes(Charsets.UTF_8.name())
Arrays.copyOf(..) --> org.shindig.backport.Arrays.copyOf()
etc.
Thoughts?
On Wed, Dec 15, 2010 at 11:51 AM, Paul Lindner <[email protected]> wrote:
> Let's do this the apache way
>
> vote open 72h
>
> [ ] +1 I support Shindig 3.0 targeting Java 1.6
> [ ] +0 I don't care either way
> [ ] -1 Stop, please don't! I need java 1.5 support.
>
--
Paul Lindner -- [email protected] -- linkedin.com/in/plindner