Write in jshell
jshell> `/**hello*/`
$23 ==> " "
jshell> `//hello`
| Error:
| unclosed string literal
| `//hello`
| ^
| Error:
| reached end of file while parsing
| `//hello`
| ^
jshell> `/**hello*/`
$23 ==> " "
jshell> `//hello`
| Error:
| unclosed string literal
| `//hello`
| ^
| Error:
| reached end of file while parsing
| `//hello`
| ^
- duplicates
-
JDK-8210596 jshell does not support raw string literals
-
- Resolved
-
- is blocked by
-
JDK-8196004 JEP 326: Raw String Literals (Preview)
-
- Closed
-