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

[error-prone] JdkObsolete in jdk.management.agent

    Details

      Description

      src/jdk.management.agent/share/classes/jdk/internal/agent/Agent.java:666: warning: [JdkObsolete] StringBuffer performs synchronization that is usually unnecessary; prefer String
      Builder.
                 StringBuffer message = new StringBuffer(params[0]);
                                        ^
          (see https://errorprone.info/bugpattern/JdkObsolete.md)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iignatyev Igor Ignatyev
                Reporter:
                iignatyev Igor Ignatyev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: