sn = strategy.getShortName(arc); } catch (AbstractMethodError x) { LOGGER.log(WARNING, "JENKINS-12753 fix not active: {0}", x.getMessage()); p = strategy.createPluginWrapper(arc); sn = p.getShortName();
@SuppressFBWarnings(value = "DE_MIGHT_IGNORE", justification = "These exceptions will re-occur and be handled later.") private <S> void checkAbstractMethods(Class<?> instanceClass, S instance, S copy, boolean prefabPossible) { try { instance.equals(copy); } catch (AbstractMethodError e) { fail(buildAbstractDelegationErrorMessage(instanceClass, prefabPossible, "equals", e.getMessage()), e); } catch (Exception ignored) { // Skip. We only care about AbstractMethodError at this point; // other errors will be handled later. } try { cachedHashCodeInitializer.getInitializedHashCode(instance); } catch (AbstractMethodError e) { fail(buildAbstractDelegationErrorMessage(instanceClass, prefabPossible, "hashCode", e.getMessage()), e); } catch (Exception ignored) { // Skip. We only care about AbstractMethodError at this point; // other errors will be handled later. } }
@SuppressFBWarnings(value = "DE_MIGHT_IGNORE", justification = "These exceptions will re-occur and be handled later.") private <S> void checkAbstractMethods(Class<?> instanceClass, S instance, S copy, boolean prefabPossible) { try { instance.equals(copy); } catch (AbstractMethodError e) { fail(buildAbstractDelegationErrorMessage(instanceClass, prefabPossible, "equals", e.getMessage()), e); } catch (Exception ignored) { // Skip. We only care about AbstractMethodError at this point; // other errors will be handled later. } try { cachedHashCodeInitializer.getInitializedHashCode(instance); } catch (AbstractMethodError e) { fail(buildAbstractDelegationErrorMessage(instanceClass, prefabPossible, "hashCode", e.getMessage()), e); } catch (Exception ignored) { // Skip. We only care about AbstractMethodError at this point; // other errors will be handled later. } }
String msg = bean + "." + method().getName() + ": " + e.getMessage();
sn = strategy.getShortName(arc); } catch (AbstractMethodError x) { LOGGER.log(WARNING, "JENKINS-12753 fix not active: {0}", x.getMessage()); p = strategy.createPluginWrapper(arc); sn = p.getShortName();