Skip to content

Commit

Permalink
Add findbugs suppression.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Jun 18, 2024
1 parent 77b564d commit 45141d9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package net.bytebuddy.agent;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import net.bytebuddy.agent.utility.nullability.MaybeNull;

import java.lang.instrument.Instrumentation;
Expand Down Expand Up @@ -114,6 +115,7 @@ public static void agentmain(String arguments, Instrumentation instrumentation)
*
* @param instrumentation The instrumentation instance.
*/
@SuppressFBWarnings(value = "REC_CATCH_EXCEPTION", justification = "Exception should not interrupt agent attachment.")
private static void doMain(Instrumentation instrumentation) {
Installer.instrumentation = instrumentation;
try {
Expand Down

0 comments on commit 45141d9

Please sign in to comment.