diff options
Diffstat (limited to 'org.jacoco.core/src/org/jacoco/core/internal/flow/MethodSanitizer.java')
-rw-r--r-- | org.jacoco.core/src/org/jacoco/core/internal/flow/MethodSanitizer.java | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/org.jacoco.core/src/org/jacoco/core/internal/flow/MethodSanitizer.java b/org.jacoco.core/src/org/jacoco/core/internal/flow/MethodSanitizer.java index 92b08947..34c38004 100644 --- a/org.jacoco.core/src/org/jacoco/core/internal/flow/MethodSanitizer.java +++ b/org.jacoco.core/src/org/jacoco/core/internal/flow/MethodSanitizer.java @@ -1,13 +1,14 @@ /******************************************************************************* - * Copyright (c) 2009, 2019 Mountainminds GmbH & Co. KG and Contributors - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * Copyright (c) 2009, 2021 Mountainminds GmbH & Co. KG and Contributors + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0 + * + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * Marc R. Hoffmann - initial API and implementation - * + * *******************************************************************************/ package org.jacoco.core.internal.flow; @@ -18,7 +19,7 @@ import org.objectweb.asm.commons.JSRInlinerAdapter; /** * This method visitor fixes two potential issues with Java byte code: - * + * * <ul> * <li>Remove JSR/RET instructions by inlining subroutines which are deprecated * since Java 6. The RET statement complicates control flow analysis as the jump @@ -30,8 +31,8 @@ import org.objectweb.asm.commons.JSRInlinerAdapter; */ class MethodSanitizer extends JSRInlinerAdapter { - MethodSanitizer(final MethodVisitor mv, final int access, - final String name, final String desc, final String signature, + MethodSanitizer(final MethodVisitor mv, final int access, final String name, + final String desc, final String signature, final String[] exceptions) { super(InstrSupport.ASM_API_VERSION, mv, access, name, desc, signature, exceptions); |