8076387: Better CORBA value handling
Reviewed-by: rriggs, coffeys, skoivu, ahgross
This commit is contained in:
parent
6837e39407
commit
57aed0d5de
@ -1068,6 +1068,9 @@ public class IIOPInputStream
|
|||||||
|
|
||||||
int spBase = spClass; // current top of stack
|
int spBase = spClass; // current top of stack
|
||||||
|
|
||||||
|
if (currentClass.getName().equals("java.lang.String")) {
|
||||||
|
return this.readUTF();
|
||||||
|
}
|
||||||
/* The object's classes should be processed from supertype to subtype
|
/* The object's classes should be processed from supertype to subtype
|
||||||
* Push all the clases of the current object onto a stack.
|
* Push all the clases of the current object onto a stack.
|
||||||
* Note that only the serializable classes are represented
|
* Note that only the serializable classes are represented
|
||||||
|
@ -559,6 +559,10 @@ public class IIOPOutputStream
|
|||||||
* Push all the clases of the current object onto a stack.
|
* Push all the clases of the current object onto a stack.
|
||||||
* Remember the stack pointer where this set of classes is being pushed.
|
* Remember the stack pointer where this set of classes is being pushed.
|
||||||
*/
|
*/
|
||||||
|
if (currentClassDesc.forClass().getName().equals("java.lang.String")) {
|
||||||
|
this.writeUTF((String)obj);
|
||||||
|
return;
|
||||||
|
}
|
||||||
int stackMark = classDescStack.size();
|
int stackMark = classDescStack.size();
|
||||||
try {
|
try {
|
||||||
ObjectStreamClass next;
|
ObjectStreamClass next;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user