Skip to content

fix: Updates on JVM console encoding#4495

Closed
hrishikesh-nalawade wants to merge 1 commit intov3.x.xfrom
hrishikesh-nalawade/GH4419/updated-console-encoding
Closed

fix: Updates on JVM console encoding#4495
hrishikesh-nalawade wants to merge 1 commit intov3.x.xfrom
hrishikesh-nalawade/GH4419/updated-console-encoding

Conversation

@hrishikesh-nalawade
Copy link
Copy Markdown
Member

Description

Further updates on the previous PR. #4482

Linked to #4419

Type of change

  • fix: Bug fix (non-breaking change which fixes an issue)

Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
JAVA_VERSION=$(${JAVA_HOME}/bin/javap -J-Xms4m -J-Xmx16m -verbose java.lang.String \
| grep "major version" \
| cut -d " " -f5)
| awk '{print $NF}')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the background of this change? Can you expand on what scenario breaks with the original code?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the changes introduced in PR #4482 and based on the initial round of testing, those characters were not present. However, last week, one of our teammates noticed the characters appearing at different location in log file while testing some other issue. I revalidated this on my end and confirmed that the characters are indeed present.
To further investigate the root cause, I’ve applied the above changes to examine whether an additional space delimiter might be getting introduced with the Java version. By using $NF, I was just testing out this suspicion.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update:- I tested this new changes as well, but still I can see those heliographic characters.

@EvaJavornicka EvaJavornicka moved this from New to In Progress in API Mediation Layer Backlog Management Mar 4, 2026
@hrishikesh-nalawade
Copy link
Copy Markdown
Member Author

Closing this PR as the working solution for this issue has been given in PR #4504

@hrishikesh-nalawade hrishikesh-nalawade deleted the hrishikesh-nalawade/GH4419/updated-console-encoding branch March 9, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

3 participants