JieFang.He created KAFKA-8127:
---------------------------------

             Summary: It may need to import scala.io
                 Key: KAFKA-8127
                 URL: https://issues.apache.org/jira/browse/KAFKA-8127
             Project: Kafka
          Issue Type: Bug
            Reporter: JieFang.He


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}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to