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

incompatible change to Sasl.createSaslClient

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 5.0
    • security-libs
    • None
    • beta
    • generic
    • generic

      In J2SE 5.0, the props argument to javax.security.sasl.Sasl.createSaslClient
      was changed from Map to Map<String, ?>. Unfortunately, this means that the
      common use of passing a Properties object (e.g., from System.getProperties)
      no longer compiles. It's not possible to use a cast to make this work.
      The only workaround seems to be to copy the Properties object into another
      Map object of the appropriate type. This can have a significant performance
      impact if there are a lot of properties.

      ###@###.### 2005-2-11 19:53:48 GMT

            vinnie Vincent Ryan
            bshannon Bill Shannon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: