jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: Java 9 and JMeter
Date Sun, 17 Sep 2017 16:00:45 GMT
Hi Felix

On Sunday, September 17, 2017, Felix Schumacher <
felix.schumacher@internetallee.de> wrote:

> Am 17.09.2017 um 11:16 schrieb Philippe Mouawad:
>
>> Hi,
>> it's ok for me.
>> I would suggest to write explicitely users should not use Java9 until next
>> release, mentioning a dedicated bugzilla for this work
>>
> We have a short pararagraph on java 9 in the changes page. If you want,
> you can make it more explicit, that one has to do a bit more, that just
> type jmeter into the command prompt.

done

>
> But I hope, that our next release is before the java 9 release :)


AFAIU , jdk9 is to be released in 4 days no ? So unless Milamber starts RC1
today, we'll be releasing after it :)

>
>


> Felix
>
> Regards
>>
>> On Sunday, September 17, 2017, Felix Schumacher <
>> felix.schumacher@internetallee.de> wrote:
>>
>> Am 16.09.2017 um 18:47 schrieb Philippe Mouawad:
>>>
>>> Hello,
>>>>
>>>> *Java 9 Compilation:*
>>>> I was able to compile with Java 9 after some changes:
>>>>
>>>>      - removal of children() override in JMeterTreeNode as per Felix
>>>> proposal
>>>>      - Fixing Code impacts of the previous changes
>>>>
>>>> This change will probably break existing plugins using this method.
>>>> Should
>>>> we do it for 3.3 ?
>>>>
>>>> I would wait and make java 9 compilation work after 3.3.
>>>
>>> I think we should strive to keep the code stable in times when we want to
>>> do a release, it should make the life easier for the RM.
>>>
>>> Java 9 Running:
>>>
>>>>      - Running tests of a Java 8 compiled JMeter with Java 9 failed with
>>>>      NoClassDefFoundError accessing javax.activation.DataSource
>>>>      - Adding this option made it work:
>>>>         - --add-modules java.activation
>>>>
>>>>
>>>> I pushed :
>>>>
>>>>      - https://github.com/apache/jmeter/pull/308
>>>>
>>>> I think even if we release as is 3.3, users will face issues with Java
>>>> 9,
>>>> mainly fixable through addition of :
>>>>
>>>>      - --add-modules
>>>>
>>>> But maybe we should check samplers like :
>>>>
>>>> - jms
>>>>
>>>> - ldap
>>>>
>>>> ..
>>>>
>>>> Another thing I noticed, was that you can't use jmeter.sh to start
>>> jmeter,
>>> when using java 9, as the version string changed from "1.x" to "x".
>>>
>>> Felix
>>>
>>>
>>>
>>>
>

-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message