Dieter Wimberger wrote: <snip> Just an update. I wrote a SingletonHolder within Jetspeed that sets itself as the System properties. It does't do anything to the references that already exist but anytime you add a new Object to the hashtable it puts it in its own internal Hashtable. This was needed to get past a bug in Properties (ClassCastException when it isn't a String). It works fine now. You just do a SingletonHolder.put() within your Singleton and it never gets Garbage Collected... :) Kevin -- Kevin A Burton ([EMAIL PROTECTED]) http://relativity.yi.org Message to SUN: "Please Open Source Java!" "For evil to win is for good men to do nothing." ------------------------------------------------------------ To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
- JDK 1.1 Garbage Collects all singletons. Kevin A. Burton
- Re: JDK 1.1 Garbage Collects all singletons. jon *
- RE: JDK 1.1 Garbage Collects all singleto... Frank Kim
- Re: JDK 1.1 Garbage Collects all sing... Kevin A. Burton
- Re: JDK 1.1 Garbage Collects all singletons. Scott C. Tavares
- Re: JDK 1.1 Garbage Collects all singleto... jon *
- Re: JDK 1.1 Garbage Collects all sing... Kevin A. Burton
- Re: JDK 1.1 Garbage Collects all singleto... Kevin A. Burton
- Re: JDK 1.1 Garbage Collects all singletons. Dieter Wimberger
- Proposal: MapBuilders Kevin A. Burton
- Proposal: MapBuilders jon *
- Re: Proposal: MapBuilders John McNally
- RE: JDK 1.1 Garbage Collects all sing... Frank Kim
- Re: JDK 1.1 Garbage Collects all ... Kevin A. Burton
- Re: JDK 1.1 Garbage Collects... Dieter Wimberger
- Re: JDK 1.1 Garbage Collects all singletons. Santiago Arriaga Noguez
