Sebastien Alborini wrote:
SA> Rickard �berg wrote:
>>
>> Hi!
>>
>> marc fleury wrote:
>> > Man this little thing is fun...
>> >
>> > no rickard that is wrong... remember the number of people that run 1.2.0 and
>> > screw up?
>>
>> Ah, true. Well, what about !javaVersion.startsWith("1.2") then?
SA> How about Oleg's javaVersion.compareTo("1.3")>=0 ?
It would cause problems with JDK 1.10 :-)
!javaVersion.startsWith("1.2") is somewhat better - it would cause
problems only with JDK 1.20 :-)
And here is the best solution: !javaVersion.startsWith("1.2.")
Best regards,
Oleg
- [jBoss-Dev] CVS update: jboss/src/main/org/jboss/met... jBoss CVS Development
- RE: [jBoss-Dev] CVS update:jboss/src/main/org/j... marc fleury
- Re[2]: [jBoss-Dev] CVS update:jboss/src/mai... Oleg Nitz
- RE: Re[2]: [jBoss-Dev] CVSupdate:jboss/... marc fleury
- Re: [jBoss-Dev] CVS update:jboss/src/main/o... Rickard �berg
- RE: [jBoss-Dev] CVSupdate:jboss/src/mai... marc fleury
- Re: [jBoss-Dev]CVSupdate:jboss/src/... Rickard �berg
- [jBoss-Dev] Re:[jBoss-Dev]CVSu... Sebastien Alborini
- RE: [jBoss-Dev]Re:[jBoss-D... marc fleury
- RE: [jBoss-Dev]Re:[jBoss-D... Oleg Nitz
- RE: [jBoss-Dev]Re:[jBo... marc fleury
- Re[2]: [jBoss-Dev]Re:[... Oleg Nitz
- [jBoss-Dev] RE:[jBoss-Dev]CVSu... marc fleury
- Re: [jBoss-Dev] RE:[jBoss-... Oleg Nitz
- Re: [jBoss-Dev] RE:[jBoss-... Rickard �berg
- [jBoss-Dev] CVS update: jboss/src/main/org/jbos... jBoss CVS Development
- [jBoss-Dev] CVS update: jboss/src/main/org/jbos... jBoss CVS Development
- RE: [jBoss-Dev] CVS update:jboss/src/main/o... marc fleury
- [jBoss-Dev] CVS update: jboss/src/main/org/jbos... jBoss CVS Development
- [jBoss-Dev] CVS update: jboss/src/main/org/jbos... jBoss CVS Development
