You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Joe Stein (JIRA)" <ji...@apache.org> on 2015/03/12 05:05:38 UTC
[jira] [Updated] (KAFKA-1959) Class CommitThread overwrite group of
Thread class causing compile errors
[ https://issues.apache.org/jira/browse/KAFKA-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Stein updated KAFKA-1959:
-----------------------------
Fix Version/s: 0.8.3
> Class CommitThread overwrite group of Thread class causing compile errors
> -------------------------------------------------------------------------
>
> Key: KAFKA-1959
> URL: https://issues.apache.org/jira/browse/KAFKA-1959
> Project: Kafka
> Issue Type: Bug
> Components: core
> Environment: scala 2.10.4
> Reporter: Tong Li
> Assignee: Tong Li
> Labels: newbie
> Fix For: 0.8.3
>
> Attachments: KAFKA-1959.patch, compileError.png
>
>
> class CommitThread(id: Int, partitionCount: Int, commitIntervalMs: Long, zkClient: ZkClient)
> extends ShutdownableThread("commit-thread")
> with KafkaMetricsGroup {
> private val group = "group-" + id
> group overwrite class Thread group member, causing the following compile error:
> overriding variable group in class Thread of type ThreadGroup; value group has weaker access privileges; it should not be private
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)