You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Victor_Cr <vi...@zoral.com.ua> on 2007/05/03 07:58:52 UTC

Re: [VOTE] Require Java SDK 5 (Java 1.5)

+1

But...
IMHO: I think that OFBiz almost could not use JDK 1.5 features, because:
 * All services get parameters by java.util.Map (this Map contains various 
value type)
 * Work with entities (GenericValue, GenericPK and etc) could not use JDK5 
generic too.
 * JDK5 Enum almost useless, if services will be using Enum instead of 
String constants (role names, order types, payment type, etc) it will be 
cool, but in this case user who wants to add own order type (or something 
like it) has to change OFBiz source code.
 * Primitive auto wrapping/unwrapping - good feature and it will be useful, 
but it could cause to untrivial NullPointerException.
 * All other JDK enhancements is extended libraries, and could be useful for 
OFBiz core.

Thanks a lot for an attention.
Polischuk Victor

----- Original Message ----- 
From: "David E. Jones" <jo...@hotwaxmedia.com>
To: <de...@ofbiz.apache.org>
Sent: Sunday, April 29, 2007 2:51 AM
Subject: [VOTE] Require Java SDK 5 (Java 1.5)


>
> Now that we have done a release branch (liberating in a way, isn't  it?) 
> should we move forward and require Java SDK 5 to run OFBiz?
>
> I think the time passed a while ago where it was safe to do this.  Version 
> 6 of the SDK is out now, and all platforms that I'm aware of  (even Apache 
> Harmony) are SDK 5 compatible.
>
> So, let's vote!
>
> -David
>
>