--- a/corba/src/share/classes/com/sun/corba/se/impl/interceptors/PIHandlerImpl.java Wed Jul 05 18:14:56 2017 +0200
+++ b/corba/src/share/classes/com/sun/corba/se/impl/interceptors/PIHandlerImpl.java Wed Jun 27 21:09:29 2012 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -58,7 +58,7 @@
import org.omg.PortableInterceptor.TRANSPORT_RETRY;
import org.omg.PortableInterceptor.USER_EXCEPTION;
import org.omg.PortableInterceptor.PolicyFactory;
-import org.omg.PortableInterceptor.ObjectReferenceTemplate ;
+import org.omg.PortableInterceptor.ObjectReferenceTemplate;
import com.sun.corba.se.pept.encoding.OutputObject;
@@ -112,10 +112,10 @@
}
}
- private ORB orb ;
- InterceptorsSystemException wrapper ;
- ORBUtilSystemException orbutilWrapper ;
- OMGSystemException omgWrapper ;
+ private ORB orb;
+ InterceptorsSystemException wrapper;
+ ORBUtilSystemException orbutilWrapper;
+ OMGSystemException omgWrapper;
// A unique id used in ServerRequestInfo.
// This does not correspond to the GIOP request id.
@@ -178,6 +178,21 @@
}
};
+ public void close() {
+ orb = null;
+ wrapper = null;
+ orbutilWrapper = null;
+ omgWrapper = null;
+ codecFactory = null;
+ arguments = null;
+ interceptorList = null;
+ interceptorInvoker = null;
+ current = null;
+ policyFactoryTable = null;
+ threadLocalClientRequestInfoStack = null;
+ threadLocalServerRequestInfoStack = null;
+ }
+
// Class to contain all ThreadLocal data for ClientRequestInfo
// maintenance.
//