7116954: Misc warnings in java.beans/java.beans.context (original) (raw)

Alan Bateman Alan.Bateman at oracle.com
Thu Dec 1 15:51:04 UTC 2011


On 01/12/2011 15:07, Maurizio Cimadamore wrote:

Hi, I tried to cleanup as many warnings as possible in java.beans/java.beans.context [1]. 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.

[1] - http://cr.openjdk.java.net/~mcimadamore/7116954.0/ <http://cr.openjdk.java.net/%7Emcimadamore/7116954.0/> Maurizio 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?

-Alan



More information about the core-libs-dev mailing list