<AWT Dev> JDK 9 RFR of JDK-8039109 : Fix unchecked and raw lint warnings in java.awt
joe.darcy at oracle.com
Wed Apr 30 08:17:38 UTC 2014
Updated webrev uploaded:
On 04/29/2014 11:21 PM, Petr Pchelko wrote:
> Hello, Joe.
> In RenderableImageOp.getRenderableSources only RenderableImage instances are added to the Vector.
> So the method could return Vector<RenderableImage> to avoid the cast in getSources() method.
> With best regards. Petr.
> On 30.04.2014, at 0:26, Joe Darcy <joe.darcy at oracle.com> wrote:
>> Now that Henry's fixes of raw and unchecked warnings in sun.awt has been pushed, please review this change to fix issues in java.awt:
>> JDK-8039109 : Fix unchecked and raw lint warnings in java.awt
>> Full patch below. A few points of interest in the patch:
>> * There is a change to the signature of a public method in java.awt.image.renderable.ParameterBlock.java (I believe that is the only such change in this patch; internally, a ccc request will be filed for this part of the fix.)
>> * In my estimation the changes in java.awt.GraphicsEnvironment.java are a better use of generics and reflection.
More information about the awt-dev