JDK 9 RFR of JDK-8033527: Fix raw type lint warning in sun.nio.ch
Lance @ Oracle
lance.andersen at oracle.com
Tue Feb 4 03:39:08 PST 2014
+1
Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com
Sent from my iPad
On Feb 4, 2014, at 1:09 AM, 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20140204/2473859f/attachment.html
More information about the nio-dev
mailing list