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

Currency class doesn't declare immutable members as final

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b45
    • CPU:
      generic
    • OS:
      generic

      Description

      JSR 133 requires that final classes declare immutable members as final. The java.util.Currenty class should make its currency code final.

      Private member fields that are initialized during object construction should be marked private final.

        Attachments

          Activity

            People

            Assignee:
            joconnersunw John Oconner (Inactive)
            Reporter:
            joconnersunw John Oconner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: