« Return to Thread: Fwd: [petals-commits] [11260] trunk/petals-core/petals-kernel/src/main/java/org/ow2/petals/jbi/ messaging/exchange/NormalizedMessageImpl.java:Revert an regression on a method not compatible with javac 1.5

RE : Re: Re: Fwd: [petals-commits] [11260] trunk/petals-core/petals-kernel/src/main/java/org/ow2/petals/jbi/ messaging/exchange/NormalizedMessageImpl.java:Revert an regression on a method not compatible with javac 1.5

by Deneux, Christophe :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
First, sorry to have commited a Java6 API change. I will correctly fixed in petals-kernel-1.4 and trunk.
 
Second, I think that the Java language version with which source code is written and the JRE used to run PEtALS are two different things. As mention by Charles, the JRE will have reached its end of life, but all software written (not compiled, only writtent) with Java5 are running on Java6.
 
So, I think that the source code must be in Java5, even if the support JVM runing PEtALS is JRE6+. I agree with Roland about components maintenability. It's too early to switch to Java6 source code because of the existing PEtALS in production. You can't force your clients to upgrade to JRE6 because they need a maintenance version of a component.
 
 
_______________________________________________________________________________
Christophe DENEUX / Capgemini Sud / Méditerranée
Integration Architect / OW2 PEtALS Comitter
Tel: + 33 4 93 95 55 92 /
www.capgemini.com
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE
Join the Collaborative Business Experience
_______________________________________________________________________________
Please consider the environment and do not print this email unless 
absolutely necessary. Capgemini encourages environmental awareness.

De : Christophe Hamerling - eBMWS [chamerling.ebmws@...] de la part de Christophe Hamerling - eBM WebSourcing [christophe.hamerling@...]
Date d'envoi : jeudi 11 juin 2009 10:35
À : petals-users@...
Cc : petals-dev@...
Objet : [petals-users] Re: Re: Fwd: [petals-commits] [11260] trunk/petals-core/petals-kernel/src/main/java/org/ow2/petals/jbi/ messaging/exchange/NormalizedMessageImpl.java:Revert an regression on a method not compatible with javac 1.5

Thanks Charles for details

Le 11 juin 09 à 10:23, Charles Casadei a écrit :

> Sure. According to Sun's website : "J2SE 5.0 is in its Java 
> Technology End of Life (EOL) transition period. The EOL transition 
> period began April 8th, 2008 and will complete October 30th, 2009, 
> when J2SE 5.0 will have reached its End of Service Life (EOSL)."
> Source : http://java.sun.com/products/archive/eol.policy.html
> Christophe Hamerling - eBM WebSourcing a écrit :
>> Why not opening a vote to check which java version we should use? 
>> Or do we need to use java 5 for years?
>>
>> Début du message réexpédié :
>>
>>> *De : *roland.naudin@... <roland.naudin@...
>>> >
>>> *Date : *11 juin 2009 09:59:34 HAEC
>>> *À : *petals-commits@... <petals-commits@...>
>>> *Objet : **[petals-commits] [11260] trunk/petals-core/petals-
>>> kernel/src/main/java/org/ow2/petals/jbi/ messaging/exchange/
>>> NormalizedMessageImpl.java:Revert an regression on a method not 
>>> compatible with javac 1.5*
>>>
>>> Revision
>>>    11260
>>>    <http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/petals/?rev=11260&view=rev
>>> >
>>> Author
>>>    rnaudin
>>> Date
>>>    2009-06-11 09:59:34 +0200 (Thu, 11 Jun 2009)
>>>
>>>
>>>      Log Message
>>>
>>> Revert an regression on a method not compatible with javac 1.5
>>>
>>>
>>>      Modified Paths
>>>
>>>    * trunk/petals-core/petals-kernel/src/main/java/org/ow2/petals/
>>> jbi/messaging/exchange/NormalizedMessageImpl.java
>>>      
>>> <
>>> #trunkpetalscorepetalskernelsrcmainjavaorgow2petalsjbimessagingexchangeNormalizedMessageImpljava
>>> >
>>>
>>>
>>>      Diff
>>>
>>>
>>>        Modified:
>>>        trunk/petals-core/petals-kernel/src/main/java/org/ow2/
>>> petals/jbi/messaging/exchange/NormalizedMessageImpl.java
>>>        (11259 => 11260)
>>>
>>>
>>> --- trunk/petals-core/petals-kernel/src/main/java/org/ow2/petals/
>>> jbi/messaging/exchange/NormalizedMessageImpl.java   2009-06-10 
>>> 15:52:34 UTC (rev 11259)
>>> +++ trunk/petals-core/petals-kernel/src/main/java/org/ow2/petals/
>>> jbi/messaging/exchange/NormalizedMessageImpl.java   2009-06-11 
>>> 07:59:34 UTC (rev 11260)
>>> @@ -223,7 +223,7 @@
>>>             
>>> MessageExchangeSerializer.instance().serializeContent(content, s,
>>>                     Boolean.parseBoolean(compression));
>>>         } catch (final Exception e) {
>>> -            throw new IOException(e.getMessage(), e);
>>> +            throw new IOException(e.getMessage());
>>>         }
>>>     }
>>>
>>> --
>>> You receive this message as a subscriber of the petals-commits@...
>>>  <petals-commits@...> mailing list.
>>> To unsubscribe: petals-commits-unsubscribe@...
>>> For general help: sympa@...
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> Christophe Hamerling - eBM WebSourcing
>> christophe.hamerling@... <christophe.hamerling@...
>> >
>> SOA Research Engineer
>>
>> Skype : christophe.hamerling
>>
>
>
> --
> You receive this message as a subscriber of the petals-users@... 
> mailing list.
> To unsubscribe: petals-users-unsubscribe@...
> For general help: sympa@...
> OW2 mailing lists service home page: http://www.ow2.org/wws

Christophe Hamerling - eBM WebSourcing
christophe.hamerling@...
SOA Research Engineer

Skype : christophe.hamerling

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.




--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

 « Return to Thread: Fwd: [petals-commits] [11260] trunk/petals-core/petals-kernel/src/main/java/org/ow2/petals/jbi/ messaging/exchange/NormalizedMessageImpl.java:Revert an regression on a method not compatible with javac 1.5