<Beans Dev> 7116954: Misc warnings in java.beans/java.beans.context
Alan.Bateman at oracle.com
Thu Dec 1 07:51:04 PST 2011
On 01/12/2011 15:07, Maurizio Cimadamore wrote:
> I tried to cleanup as many warnings as possible in
> java.beans/java.beans.context . There were a few places (esp. in
> java.beans.context) in which I had to suppress rawtypes warnings as
> the raw types were in method signatures of what looked like public
> API. Feedback welcome.
>  - http://cr.openjdk.java.net/~mcimadamore/7116954.0/
I don't know this area but I skimmed through the changes and don't see
anything obviously wrong. The @SuppressWarnings("rawtypes") on
java.beans.beancontext.BeanContext is a bit of a shock but as you say,
this is the API. Can the scope of the suppressed unchecked in
Introspector.getBeanInfo be reduced by using a temporary variable?
More information about the beans-dev