Skip to content

Comments

Avoid Java 17 unfriendly log synchronization#118

Closed
fixedgigha wants to merge 1 commit intoCyberSource:masterfrom
fixedgigha:fixedgigha-patch-1
Closed

Avoid Java 17 unfriendly log synchronization#118
fixedgigha wants to merge 1 commit intoCyberSource:masterfrom
fixedgigha:fixedgigha-patch-1

Conversation

@fixedgigha
Copy link

The GSON serialization in logger.debug("Network Response :\n" + json.serialize(response.headers())); fails under Java 17 runtime, due to reflection access controls on the core JDK classes

The GSON serialization in logger.debug("Network Response :\n" + json.serialize(response.headers())); fails under Java 17 runtime, due to reflection access controls on the core JDK classes
@gnongsie
Copy link
Contributor

gnongsie commented Dec 1, 2025

There is no evidence of this happening on Java 17 runtime, as we are using our own TypeAdapters. Please reopen a new issue if the issue persists, but kindly provide some evidence of the issue happening.

@gnongsie gnongsie closed this Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants