wso2 / micro-integrator

The cloud-native configuration driven runtime that helps developers implement composite microservices.
https://wso2.com/integration/
Apache License 2.0
203 stars 219 forks source link

[Task]: Test JDK 21 Support for MI 4.3.0 #3684

Open AmilaSamith opened 2 hours ago

AmilaSamith commented 2 hours ago

Description

We should test MI 4.3.0 runtime with JDK 21.

Describe your task(s)

  1. Run existing integration tests for more advanced use cases (e.g., connectors, database integrations, messaging systems) on JDK 21.
  2. Validate that key features such as mediators, connectors, and HTTP endpoints function properly without issues on JDK 21.
  3. Update any necessary configuration or documentation to reflect JDK 21 support in MI.
AmilaSamith commented 2 hours ago

Following ERROR occurred when running MI with JDK 21.

Screenshot 2024-10-15 at 10 11 14

The ERROR got resolved after modifying startup script[1]. Also MI server started without any other errors with JDK 21.

[1] PR : https://github.com/wso2/micro-integrator/pull/3685