diff options
Diffstat (limited to 'org.jacoco.core/src/org/jacoco/core/runtime/SystemPropertiesRuntime.java')
-rw-r--r-- | org.jacoco.core/src/org/jacoco/core/runtime/SystemPropertiesRuntime.java | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/org.jacoco.core/src/org/jacoco/core/runtime/SystemPropertiesRuntime.java b/org.jacoco.core/src/org/jacoco/core/runtime/SystemPropertiesRuntime.java index d7c338c8..97ec2af9 100644 --- a/org.jacoco.core/src/org/jacoco/core/runtime/SystemPropertiesRuntime.java +++ b/org.jacoco.core/src/org/jacoco/core/runtime/SystemPropertiesRuntime.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.runtime; @@ -19,7 +20,7 @@ import org.objectweb.asm.Opcodes; * through a special entry in the {@link System#getProperties()} hash table. The * advantage is, that the instrumented classes do not get dependencies to other * classes than the JRE library itself. - * + * * This runtime may cause problems in environments with security restrictions, * in applications that replace the system properties or in applications that * fail if non-String values are placed in the system properties. @@ -50,8 +51,8 @@ public class SystemPropertiesRuntime extends AbstractRuntime { // Stack[1]: Ljava/lang/String; // Stack[0]: Ljava/util/Properties; - mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "java/util/Properties", - "get", "(Ljava/lang/Object;)Ljava/lang/Object;", false); + mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "java/util/Properties", "get", + "(Ljava/lang/Object;)Ljava/lang/Object;", false); // Stack[0]: Ljava/lang/Object; |