New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IllegalAccessError with a Scala-based ChannelInitializer #781
Comments
This shows the problem... git://github.com/normanmaurer/netty-scala-problem.git |
@trustin I asked Viktor for help.. let us see what he can find out.. |
@trustin works with 2.10.0-RC3 so seems like it was fixes in scala recently :) |
@zcourts Upgrade scala and it works :) |
@normanmaurer Yeah I tested with 2.10x and it works, staying with Scala 2.9.2 until 2.10 is released though so the work around for now is just create the ChannelInitializer in Java For ref. related Scala bug https://issues.scala-lang.org/browse/SI-1430 |
The Netty network module was originally written when Scala 2.9.x had a bug that prevents a pure Scala implementation, and a subset of the files were done in Java. We have since upgraded to Scala 2.10, and can migrate all Java files now to Scala. netty/netty#781 mesos/spark#522 Author: Reynold Xin <rxin@apache.org> Closes #1865 from rxin/netty and squashes the following commits: 332422f [Reynold Xin] Code review feedback ca9eeee [Reynold Xin] Minor update. 7f1434b [Reynold Xin] [SPARK-2936] Migrate Netty network module from Java to Scala
The Netty network module was originally written when Scala 2.9.x had a bug that prevents a pure Scala implementation, and a subset of the files were done in Java. We have since upgraded to Scala 2.10, and can migrate all Java files now to Scala. netty/netty#781 mesos/spark#522 Author: Reynold Xin <rxin@apache.org> Closes #1865 from rxin/netty and squashes the following commits: 332422f [Reynold Xin] Code review feedback ca9eeee [Reynold Xin] Minor update. 7f1434b [Reynold Xin] [SPARK-2936] Migrate Netty network module from Java to Scala (cherry picked from commit ba28a8f) Signed-off-by: Reynold Xin <rxin@apache.org>
The Netty network module was originally written when Scala 2.9.x had a bug that prevents a pure Scala implementation, and a subset of the files were done in Java. We have since upgraded to Scala 2.10, and can migrate all Java files now to Scala. netty/netty#781 mesos/spark#522 Author: Reynold Xin <rxin@apache.org> Closes apache#1865 from rxin/netty and squashes the following commits: 332422f [Reynold Xin] Code review feedback ca9eeee [Reynold Xin] Minor update. 7f1434b [Reynold Xin] [SPARK-2936] Migrate Netty network module from Java to Scala
Perhaps a bug in Scala compiler, but we need to see if there's a workaround that can be done from our side until it is fixed.
The text was updated successfully, but these errors were encountered: