private CodeBase getCodeBase(ORBInstance orb) {
if (codebase == null || getorb(codebase) != orb.getORB()) {
byte[] coct = ctx.context_data;
Buffer buf = new Buffer(coct, coct.length);
InputStream in = new InputStream(buf);
in._OB_ORBInstance(orb);
in._OB_readEndian();
org.omg.CORBA.Object obj = in.read_Object();
try {