{"action":"opened","issue":{"url":"https://api.github.com/repos/lampepfl/dotty/issues/5463","repository_url":"https://api.github.com/repos/lampepfl/dotty","labels_url":"https://api.github.com/repos/lampepfl/dotty/issues/5463/labels{/name}","comments_url":"https://api.github.com/repos/lampepfl/dotty/issues/5463/comments","events_url":"https://api.github.com/repos/lampepfl/dotty/issues/5463/events","html_url":"https://github.com/lampepfl/dotty/issues/5463","id":382135346,"node_id":"MDU6SXNzdWUzODIxMzUzNDY=","number":5463,"title":"Compilation with JDK 11 failed due to changes in the Java String API","user":{"login":"Glavo","id":20694662,"node_id":"MDQ6VXNlcjIwNjk0NjYy","avatar_url":"https://avatars2.githubusercontent.com/u/20694662?v=4","gravatar_id":"","url":"https://api.github.com/users/Glavo","html_url":"https://github.com/Glavo","followers_url":"https://api.github.com/users/Glavo/followers","following_url":"https://api.github.com/users/Glavo/following{/other_user}","gists_url":"https://api.github.com/users/Glavo/gists{/gist_id}","starred_url":"https://api.github.com/users/Glavo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glavo/subscriptions","organizations_url":"https://api.github.com/users/Glavo/orgs","repos_url":"https://api.github.com/users/Glavo/repos","events_url":"https://api.github.com/users/Glavo/events{/privacy}","received_events_url":"https://api.github.com/users/Glavo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-19T09:55:07Z","updated_at":"2018-11-19T09:55:07Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The [String#lines](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html#lines()) method has been added to the Java 11 String, this change causes Dotty to fail to compile:\r\n```\r\n[error] /home/glavo/Dotty/dotty/compiler/src/dotty/tools/dotc/util/ParsedComment.scala:151:44: value mkString is not a member of java.util.stream.Stream[String]\r\n[error]     val formattedItems = items.map(_.lines.mkString(System.lineSeparator + \"   \"))\r\n[error]                                            ^\r\n[error] one error found\r\n[error] (dotty-compiler / Compile / compileIncremental) Compilation failed\r\n[error] Total time: 29 s, completed 2018年11月19日 下午5:35:12\r\n```"}}
{"actor":{"display_login":"Glavo"}}