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

Henry Jen henry.jen at oracle.com
Tue Feb 4 06:18:18 UTC 2014


+1.

Cheers,
Henry

On 02/03/2014 10:09 PM, Joe Darcy 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