summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/javax/management
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/management')
-rw-r--r--libjava/classpath/javax/management/DefaultLoaderRepository.java4
-rw-r--r--libjava/classpath/javax/management/MBeanConstructorInfo.java2
-rw-r--r--libjava/classpath/javax/management/remote/rmi/RMIConnection.java20
3 files changed, 13 insertions, 13 deletions
diff --git a/libjava/classpath/javax/management/DefaultLoaderRepository.java b/libjava/classpath/javax/management/DefaultLoaderRepository.java
index d331552a011..d70bf7efec5 100644
--- a/libjava/classpath/javax/management/DefaultLoaderRepository.java
+++ b/libjava/classpath/javax/management/DefaultLoaderRepository.java
@@ -78,7 +78,7 @@ import java.util.List;
* to load the class.
*/
// API issue with lack of <?> on Class
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
public static Class loadClass(String name)
throws ClassNotFoundException
{
@@ -127,7 +127,7 @@ import java.util.List;
* to load the class.
*/
// API issue with lack of <?> on Class
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
public static Class loadClassWithout(ClassLoader exclude, String name)
throws ClassNotFoundException
{
diff --git a/libjava/classpath/javax/management/MBeanConstructorInfo.java b/libjava/classpath/javax/management/MBeanConstructorInfo.java
index 509483f256a..3d5ebdab0ce 100644
--- a/libjava/classpath/javax/management/MBeanConstructorInfo.java
+++ b/libjava/classpath/javax/management/MBeanConstructorInfo.java
@@ -76,7 +76,7 @@ public class MBeanConstructorInfo
* @param cons the constructor.
*/
// API issue with lack of <?> on Constructor
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
public MBeanConstructorInfo(String desc, Constructor cons)
{
super(cons.getName(), desc);
diff --git a/libjava/classpath/javax/management/remote/rmi/RMIConnection.java b/libjava/classpath/javax/management/remote/rmi/RMIConnection.java
index 434051d58ac..edf8c895c86 100644
--- a/libjava/classpath/javax/management/remote/rmi/RMIConnection.java
+++ b/libjava/classpath/javax/management/remote/rmi/RMIConnection.java
@@ -152,7 +152,7 @@ public interface RMIConnection
* NotificationFilter,
* Object)
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
void addNotificationListener(ObjectName name, ObjectName listener,
MarshalledObject filter, MarshalledObject passback,
Subject delegationSubject)
@@ -224,7 +224,7 @@ public interface RMIConnection
* NotificationFilter,
* Object)
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
Integer[] addNotificationListeners(ObjectName[] names, MarshalledObject[] filters,
Subject[] delegationSubjects)
throws InstanceNotFoundException, IOException;
@@ -298,7 +298,7 @@ public interface RMIConnection
* @throws IOException if an I/O error occurred in communicating with
* the bean server.
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
ObjectInstance createMBean(String className, ObjectName name,
MarshalledObject params, String[] sig,
Subject delegationSubject)
@@ -367,7 +367,7 @@ public interface RMIConnection
* @throws IOException if an I/O error occurred in communicating with
* the bean server.
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
ObjectInstance createMBean(String className, ObjectName name,
ObjectName loaderName, MarshalledObject params,
String[] sig, Subject delegationSubject)
@@ -767,7 +767,7 @@ public interface RMIConnection
* the bean server.
* @see DynamicMBean#invoke(String, Object[], String[])
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
Object invoke(ObjectName bean, String name, MarshalledObject params,
String[] sig, Subject delegationSubject)
throws InstanceNotFoundException, MBeanException,
@@ -871,7 +871,7 @@ public interface RMIConnection
* @throws SecurityException if the client or delegated subject (if any) does
* not have permission to invoke this operation.
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
Set<ObjectInstance> queryMBeans(ObjectName name, MarshalledObject query,
Subject delegationSubject)
throws IOException;
@@ -914,7 +914,7 @@ public interface RMIConnection
* @throws IOException if an I/O error occurred in communicating with
* the bean server.
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
Set<ObjectName> queryNames(ObjectName name, MarshalledObject query,
Subject delegationSubject)
throws IOException;
@@ -960,7 +960,7 @@ public interface RMIConnection
* NotificationFilter,
* Object)
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
void removeNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
@@ -1080,7 +1080,7 @@ public interface RMIConnection
* @see #getAttribute(ObjectName, String, Subject)
* @see javax.management.DynamicMBean#setAttribute(Attribute)
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
void setAttribute(ObjectName name, MarshalledObject attribute,
Subject delegationSubject)
throws InstanceNotFoundException, AttributeNotFoundException,
@@ -1121,7 +1121,7 @@ public interface RMIConnection
* @see #getAttributes(ObjectName, String[])
* @see DynamicMBean#setAttributes(AttributeList)
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
AttributeList setAttributes(ObjectName name, MarshalledObject attributes,
Subject delegationSubject)
throws InstanceNotFoundException, ReflectionException,
OpenPOWER on IntegriCloud