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

String templates: Escaping the template expression $ char In JDK 17+ results in compiler error #393

Closed
rsmckinney opened this issue Oct 31, 2022 · 1 comment

Comments

@rsmckinney
Copy link
Member

String templates: Escaping the template expression $ char In JDK 17+ results in compiler error.

// escaping $ here fails with jdk 17 or later
String className = "\$MyInnerClass"; 
rsmckinney added a commit that referenced this issue Oct 31, 2022
- provide jdk17 version of ParserFactory to exclude the escape char from string token
@rsmckinney
Copy link
Member Author

Fix available with release 2022.1.22

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

No branches or pull requests

1 participant