dev@grizzly.java.net

Re: Build broken: make sure it it build on jdk 5

From: Rajiv Mordani <rajiv.mordani_at_sun.com>
Date: Thu, 15 Jan 2009 10:59:10 -0800
I think we should have a branch for JDK5 suppot and encourage the use of JDK 6 specific APIs in the trunk.

- Rajiv

kedar mhaswade wrote:
नमस्ते! (It is "Salut" in Samskritam :))

But then wouldn't it mean we can't use JDK-6 specific API/implementation?

I agree, there is a maintenance overhead here.

Although I fully understand supporting JDK5, shouldn't we encourage users to upgrade to JDK6 soon?

-Kedar

On Thu, Jan 15, 2009 at 10:30 AM, Jeanfrancois Arcand <Jeanfrancois.Arcand@sun.com> wrote:
Salut,


kedar mhaswade wrote:
JF,

Should we have a branch that builds with JDK 6 alone?

I would keep JDK 5 as a base for building, and stick with the trunk. It would be difficult to maintain 2 branches IMO.

What do you think

A+

--Jeanfrancois


-Kedar


On Thu, Jan 15, 2009 at 9:54 AM, Jeanfrancois Arcand <Jeanfrancois.Arcand@sun.com <mailto:Jeanfrancois.Arcand@sun.com>> wrote:

   Salut,

       [INFO]
       ------------------------------------------------------------------------
       [ERROR] BUILD FAILURE
       [INFO]
       ------------------------------------------------------------------------
       [INFO] Compilation failure

       /files/hudson/workspace/Grizzly-1.x-trunk/trunk/modules/utils/src/main/java/com/sun/grizzly/util/LinkedTransferQueue.java:[303,27]
       park() in java.util.concurrent.locks.LockSupport cannot be
       applied to (com.sun.grizzly.util.LinkedTransferQueue<E>)

       /files/hudson/workspace/Grizzly-1.x-trunk/trunk/modules/utils/src/main/java/com/sun/grizzly/util/LinkedTransferQueue.java:[308,27]
       parkNanos(long) in java.util.concurrent.locks.LockSupport cannot
       be applied to (com.sun.grizzly.util.LinkedTransferQueue<E>,long)


       [INFO]
       ------------------------------------------------------------------------


   Make sure it always build with JDK 5 (I know this is painful). The
   build works fine with JDK 6.

   A+

   -- Jeanfrancois

   ---------------------------------------------------------------------
   To unsubscribe, e-mail: dev-unsubscribe@grizzly.dev.java.net
   <mailto:dev-unsubscribe@grizzly.dev.java.net>

   For additional commands, e-mail: dev-help@grizzly.dev.java.net
   <mailto:dev-help@grizzly.dev.java.net>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@grizzly.dev.java.net
For additional commands, e-mail: dev-help@grizzly.dev.java.net