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

ConfigFile synchronization could be simplified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • security-libs
    • None
    • beta3
    • generic
    • solaris_7

      the init() method does not need to be synchronized.
      it is called from the Configuration.getConfiguration method
      which has a synchronized block, and from refresh which is also
      synchronized.

      also, setting the configuration is an atomic operation
      and is guaranteed to be synchronized.

            claisunw Charlie Lai (Inactive)
            claisunw Charlie Lai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: