Skip to content

Commit

Permalink
fix debug code error
Browse files Browse the repository at this point in the history
  • Loading branch information
alwin-joseph committed Sep 23, 2023
1 parent 5dfbb18 commit 606b460
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -882,13 +882,15 @@ else if (args[i].equals("-p")) {
PrintUtil.logMsg("callbackImpl object is: "+callbackImpl);
PrintUtil.logMsg("callbackImpl objectstring is: "+callbackImpl.toString());

javax.rmi.CORBA.Stub callbackStub;
try{
javax.rmi.CORBA.Stub callbackStub = (javax.rmi.CORBA.Stub) PortableRemoteObject
callbackStub = (javax.rmi.CORBA.Stub) PortableRemoteObject
.toStub(callbackImpl);
} catch (Exception e) {
PrintUtil.logErr("CallBackImpl exception: " + e.getMessage());
PrintUtil.printStackTrace(e);
}

if (verbose)
PrintUtil.logMsg("Get Stub for RMIIIOPServer object....");
PortableRemoteObject.exportObject((Remote)rmiiiopServer);
Expand Down

0 comments on commit 606b460

Please sign in to comment.