Is there a difference in the way in DataInputStream works in
Java 6 and Java 1.4 ?
I have an application that makes a MQ call to fetch data from mainframe. While trying to port this application from WebSphere 6 (JDK 1.4) to WebSphere 7 (Java 6), what i observe is that the MQ call goes through fine, the message is received from mainframe. However, when the message is being parsed the runtime in WebSphere 7 raises an "ArrayIndexOutOfBoundsException". The flow is like
J2EE application (WebSphere 6) -> WebSphere MQ 5 -> Mainframe (IMS) - this flow works fine
J2EE application (WebSphere 7) -> WebSphere MQ 5 -> Mainframe (IMS) - this flow
does not work and raises an exception.
There were no changes made to the application apart from having migrated to the new runtime - Java 6.