Skip to content

Conversation

vladak
Copy link
Member

@vladak vladak commented Apr 15, 2025

The bytecode target is still Java 11 to support older deployments.

I had to solve multiple issues:

  • bump Mockito so that it uses newer Byte buddy library which supports Java 21
  • address non-serializable members by either switching them to transient or using Serializable type
  • avoid this leaks from constructors or suppress the warning
  • udpate Chronicle Map so that it does not attempt to get method not present in Java 21

Tested the newly built Docker image with pre-existing data root. Also tested with JRE 11 on Solaris x86 with pre-existing data-root and semi-complex setup (authorization, suggester, annotation cache).

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 15, 2025
@vladak vladak requested a review from ginoaugustine April 15, 2025 10:55
vladak added 3 commits April 17, 2025 10:20
mostly for building, with the exception of Tomcat in Docker

fixes oracle#4459
@vladak vladak merged commit e84d396 into oracle:master Apr 17, 2025
10 checks passed
@vladak vladak deleted the java_21 branch April 17, 2025 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants