[Fmt] RFE: java.text.Format should define protected constructor

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: core-libs
    • None
    • b48
    • generic
    • generic

      java.text.Format doesn't define a constructor in the source code and therefore receives a public default constructor (JLS 8.8.7). This has two drawbacks:
      1) There's no documentation for the constructor.
      2) The constructor is public, even though nothing besides subclass constructors can call the constructor of an abstract class.

      So, we should define a protected constructor.

            Assignee:
            Yuka Kamiya (Inactive)
            Reporter:
            Norbert Lindenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: