You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Christoph Gritschenberger (JIRA)" <ji...@apache.org> on 2013/01/18 16:10:12 UTC

[jira] [Created] (ARIES-1005) BundleHookBundleTracker throws Exception when close()-method is called twice

Christoph Gritschenberger created ARIES-1005:
------------------------------------------------

             Summary: BundleHookBundleTracker throws Exception when close()-method is called twice
                 Key: ARIES-1005
                 URL: https://issues.apache.org/jira/browse/ARIES-1005
             Project: Aries
          Issue Type: Bug
          Components: Util
            Reporter: Christoph Gritschenberger


{code}
  public void close() {
      sr.unregister();
      tracked.close();
      tracked = null;
  }
{code}
Supsequent calls cause sr.unregister to throw an IllegalStateException.

Since today, there is a piece of code introduced by ARIES-1004 that does actually do that (http://mail-archives.apache.org/mod_mbox/aries-commits/201301.mbox/%3C20130118083142.DA5852388900%40eris.apache.org%3E)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira