PROTON-2037: Ensure array offset is moved forward correctly

* Add test case exposing the sequence of events causing an ArrayIndexOutOfBoundsException
* Fix offset movement for getLong and getInt methods
* Add checking of offset to get(int index)
2 files changed
tree: 02eb0a76aac6ec34d4399cb329690d44671591d1
  1. .gitattributes
  2. .gitignore
  3. .mailmap
  4. .travis.yml
  8. apache-qpid-proton-j/
  9. appveyor.yml
  10. examples/
  11. pom.xml
  12. proton-j/
  13. tests/

Apache Qpid Proton-J

Linux Build Status Windows Build Status

Qpid Proton-J is a high-performance, lightweight messaging library. It can be used in the widest range of messaging applications, including brokers, client libraries, routers, bridges, proxies, and more.

Please see for more information.