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

Fixed runtime conversion of 2d Arrays #12

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

leeN
Copy link
Collaborator

@leeN leeN commented Feb 22, 2024

The code in the test case is lifted from the following call: org.apache.logging.log4j.core.util.datetime.FastDateParser$TimeZoneStrategy.<init>

This failed before because Fontus did not detect String[][] as something it could convert. This adds the required logic to the ConversionUtils.

This adds an additional branch in the hot path, so it might have a performance impact. The comment above the isHandleable() method rings very true indeed.

The code in the test case is lifted from the following call:
`org.apache.logging.log4j.core.util.datetime.FastDateParser$TimeZoneStrategy.<init>`

This did fail before, because Fontus did not detect String[][] as
something it can convert. This adds the required logic to the
ConversionUtils.

This adds an additional branch in the hot path, so might have
performance impact..
@tmbrbr tmbrbr merged commit 3b7ae4f into SAP:main Feb 23, 2024
3 of 4 checks passed
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.

2 participants