You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by "milamberspace (via GitHub)" <gi...@apache.org> on 2024/01/05 08:58:28 UTC

[I] Migrate JMeter to Java 17 for next major release [jmeter]

milamberspace opened a new issue, #6219:
URL: https://github.com/apache/jmeter/issues/6219

   ### Use case
   
   Next major version (6.0) will require Java 17 or superior
   
   To do:
   
   - Migrate the Java 8 source code to Java 17
     - Pattern Matching for instanceof uses (Java 14/16?)
     - Implicit Typing with var (Java 10)
     - Using Switch Expressions / yield Keyword (Java 14)
     - Using Text Blocks (Java 15)
     - Ref. https://reflectoring.io/java-release-notes/
   - Opportunity to use the nex API HTTP Client from Java 11?
   - Check the dependencies for Java 17 (update or removal)
   - Update the scripts (.sh/.bat) to check Java version before start JMeter
   - Update Java argline params
   - Upgrade build process (already done)
   
   
   ### Possible solution
   
   _No response_
   
   ### Possible workarounds
   
   _No response_
   
   ### JMeter Version
   
   6.0
   
   ### Java Version
   
   Java 17+
   
   ### OS Version
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Migrate JMeter to Java 17 for next major release [jmeter]

Posted by Milamber <mi...@apache.org>.
Hi,

I have open this ticket for follow the works to move JMeter codebase to 
Java 17.

Any additions/comments are welcome.

Milamber

On 05/01/2024 09:58, milamberspace (via GitHub) wrote:
> milamberspace opened a new issue, #6219:
> URL: https://github.com/apache/jmeter/issues/6219
>
>     ### Use case
>     
>     Next major version (6.0) will require Java 17 or superior
>     
>     To do:
>     
>     - Migrate the Java 8 source code to Java 17
>       - Pattern Matching for instanceof uses (Java 14/16?)
>       - Implicit Typing with var (Java 10)
>       - Using Switch Expressions / yield Keyword (Java 14)
>       - Using Text Blocks (Java 15)
>       - Ref. https://reflectoring.io/java-release-notes/
>     - Opportunity to use the nex API HTTP Client from Java 11?
>     - Check the dependencies for Java 17 (update or removal)
>     - Update the scripts (.sh/.bat) to check Java version before start JMeter
>     - Update Java argline params
>     - Upgrade build process (already done)
>     
>     
>     ### Possible solution
>     
>     _No response_
>     
>     ### Possible workarounds
>     
>     _No response_
>     
>     ### JMeter Version
>     
>     6.0
>     
>     ### Java Version
>     
>     Java 17+
>     
>     ### OS Version
>     
>     _No response_
>
>