• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Reference leak!!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reference leak!!!


  • Subject: Reference leak!!!
  • From: Kiwi <email@hidden>
  • Date: Wed, 21 Nov 2001 00:32:17 +0100

Hi

I'm working exclusively with Java.

I notice a very annoying bug while working with Java and Cocoa. Some Java objects of mine (that my code has instanciated) are garbage collected when the only remaining reference (references??) is owned by a Cocoa class instance (that was instanciated when loading a NIB in my case).

That usually causes "segmentation fault" or "bus error" (how surprising when working in Java :-) ) and can be solved by keeping another reference to the involved object in the Java code.

Has anyone more details about this?

Thanks
--
Julien Dufour


  • Prev by Date: Re: Problem with method in NSBezierPath?
  • Next by Date: Re: Mutability
  • Previous by thread: Re: Problem with method in NSBezierPath?
  • Next by thread: Clicking dock icon opens window
  • Index(es):
    • Date
    • Thread