src/share/classes/sun/rmi/server/ActivationGroupImpl.java

Print this page

        

*** 64,77 **** // use serialVersionUID from JDK 1.2.2 for interoperability private static final long serialVersionUID = 5758693559430427303L; /** maps persistent IDs to activated remote objects */ private final Hashtable<ActivationID,ActiveEntry> active = ! new Hashtable<ActivationID,ActiveEntry>(); private boolean groupInactive = false; private final ActivationGroupID groupID; ! private final List<ActivationID> lockedIDs = new ArrayList<ActivationID>(); /** * Creates a default activation group implementation. * * @param id the group's identifier --- 64,77 ---- // use serialVersionUID from JDK 1.2.2 for interoperability private static final long serialVersionUID = 5758693559430427303L; /** maps persistent IDs to activated remote objects */ private final Hashtable<ActivationID,ActiveEntry> active = ! new Hashtable<>(); private boolean groupInactive = false; private final ActivationGroupID groupID; ! private final List<ActivationID> lockedIDs = new ArrayList<>(); /** * Creates a default activation group implementation. * * @param id the group's identifier
*** 294,311 **** entry = new ActiveEntry(impl); active.put(id, entry); return entry.mobj; ! } catch (NoSuchMethodException e) { ! /* user forgot to provide activatable constructor? */ ! throw new ActivationException ! ("Activatable object must provide an activation"+ ! " constructor", e); ! ! } catch (NoSuchMethodError e) { ! /* code recompiled and user forgot to provide * activatable constructor? */ throw new ActivationException ("Activatable object must provide an activation"+ " constructor", e ); --- 294,306 ---- entry = new ActiveEntry(impl); active.put(id, entry); return entry.mobj; ! } catch (NoSuchMethodException | NoSuchMethodError e) { ! /* user forgot to provide activatable constructor? ! * or code recompiled and user forgot to provide * activatable constructor? */ throw new ActivationException ("Activatable object must provide an activation"+ " constructor", e );