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

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

    XMLWordPrintable

Details

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

    Description

      Write in jshell

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

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: