JDK 9 RFR of raw type lint fix to java.lang.management
Paul Sandoz
paul.sandoz at oracle.com
Tue Jan 7 20:40:09 UTC 2014
+1
Paul.
On Jan 7, 2014, at 9:30 PM, Joe Darcy <joe.darcy at oracle.com> wrote:
> Hello,
>
> Please review another minor lint fix of a raw type issues in the core libraries:
>
> diff -r 2647b91dbc2a src/share/classes/java/lang/management/ManagementFactory.java
> --- a/src/share/classes/java/lang/management/ManagementFactory.java Tue Jan 07 09:58:16 2014 -0800
> +++ b/src/share/classes/java/lang/management/ManagementFactory.java Tue Jan 07 12:29:22 2014 -0800
> @@ -1,5 +1,5 @@
> /*
> - * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2003, 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
> @@ -612,7 +612,7 @@
> " is not an instance of " + mxbeanInterface);
> }
>
> - final Class[] interfaces;
> + final Class<?>[] interfaces;
> // check if the registered MBean is a notification emitter
> boolean emitter = connection.isInstanceOf(objName, NOTIF_EMITTER);
>
>
> Thanks,
>
> -Joe
More information about the core-libs-dev
mailing list