Re: [qi4j-dev] Java5 vs Java6 difference in Generics handling

2010-10-16 Thread Niclas Hedhman
On Sat, Oct 16, 2010 at 4:27 PM, Rickard Öberg wrote: >>  1. Qi4j moves on to become JDK1.6 dependent (Java5 has been EOL quite >> a while already). >> >>  2. Someone in StreamFlow's organization takes over pronto and makes >> the Qi4j releases. >> >> What say ye? > > In light of all that has bee

Re: [qi4j-dev] Java5 vs Java6 difference in Generics handling

2010-10-16 Thread Rickard Öberg
On 2010-10-16 13.13, Niclas Hedhman wrote: And this is incompatible with Cobertura!! Lovely... I think I'll open a restaurant instead... *SIGH* StreamFlow gang (Rickard included); I am on the boiling point on this issue. I am putting forward 2 proposals, pick and choose; 1. Qi4j moves on to

Re: [qi4j-dev] Java5 vs Java6 difference in Generics handling

2010-10-15 Thread Niclas Hedhman
On Sat, Oct 16, 2010 at 10:53 AM, Niclas Hedhman wrote: >                animal-sniffer-maven-plugin And this is incompatible with Cobertura!! Lovely... I think I'll open a restaurant instead... *SIGH* StreamFlow gang (Rickard included); I am on the boiling point on this issue. I am putting fo

Re: [qi4j-dev] Java5 vs Java6 difference in Generics handling

2010-10-15 Thread Niclas Hedhman
On Thu, Oct 7, 2010 at 6:44 PM, Stuart McCulloch wrote: >> In other words, we can compile with 1.6 and it will run on 1.5? > > that's the idea - the animal-sniffer will check you only use Java5 APIs (ie. > no String.isEmpty, etc.) > to set the compiler to target Java5 bytecode use: > > >

Re: [qi4j-dev] Java5 vs Java6 difference in Generics handling

2010-10-07 Thread Stuart McCulloch
On 7 October 2010 11:27, Rickard Öberg wrote: > On 2010-10-07 18.10, Stuart McCulloch wrote: > >> On 7 October 2010 10:32, Niclas Hedhman > > wrote: >> >>On Thu, Oct 7, 2010 at 4:03 PM, Stanislav Muhametsin >>mailto:[email protected]>> >> >>wrote:

Re: [qi4j-dev] Java5 vs Java6 difference in Generics handling

2010-10-07 Thread Rickard Öberg
On 2010-10-07 18.10, Stuart McCulloch wrote: On 7 October 2010 10:32, Niclas Hedhman mailto:[email protected]>> wrote: On Thu, Oct 7, 2010 at 4:03 PM, Stanislav Muhametsin mailto:[email protected]>> wrote: > Quoting Niclas Hedhman mailto:[email protected]>>: >

Re: [qi4j-dev] Java5 vs Java6 difference in Generics handling

2010-10-07 Thread Stuart McCulloch
On 7 October 2010 10:32, Niclas Hedhman wrote: > On Thu, Oct 7, 2010 at 4:03 PM, Stanislav Muhametsin > wrote: > > Quoting Niclas Hedhman : > > > >> It is being compiled with JDK 1.5.0_22, as I take that as the only > >> safe way... Compatibility out has the tendency to miss 'new methods' > >> a

Re: [qi4j-dev] Java5 vs Java6 difference in Generics handling

2010-10-07 Thread Niclas Hedhman
On Thu, Oct 7, 2010 at 4:03 PM, Stanislav Muhametsin wrote: > Quoting Niclas Hedhman : > >> It is being compiled with JDK 1.5.0_22, as I take that as the only >> safe way... Compatibility out has the tendency to miss 'new methods' >> and such. >> > > Did you try changing names of generics? Like, "

Re: [qi4j-dev] Java5 vs Java6 difference in Generics handling

2010-10-07 Thread Stanislav Muhametsin
Quoting Niclas Hedhman : It is being compiled with JDK 1.5.0_22, as I take that as the only safe way... Compatibility out has the tendency to miss 'new methods' and such. Did you try changing names of generics? Like, "ThrowableType1" in AbstractModifierModel, and "ThrowableType2" in Constru

Re: [qi4j-dev] Java5 vs Java6 difference in Generics handling

2010-10-07 Thread Niclas Hedhman
It is being compiled with JDK 1.5.0_22, as I take that as the only safe way... Compatibility out has the tendency to miss 'new methods' and such. On Thu, Oct 7, 2010 at 3:52 PM, Stanislav Muhametsin wrote: > Quoting Niclas Hedhman : > >> Gangs, >> >> I have been trying to locate why the following

Re: [qi4j-dev] Java5 vs Java6 difference in Generics handling

2010-10-07 Thread Stanislav Muhametsin
Quoting Niclas Hedhman : Gangs, I have been trying to locate why the following code snippets compile and works on Java6, but doesn't compile on Java5. Note that the generics are for the method only. We have it declared at the class level (on the called class) in which case it compiles. Any poin

[qi4j-dev] Java5 vs Java6 difference in Generics handling

2010-10-07 Thread Niclas Hedhman
Gangs, I have been trying to locate why the following code snippets compile and works on Java6, but doesn't compile on Java5. Note that the generics are for the method only. We have it declared at the class level (on the called class) in which case it compiles. Any pointer to what is going on is g