Skip to content

Conversation

@katzyn
Copy link
Contributor

@katzyn katzyn commented Dec 5, 2022

Closes #3687.

I don't think that race in the current implementation is really possible with OpenJDK-based JVMs, this method is not expected to be compiled. But delayed initialization is meaningless anyway, because initTokens() always called immediately after initialization of FormatTokenEnum class.

@katzyn katzyn merged commit 96a5184 into h2database:master Dec 5, 2022
@katzyn katzyn deleted the to_date branch December 5, 2022 13:27
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.

Possible Race Condition in ToDateTokenizer.initCache()/.initTokens()

1 participant