You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IllegalAccessError with a Scala-based ChannelInitializer #781
java.lang.IllegalAccessError: tried to access class
io.netty.channel.ChannelPropertyAccess"... from a ChannelInitializer
when SocketChannel.pipeline() is called.
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.
@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
Activity
normanmaurer commentedon Nov 30, 2012
This shows the problem...
git://github.com/normanmaurer/netty-scala-problem.git
normanmaurer commentedon Nov 30, 2012
@trustin I asked Viktor for help.. let us see what he can find out..
normanmaurer commentedon Nov 30, 2012
@trustin works with 2.10.0-RC3 so seems like it was fixes in scala recently :)
normanmaurer commentedon Nov 30, 2012
@zcourts Upgrade scala and it works :)
zcourts commentedon Dec 1, 2012
@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
[SPARK-2936] Migrate Netty network module from Java to Scala
[SPARK-2936] Migrate Netty network module from Java to Scala
[SPARK-2936] Migrate Netty network module from Java to Scala
Update to quiche 0.23.4 (netty#781)