JDK 9 RFR of JDK-8033527: Fix raw type lint warning in sun.nio.ch

Chris Hegarty chris.hegarty at oracle.com
Mon Feb 10 19:26:10 UTC 2014


Looks good to me Joe.

-Chris.

On 4 Feb 2014, at 06:09, Joe Darcy <joe.darcy at oracle.com> wrote:

> Hello,
> 
> Please review this small fix to address
> 
>    JDK-803352: Fix raw type lint warning in sun.nio.ch
> 
> --- a/src/share/classes/sun/nio/ch/Reflect.java    Mon Feb 03 16:58:02 2014 -0500
> +++ b/src/share/classes/sun/nio/ch/Reflect.java    Mon Feb 03 22:07:47 2014 -0800
> @@ -1,5 +1,5 @@
> /*
> - * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
>  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>  *
>  * This code is free software; you can redistribute it and/or modify it
> @@ -75,7 +75,7 @@
> 
>     static Method lookupMethod(String className,
>                                String methodName,
> -                               Class... paramTypes)
> +                               Class<?>... paramTypes)
>     {
>         try {
>             Class<?> cl = Class.forName(className);
> 
> The build succeeds with this change in place.
> 
> Thanks,
> 
> -Joe




More information about the core-libs-dev mailing list