JDK 9 RFR of JDK-8066634: Suppress deprecation warnings in java.management module
Alan Bateman
Alan.Bateman at oracle.com
Mon Dec 8 08:36:52 UTC 2014
I assume you meant to cc jmx-dev for this one. In any case it looks okay
to me.
-Alan
On 08/12/2014 07:04, joe darcy wrote:
> Hello,
>
> Please review the patch below which addresses
>
> JDK-8066634: Suppress deprecation warnings in java.management module
>
> Thanks,
>
> -Joe
>
> diff -r 913808eaf19a
> src/java.management/share/classes/com/sun/jmx/interceptor/DefaultMBeanServerInterceptor.java
> ---
> a/src/java.management/share/classes/com/sun/jmx/interceptor/DefaultMBeanServerInterceptor.java
> Mon Nov 10 08:43:27 2014 -0800
> +++
> b/src/java.management/share/classes/com/sun/jmx/interceptor/DefaultMBeanServerInterceptor.java
> Sun Dec 07 23:02:51 2014 -0800
> @@ -1,5 +1,5 @@
> /*
> - * Copyright (c) 2000, 2013, 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
> @@ -1707,16 +1707,19 @@
> throw new UnsupportedOperationException("Not supported yet.");
> }
>
> + @SuppressWarnings("deprecation")
> public ObjectInputStream deserialize(ObjectName name, byte[]
> data) throws InstanceNotFoundException,
> OperationsException {
> throw new UnsupportedOperationException("Not supported yet.");
> }
>
> + @SuppressWarnings("deprecation")
> public ObjectInputStream deserialize(String className, byte[]
> data) throws OperationsException,
> ReflectionException {
> throw new UnsupportedOperationException("Not supported yet.");
> }
>
> + @SuppressWarnings("deprecation")
> public ObjectInputStream deserialize(String className, ObjectName
> loaderName,
> byte[] data) throws InstanceNotFoundException,
> OperationsException,
> ReflectionException {
>
More information about the serviceability-dev
mailing list