-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P5
-
None
-
Affects Version/s: 1.2.0
-
Component/s: core-libs
-
sparc
-
solaris_2.6
arthur.frechette@East 1998-07-28
System Under Test: Solaris 2.6
JDK Under Test: JDK1.2fcs-B
The following code highlights the problem:
ActivationSystem system = null;
try {
system = ActivationGroup.getSystem();
}
catch (ActivationException e) {
}
if (system != null)
system.shutdown();
try {
Thread.sleep(5000);
}
catch (Exception e) {}
system = null;
try {
system = ActivationGroup.getSystem();
System.err.println("FAILED: expected exception");
if (system != null)
System.err.println("FAILED: system is not null");
}
catch (ActivationException e) {
}
After shutting down the activation system and doing a subsequent
ActivationGroup.getSystem() no exception is thrown and the activation
system returned is not null. It appears that the value is cached and
should be removed from the cache on a shutdown().