JDK 9 RFR of raw type lint fix to java.lang.management
Lance Andersen - Oracle
Lance.Andersen at oracle.com
Tue Jan 7 20:41:47 UTC 2014
+1
On Jan 7, 2014, at 3:30 PM, Joe Darcy 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
-------------- next part --------------
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
More information about the core-libs-dev
mailing list