Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 21 Support #1440

Merged
merged 24 commits into from
Jun 4, 2024
Merged

Java 21 Support #1440

merged 24 commits into from
Jun 4, 2024

Conversation

eshryane
Copy link
Member

@eshryane eshryane commented Apr 11, 2024

Migrate Whois to Java 21 LTS version.

Tested @Aspect / @RetryFor annotation is still working (set port.api=80 and Jetty will fail to start).

.gitlab-ci.yml Outdated Show resolved Hide resolved
pom.xml Show resolved Hide resolved
[INFO] Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.
"If you are using JDK >17 and up-to-date libraries like Spring 6, use version 5.1.0 (Release Notes)" according to https://github.com/lukas-krecan/ShedLock
…s/spring-framework#32882 (comment)

"These problems come from mixed AspectJ weaving and proxying. In your scenario, you seem to be using @EnableTransactionManagement in AspectJ mode but @EnableCaching in proxy mode. For the time being, you could try to switch @EnableCaching and any other aspect-related functionality to AspectJ mode as well and remove any variant of@EnableAspectJAutoProxy completely, if that is feasible for your application."
@eshryane
Copy link
Member Author

Integration tests passed

@eshryane eshryane marked this pull request as draft May 31, 2024 14:25
@eshryane
Copy link
Member Author

Converting to DRAFT so we don't forget to update the CI build image

@eshryane eshryane marked this pull request as ready for review June 3, 2024 09:09
@eshryane
Copy link
Member Author

eshryane commented Jun 4, 2024

Integration tests passed (although I had to retry whois-api a few times)

@eshryane eshryane merged commit d114d80 into master Jun 4, 2024
1 check passed
@eshryane eshryane deleted the java_21 branch June 4, 2024 10:51
@eshryane eshryane mentioned this pull request Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants