diff options
Diffstat (limited to 'javax/management/DefaultLoaderRepository.java')
-rw-r--r-- | javax/management/DefaultLoaderRepository.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/javax/management/DefaultLoaderRepository.java b/javax/management/DefaultLoaderRepository.java index b905af22f..38f7d0206 100644 --- a/javax/management/DefaultLoaderRepository.java +++ b/javax/management/DefaultLoaderRepository.java @@ -77,6 +77,8 @@ import java.util.List; * @throws ClassNotFoundException if all the class loaders fail * to load the class. */ + // API issue with lack of <?> on Class + @SuppressWarnings("unchecked") public static Class loadClass(String name) throws ClassNotFoundException { @@ -124,6 +126,8 @@ import java.util.List; * @throws ClassNotFoundException if all the class loaders fail * to load the class. */ + // API issue with lack of <?> on Class + @SuppressWarnings("unchecked") public static Class loadClassWithout(ClassLoader exclude, String name) throws ClassNotFoundException { |