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

Clean up Log.java and remove usage of non-final static variables.

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b06

      Description

      JDK-8223322 sought to make jpackage truly thread safe, remove the synchronized keyword on the method JPackageToolProvider.run(), and add tests that run several jpackage instances concurrently.

      It was found by these new tests that some of the tools used by jpackage were not themselves thread safe, and it was decided to not proceed with removing the synchronized keyword.

      However the work that went into revising Log.java, and removing all usage of non-final static variables still has merit as a code clean up, and is now the objective of this enhancement.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              herrick Andy Herrick
              Reporter:
              herrick Andy Herrick
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: