When an input stream is marked, the underlying byteBuffer is duplicated using the java.nio.ByteBuffer.duplicate() function which does not replicate the buffer byte order.
|
byteBuffer_ = byteBuffer.duplicate(); |
This breaks the processing of little endian user exception replies which peeks at the exception id and resets the input stream with the wrong byte order.
|
String exceptionRepoId = peekUserExceptionId(inputObject); |
When an input stream is marked, the underlying
byteBufferis duplicated using thejava.nio.ByteBuffer.duplicate()function which does not replicate the buffer byte order.orb/orbmain/src/main/java/com/sun/corba/ee/impl/encoding/CDRInputStream_1_0.java
Line 1922 in 8626fd5
This breaks the processing of little endian user exception replies which peeks at the exception id and resets the input stream with the wrong byte order.
orb/orbmain/src/main/java/com/sun/corba/ee/impl/protocol/ClientRequestDispatcherImpl.java
Line 549 in 8626fd5