wso2 / financial-open-banking

WSO2 Open Banking Accelerator is a collection of technologies that increases the speed and reduces the complexity of adopting open banking compliance. Instead of building a solution from scratch, you can use WSO2 Open Banking Accelerator to meet all legislative requirements with additional benefits beyond compliance.
Apache License 2.0
7 stars 21 forks source link

Accelerator build fails when building with Java 17 #17

Open Akila94 opened 9 months ago

Akila94 commented 9 months ago

Description:

When building accelerator packs with Java 17, the following errors occur in build time.

  1. Compilation error in AuthenticationDataPublisherServiceImpl.java.
Screenshot 2023-01-31 at 4 04 05 PM
  1. Java 17 specific error occurs when building the repository with tests. This is due to the reflection restrictions introduced in Java 17. We are using Java reflection in one of the test util classes.
Screenshot 2023-02-23 at 9 57 46 AM

Suggested Labels: Java 17, OB3, Accelerators

Suggested Assignees:

Affected Product Version: OB3

OS, DB, other environment details and versions:

Steps to reproduce: Switch to Java 17 and build the accelerator repository.

Related Issues: https://github.com/wso2-enterprise/financial-open-banking/issues/7995