JDK 9 RFR of JDK-8033527: Fix raw type lint warning in sun.nio.ch
Mandy Chung
mandy.chung at oracle.com
Mon Feb 3 22:24:17 PST 2014
Thumbs up.
Mandy
On 2/3/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 nio-dev
mailing list