src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/ReflectionSubstitutions.java
equal
deleted
inserted
replaced
35 import org.graalvm.compiler.api.replacements.ClassSubstitution; |
35 import org.graalvm.compiler.api.replacements.ClassSubstitution; |
36 import org.graalvm.compiler.api.replacements.MethodSubstitution; |
36 import org.graalvm.compiler.api.replacements.MethodSubstitution; |
37 import org.graalvm.compiler.hotspot.word.KlassPointer; |
37 import org.graalvm.compiler.hotspot.word.KlassPointer; |
38 |
38 |
39 /** |
39 /** |
40 * Substitutions for {@link sun.reflect.Reflection} methods. |
40 * Substitutions for {@code sun.reflect.Reflection} methods. |
41 */ |
41 */ |
42 @ClassSubstitution(className = {"jdk.internal.reflect.Reflection", "sun.reflect.Reflection"}, optional = true) |
42 @ClassSubstitution(className = {"jdk.internal.reflect.Reflection", "sun.reflect.Reflection"}, optional = true) |
43 public class ReflectionSubstitutions { |
43 public class ReflectionSubstitutions { |
44 |
44 |
45 @MethodSubstitution |
45 @MethodSubstitution |