-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
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
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
- relates to
-
JDK-6458646 Incompatible change to Sasl API -- redux
- Resolved