diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2019-05-23 21:12:08 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2019-05-23 21:12:08 +0200 |
commit | 0a09854d268b64e6e9faad2bcaf4e02b25d3b232 (patch) | |
tree | 9bc879690aaf1ef5a547d9d8c8791749cb327f3b /jrt | |
parent | a717bfeecf8a0c0f237685a4b2b37035d4cad553 (diff) |
Deprecate reflection based invocation in jrt
Diffstat (limited to 'jrt')
-rw-r--r-- | jrt/src/com/yahoo/jrt/Method.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jrt/src/com/yahoo/jrt/Method.java b/jrt/src/com/yahoo/jrt/Method.java index b3c5b037f27..59006202e8f 100644 --- a/jrt/src/com/yahoo/jrt/Method.java +++ b/jrt/src/com/yahoo/jrt/Method.java @@ -83,7 +83,10 @@ public class Method { * * @throws MethodCreateException if the handler method cannot be * resolved. + * + * @deprecated Use {@link Method#Method(String, String, String, MethodHandler)} instead. **/ + @Deprecated(forRemoval = true) public Method(String name, String paramTypes, String returnTypes, Object handler, String handlerMethod) { |