No one likes to answer this question?
bit1...@163.com 发件人: bit1...@163.com 发送时间: 2014-11-13 16:16 收件人: dev; user 主题: Bug 413368 �C Type Cannot switch on a value of type ... Only convertible int values, strings or enum variables are permitted I download the zookeeper codebase and setup the eclipse project with Ant, but I got the following compiling error: Description Resource Path Location Type Cannot switch on a value of type AuthFastLeaderElection.ToSend.mType. Only convertible int values, strings or enum variables are permitted AuthFastLeaderElection.java /ZooKeeper/src/java/main/org/apache/zookeeper/server/quorum line 116 Java Problem I see that this is a long existing eclipse bug(https://bugs.eclipse.org/bugs/show_bug.cgi?id=413368), but there is no definite workaround there. I just wonder to know how you guys workaround this problem when developing zookeeper, thanks. bit1...@163.com