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

Fix ClassCastException in regular expression transpiler #5506

Merged
merged 4 commits into from
May 18, 2022

Conversation

andygrove
Copy link
Contributor

Closes #5492

When transpiling a character class, the code assumed that each character would be transpiled to a valid character class component but in some cases, it could get transpiled to another character class and we cannot support that case. This PR makes us fall back to CPU instead of failing with a ClassCastException.

Signed-off-by: Andy Grove <andygrove@nvidia.com>
…ter class

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove andygrove added the bug Something isn't working label May 16, 2022
@andygrove andygrove added this to the May 2 - May 20 milestone May 16, 2022
@andygrove andygrove self-assigned this May 16, 2022
revans2
revans2 previously approved these changes May 16, 2022
@andygrove
Copy link
Contributor Author

build

@andygrove
Copy link
Contributor Author

build

@andygrove
Copy link
Contributor Author

@revans2 I dismissed your review before. Could you take another look?

@andygrove andygrove merged commit c0fe6e4 into NVIDIA:branch-22.06 May 18, 2022
@andygrove andygrove deleted the issue-5492 branch May 17, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants