You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Ludwig Magnusson <lu...@itcatapult.com> on 2011/01/24 17:03:40 UTC
Java version for fulcrum/turbine
I notice that the default java version for turbine and fulcrum projects is
1.4. Is this deliberate or is it just that it hasn't been changed?
Is there a policy on what the java version should be?
I always prefer "the latest" but I realize that for compability reasons that
won't work with distributed products. I do consider Turbine to be quite
lightweight though.
I would say that 1.5 should be a minimum though.
/Ludwig
RE: Java version for fulcrum/turbine
Posted by Ludwig Magnusson <lu...@itcatapult.com>.
Performance is increased in 1.6.
One thing I actually like in 1.6 is that the @Override annotation woks on
interface methods. This is not true for 1.5.
It might seem like a small thing but it has actually helped me on several
occasions when interface methods change. Then the compiler tells me that the
implementing method is not actually implementing any method in a superclass
or interface.
.. but I guess you only need source level 1.6 for that and not target level.
And I confess that I do not understand fully how it works with performance
issues. If I compile with a 1.6 compilers and have 1.5 as a target, do I
still receive the performance increases?
/Ludwig
From: Thomas Vandahl [mailto:tv@apache.org]
Sent: den 25 januari 2011 18:23
To: Turbine Developers List
Subject: Re: Java version for fulcrum/turbine
On 24.01.11 23:15, Scott Eade wrote:
> The Java version we compile against is certainly open to discussion. As
> a community developed project we would typically survey our users, but
> with a reasonably small number of developers we are more than likely to
> allow any one of us to peg this back due to the environment we are
> required to work with. So if all developers were using Java 6 we would
> probably open this discussion on the user list, but if even one of us is
> constrained to use 1.4 we will probably just stick with this.
>
> I believe Thomas is required to use 1.4 for now, though this is for him
> to confirm. For the record, I use 6.
No, not anymore, 1.6 is fine with me. AFAICT, other projects seem to
switch to 1.5 when giving up 1.4. Personally, I don't see much
difference between 1.5 and 1.6. YMMV
Bye, Thomas.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org
For additional commands, e-mail: dev-help@turbine.apache.org
_____
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3402 - Release Date: 01/25/11
RE: Java version for fulcrum/turbine
Posted by Ludwig Magnusson <lu...@itcatapult.com>.
I'd definetly welcome a poll.
/Ludwig
From: Scott Eade [mailto:seade@backstagetech.com.au]
Sent: den 26 januari 2011 21:35
To: Turbine Developers List
Subject: Re: Java version for fulcrum/turbine
On 26/01/11 4:23 AM, Thomas Vandahl wrote:
> On 24.01.11 23:15, Scott Eade wrote:
>> The Java version we compile against is certainly open to discussion. As
>> a community developed project we would typically survey our users, but
>> with a reasonably small number of developers we are more than likely to
>> allow any one of us to peg this back due to the environment we are
>> required to work with. So if all developers were using Java 6 we would
>> probably open this discussion on the user list, but if even one of us is
>> constrained to use 1.4 we will probably just stick with this.
>>
>> I believe Thomas is required to use 1.4 for now, though this is for him
>> to confirm. For the record, I use 6.
> No, not anymore, 1.6 is fine with me. AFAICT, other projects seem to
> switch to 1.5 when giving up 1.4. Personally, I don't see much
> difference between 1.5 and 1.6. YMMV
Great. Probably the best thing to do next would be to conduct a poll on
user@ checking on the minimum version in use in the wild. It is quite
possible that others are constrained to 1.4 or 5.
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org
For additional commands, e-mail: dev-help@turbine.apache.org
_____
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1191 / Virus Database: 1435/3404 - Release Date: 01/26/11
Re: Java version for fulcrum/turbine
Posted by Scott Eade <se...@backstagetech.com.au>.
On 26/01/11 4:23 AM, Thomas Vandahl wrote:
> On 24.01.11 23:15, Scott Eade wrote:
>> The Java version we compile against is certainly open to discussion. As
>> a community developed project we would typically survey our users, but
>> with a reasonably small number of developers we are more than likely to
>> allow any one of us to peg this back due to the environment we are
>> required to work with. So if all developers were using Java 6 we would
>> probably open this discussion on the user list, but if even one of us is
>> constrained to use 1.4 we will probably just stick with this.
>>
>> I believe Thomas is required to use 1.4 for now, though this is for him
>> to confirm. For the record, I use 6.
> No, not anymore, 1.6 is fine with me. AFAICT, other projects seem to
> switch to 1.5 when giving up 1.4. Personally, I don't see much
> difference between 1.5 and 1.6. YMMV
Great. Probably the best thing to do next would be to conduct a poll on
user@ checking on the minimum version in use in the wild. It is quite
possible that others are constrained to 1.4 or 5.
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org
For additional commands, e-mail: dev-help@turbine.apache.org
Re: Java version for fulcrum/turbine
Posted by Thomas Vandahl <tv...@apache.org>.
On 24.01.11 23:15, Scott Eade wrote:
> The Java version we compile against is certainly open to discussion. As
> a community developed project we would typically survey our users, but
> with a reasonably small number of developers we are more than likely to
> allow any one of us to peg this back due to the environment we are
> required to work with. So if all developers were using Java 6 we would
> probably open this discussion on the user list, but if even one of us is
> constrained to use 1.4 we will probably just stick with this.
>
> I believe Thomas is required to use 1.4 for now, though this is for him
> to confirm. For the record, I use 6.
No, not anymore, 1.6 is fine with me. AFAICT, other projects seem to
switch to 1.5 when giving up 1.4. Personally, I don't see much
difference between 1.5 and 1.6. YMMV
Bye, Thomas.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org
For additional commands, e-mail: dev-help@turbine.apache.org
Re: Java version for fulcrum/turbine
Posted by Scott Eade <se...@backstagetech.com.au>.
The Java version we compile against is certainly open to discussion. As
a community developed project we would typically survey our users, but
with a reasonably small number of developers we are more than likely to
allow any one of us to peg this back due to the environment we are
required to work with. So if all developers were using Java 6 we would
probably open this discussion on the user list, but if even one of us is
constrained to use 1.4 we will probably just stick with this.
I believe Thomas is required to use 1.4 for now, though this is for him
to confirm. For the record, I use 6.
Scott
On 25/01/11 3:03 AM, Ludwig Magnusson wrote:
> I notice that the default java version for turbine and fulcrum projects is
> 1.4. Is this deliberate or is it just that it hasn't been changed?
>
> Is there a policy on what the java version should be?
>
>
>
> I always prefer "the latest" but I realize that for compability reasons that
> won't work with distributed products. I do consider Turbine to be quite
> lightweight though.
>
> I would say that 1.5 should be a minimum though.
>
> /Ludwig
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org
For additional commands, e-mail: dev-help@turbine.apache.org