[
https://issues.apache.org/jira/browse/KAFKA-8127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
JieFang.He updated KAFKA-8127:
------------------------------
Description:
I get an error when compile kafka,which disappear when import scala.io
{code:java}
core\src\main\scala\kafka\tools\StateChangeLogMerger.scala:140: object Source
is not a member of package io
val lineIterators = files.map(io.Source.fromFile(_).getLines)
^
6 warnings found
one error found
:core:compileScala FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':core:compileScala'.
> Compilation failed
{code}
was:
I get an error when compile kafka,which disappear when import scala.io
{code:java}
D:\gerrit\Kafka\core\src\main\scala\kafka\tools\StateChangeLogMerger.scala:140:
object Source is not a member of package io
val lineIterators = files.map(io.Source.fromFile(_).getLines)
^
6 warnings found
one error found
:core:compileScala FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':core:compileScala'.
> Compilation failed
{code}
> It may need to import scala.io
> ------------------------------
>
> Key: KAFKA-8127
> URL: https://issues.apache.org/jira/browse/KAFKA-8127
> Project: Kafka
> Issue Type: Improvement
> Reporter: JieFang.He
> Priority: Major
>
> I get an error when compile kafka,which disappear when import scala.io
>
> {code:java}
> core\src\main\scala\kafka\tools\StateChangeLogMerger.scala:140: object Source
> is not a member of package io
> val lineIterators = files.map(io.Source.fromFile(_).getLines)
> ^
> 6 warnings found
> one error found
> :core:compileScala FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':core:compileScala'.
> > Compilation failed
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)