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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 2.0
    • xml
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Imported:
              Indexed: