-
Notifications
You must be signed in to change notification settings - Fork 861
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
多线程环境下添加EventProcessor报错 #309
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
当多线程环境下添加EventProcessor时,会报数组越界异常
Expected behavior
当多线程环境下调用com.alipay.remoting.rpc.RpcClient#addConnectionEventProcessor 应该正常添加
Actual behavior
当多线程环境下调用com.alipay.remoting.rpc.RpcClient#addConnectionEventProcessor 报数组越界异常
Steps to reproduce
Minimal yet complete reproducer code (or GitHub URL to code)
com.alipay.remoting.ConnectionEventListener#addConnectionEventProcessor
ArrayList不是线程安全的
Environment
java -version
):1.8uname -a
):windowsThe text was updated successfully, but these errors were encountered: