« 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: RE : Re: [petals-dev] 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

by Patrice Conil - EBM WebSourcing :: Rate this Message:

Reply to Author | View in Thread

Of course we need to move on Java 6 ... for everybody the question is when ?
I agree with Roland on the timeframe : we can't do that now.
We've first to release the PEtALS 3.0 Platform and to complete robustness and no-regression test campaign.
I think it would be the next interesting challenge.
I'm happy to see that many people are interested by such a challenge and I hope they will participate in its operational implementation.

Patrice
-----Message d'origine-----
De : Charles Casadei [mailto:charles.casadei@...]
Envoyé : jeudi 11 juin 2009 12:26
À : petals-users@...
Cc : petals-dev@...
Objet : [petals-users] Re: Re: RE : Re: [petals-dev] 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 jav

Roland Naudin - EBM WebSourcing a écrit :
> I think we need to stabilize what we have now, and then move the next
> step and change to java 1.6 code style.
>  
Right, but there isn't that much difference...Java6 was mostly about JVM & API optimizations and refinements.
> Moving to 1.6 doesn't means only to change the compiler, it means to
> use the 1.6 features! Generic typing, threading and so on...(don't
> know much the feature of 1.6!)
>  
Agree, but generics have been introduced with Java5 and the Java Languge Specification 3.0 ( http://java.sun.com/docs/books/jls/ ) ;-)
> What we try to do actually is, i repeat, stabilize our pool of
> components, CDk and containers features. We must focus on that.
>  
Agree.
> About JVM optimization, we can first working on code optimization,
> then environment optimization would come naturally.
>  
Agree.

> Le jeudi 11 juin 2009 à 11:44 +0200, Deneux, Christophe a écrit :
>  
>> Right, but does not need to change the version of the Java language
>> used to write source code. It's only a configuration of the JVM (JRE
>> or JDK, v5, v6 or v7) running PEtALS.
>>  
>> The first purpose was to vote about the version of the Java language
>> version to use to write source code, and not to vote about the JVM
>> (JDK or JRE + version) supported by PEtALS.
>>  
>> So we can keep the Java language v5 to write source code.
>> _____________________________________________________________________
>> __________ 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 : Charles Casadei [charles.casadei@...]
>> Date d'envoi : jeudi 11 juin 2009 11:11 À : petals-dev@... Cc :
>> petals-users@... Objet : [petals-users] Re: [petals-dev] 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
>>
>>
>>
>> We all knew that JRE and JDK are two different beast. But some
>> changes in the JRE6 may have a significant impact on PEtALS. For
>> instance how PEtALS would cope with the new (and still experimental)
>> G1 "Garbage First" Collector.
>>
>> http://blog.xebia.fr/2008/03/12/gc-generationnels-traditionnels-jdk6-
>> vs-gc-garbage-first-jdk7/
>> (sorry it's in french)
>>
>>
>> Deneux, Christophe a écrit :
>>    
>>> 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 / <http://www.capgemini.com/>
>>> www.capgemini.com
>>>      
>> <x-owacid://18600000/uri:http://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@...
>>>>>>            
>>> <mailto:roland.naudin@...
>>>      
>>>>>> *Date : *11 juin 2009 09:59:34 HAEC *À : *petals-commits@...
>>>>>> <mailto: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
>>    
>> <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
>>>>>>      
>>>>>> <
>>>>>>
>>>>>>            
>> #trunkpetalscorepetalskernelsrcmainjavaorgow2petalsjbimessagingexchan
>> geNormalizedMessageImpljava
>>    
>>>>>>      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@...
>>>      
>>>>>>  <mailto:petals-commits@...> mailing list.
>>>>>> To unsubscribe: mailto:petals-commits-unsubscribe@...
>>>>>> For general help: mailto:sympa@...?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>            
>>>>> Christophe Hamerling - eBM WebSourcing
>>>>> christophe.hamerling@...
>>>>>          
>>> <mailto:christophe.hamerling@...
>>>      
>>>>> SOA Research Engineer
>>>>>
>>>>> Skype : christophe.hamerling
>>>>>
>>>>>          
>>>> --
>>>> 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
>>>>        
>>> 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.
>>>
>>>      
>> 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.
>>
>> pièce jointe document texte brut (message-footer.txt)
>> --
>> 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
>>    



--
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