Hi Joe,

Looks good!

best regards,

-- daniel

On 12/8/14 8:04 AM, 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 {


Reply via email to