wuwangben opened a new issue, #2772: URL: https://github.com/apache/fory/issues/2772
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/fory/issues) and found no similar issues. ### Version 0.12.2 ### Component(s) Java ### Minimal reproduce step 当读取一个已经是EOF的流时返回非期望异常 ### What did you expect to see? 期望看到一致的异常new IndexOutOfBoundsException("No enough data in the stream " + stream); 更合理似乎应该是EOFException("No enough data in the stream " + stream); ### What did you see instead? java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1 ### Anything Else? <img width="1871" height="823" alt="Image" src="https://github.com/user-attachments/assets/0ccbc91d-caeb-49ca-a65c-003204e3f2d5" /> <img width="1787" height="538" alt="Image" src="https://github.com/user-attachments/assets/4e52117c-87c5-477a-9783-9d321744bd0b" /> 可以这样修改吗? ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
