incompatible change to Sasl.createSaslClient

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 6
    • Affects Version/s: 5.0
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: