[ 
https://issues.apache.org/jira/browse/KAFKA-8127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16795825#comment-16795825
 ] 

ASF GitHub Bot commented on KAFKA-8127:
---------------------------------------

hejiefang commented on pull request #6470: KAFKA-8127 It may need to import 
scala.io
URL: https://github.com/apache/kafka/pull/6470
 
 
   
[https://issues.apache.org/jira/browse/KAFKA-8127?orderby=created+DESC%2C+priority+DESC%2C+updated+DESC](url)
   
   It may get error when compile kafka if no scala.io imported
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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}
> 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