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

RMIConnector logs attribute names incorrectly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u71
    • Fix Version/s: 8u101
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        There is a bug in how RMIConnector logs attribute names which get set via setAttributes().

        It's using Collectors.joining() with swapped arguments for the delimiter and the prefix.

          Activity

          Hide
          sgehwolf Severin Gehwolf added a comment -
          Patch with the reproducer is attached.
          Show
          sgehwolf Severin Gehwolf added a comment - Patch with the reproducer is attached.
          Show
          sgehwolf Severin Gehwolf added a comment - Review thread: http://mail.openjdk.java.net/pipermail/jdk8u-dev/2016-January/004845.html
          Hide
          mcastegr Mattis Castegren (Inactive) added a comment -
          Andreas, please see if this should be fixed in JDK 7 as well
          Show
          mcastegr Mattis Castegren (Inactive) added a comment - Andreas, please see if this should be fixed in JDK 7 as well
          Hide
          aeriksso Andreas Eriksson (Inactive) added a comment -
          Not a problem in 7 (or 6), they use a simple for-loop to log attribute names, since Collectors were introduced in 8.
          Show
          aeriksso Andreas Eriksson (Inactive) added a comment - Not a problem in 7 (or 6), they use a simple for-loop to log attribute names, since Collectors were introduced in 8.

            People

            • Assignee:
              aeriksso Andreas Eriksson (Inactive)
              Reporter:
              sgehwolf Severin Gehwolf
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: