Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4161095

ActivationSystem.shutdown() not performing all cleanup necessary

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P5
    • None
    • 1.2.0
    • core-libs
    • sparc
    • solaris_2.6

    Description


      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().

      Attachments

        Activity

          People

            awollratsunw Ann Wollrath (Inactive)
            afrechet Art Frechette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: