jdk/test/java/rmi/activation/Activatable/restartCrashedService/RestartCrashedService.java
changeset 27784 a51d6d4e0528
parent 23010 6dadb192ad81
child 30820 0d4717a011d3
equal deleted inserted replaced
27783:6317ec69db47 27784:a51d6d4e0528
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   229 
   229 
   230 
   230 
   231         } catch (Exception e) {
   231         } catch (Exception e) {
   232             TestLibrary.bomb("test failed", e);
   232             TestLibrary.bomb("test failed", e);
   233         } finally {
   233         } finally {
   234             ActivationLibrary.rmidCleanup(rmid);
   234             rmid.cleanup();
   235             TestLibrary.unexport(unicastObj);
   235             TestLibrary.unexport(unicastObj);
   236         }
   236         }
   237     }
   237     }
   238 }
   238 }