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

javadoc tag for methods that reclaim external resources

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 1.4.0
    • tools



      Name: boT120536 Date: 08/22/2001


      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)


      Some java objects need to have a method called to "reclaim" external
      resources. Examples include Socket.close, Image.flush, Window.dispose,
      etc... If these methods are not called often resources will not be
      reclaimed leading to memory issues, etc...

      It would be nice if these methods could be explicitly called out in
      the javadoc. Maybe a javadoc tag could be created (reclaimer, destructor?)
      to help users of the APIs to know what calls are required to reclaim
      resources?
      (Review ID: 130479)
      ======================================================================

            dkramersunw Douglas Kramer (Inactive)
            bonealsunw Bret O'neal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: