|
@@ -45,7 +45,7 @@ public final class ErrorManager implements ConfigChangeListener {
|
45
|
45
|
private static final ErrorManager ME = new ErrorManager();
|
46
|
46
|
|
47
|
47
|
/** A list of exceptions which we don't consider bugs and thus don't report. */
|
48
|
|
- private static final Class[] BANNED_EXCEPTIONS = new Class[]{
|
|
48
|
+ private static final Class<?>[] BANNED_EXCEPTIONS = new Class<?>[]{
|
49
|
49
|
NoSuchMethodError.class, NoClassDefFoundError.class,
|
50
|
50
|
UnsatisfiedLinkError.class, AbstractMethodError.class,
|
51
|
51
|
IllegalAccessError.class, OutOfMemoryError.class,
|
|
@@ -236,7 +236,7 @@ public final class ErrorManager implements ConfigChangeListener {
|
236
|
236
|
Throwable target = exception;
|
237
|
237
|
|
238
|
238
|
while (target != null) {
|
239
|
|
- for (Class bad : BANNED_EXCEPTIONS) {
|
|
239
|
+ for (Class<?> bad : BANNED_EXCEPTIONS) {
|
240
|
240
|
if (bad.equals(target.getClass())) {
|
241
|
241
|
return false;
|
242
|
242
|
}
|