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

Replace Thread.init with telescoping constructor

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b07

      Description

      Thread constructors call a shared init method, which prevents making fields final. By replacing init with a private constructor, we can fix that and make at least tid final (and @Stable).

        Attachments

          Activity

            People

            • Assignee:
              martin Martin Buchholz
              Reporter:
              martin Martin Buchholz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: