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

The Javadoc does not indicate if DatatypeFactory instances are thread safe or not

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: 5.0
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The Javadoc for factory classes should indicate if their instances are thread safe. Judging by the RI, many factories are indeed thread safe, but this is not clearly stated for DatatypeFactory (and maybe others, but didn't check all). Given that we encourage programmers to minimize the number of factory instances for performance reason, thread safety should be clearly specified.

        Attachments

          Activity

            People

            • Assignee:
              joehw Joe Wang
              Reporter:
              spericas Santiago Pericasgeertsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: