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

Rename Deferred<> to DeferredStatic<> and improve usage description

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None

      Some post-integration discussion of JDK-8359923 showed there was confusion or disagreement about the purpose and usage of Deferred<>.

      After some (internal to Oracle) discussion, it was agreed that the use-case for this class is limited to objects with static storage duration. (The disabled destruction is part of the argument for that.)

      With that in mind, the class should be renamed to better reflect its usage, and the documentation comment should better describe that usage.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: