From 53e612cb2ab76378c52aaf166e33088c2f4832a5 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Fri, 11 Feb 2022 00:26:22 +0100 Subject: [PATCH] Bump byte-buddy to 1.12.8 https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.12.2 https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.12.3 https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.12.4 https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.12.5 https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.12.6 https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.12.7 https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.12.8 Change-Id: I660d0fff4a67b33202bdb70b56ee546d63ac15d3 Signed-off-by: Robert Varga --- binding/mdsal-binding-dom-codec/pom.xml | 2 +- .../binding/dom/codec/impl/NotificationCodecContext.java | 3 ++- docs/pom.xml | 8 ++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/binding/mdsal-binding-dom-codec/pom.xml b/binding/mdsal-binding-dom-codec/pom.xml index 2c7904a362..0f1f37bcd7 100644 --- a/binding/mdsal-binding-dom-codec/pom.xml +++ b/binding/mdsal-binding-dom-codec/pom.xml @@ -29,7 +29,7 @@ net.bytebuddy byte-buddy - 1.12.1 + 1.12.8 org.opendaylight.yangtools diff --git a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/NotificationCodecContext.java b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/NotificationCodecContext.java index 7ce768a38e..6c0ed42e7c 100644 --- a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/NotificationCodecContext.java +++ b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/NotificationCodecContext.java @@ -8,6 +8,7 @@ package org.opendaylight.mdsal.binding.dom.codec.impl; import static com.google.common.base.Preconditions.checkState; +import static com.google.common.base.Verify.verifyNotNull; import static net.bytebuddy.implementation.bytecode.member.MethodVariableAccess.loadThis; import static org.opendaylight.mdsal.binding.dom.codec.impl.ByteBuddyUtils.getField; import static org.opendaylight.mdsal.binding.dom.codec.impl.ByteBuddyUtils.putField; @@ -144,7 +145,7 @@ final class NotificationCodecContext @Override public ByteCodeAppender appender(final Target implementationTarget) { final TypeDescription instrumentedType = implementationTarget.getInstrumentedType(); - final InGenericShape superCtor = instrumentedType.getSuperClass().getDeclaredMethods() + final InGenericShape superCtor = verifyNotNull(instrumentedType.getSuperClass()).getDeclaredMethods() .filter(ElementMatchers.isConstructor()).getOnly(); return new ByteCodeAppender.Simple( diff --git a/docs/pom.xml b/docs/pom.xml index 3e10dca1d5..9994a0f358 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -465,6 +465,14 @@ 5.8.0 provided + + + + com.google.code.findbugs + jsr305 + 3.0.2 + provided + -- 2.36.6