Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8201461

JShell: Raw string literals doesn't work with java comments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 12
    • 12
    • tools

      Write in jshell

      jshell> `/**hello*/`
      $23 ==> " "

      jshell> `//hello`
      | Error:
      | unclosed string literal
      | `//hello`
      | ^
      | Error:
      | reached end of file while parsing
      | `//hello`
      | ^

            rfield Robert Field (Inactive)
            anazarov Andrey Nazarov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: