aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test4
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2016-08-02 01:36:45 +0900
committerchibash <chiba@javassist.org>2016-08-02 01:36:45 +0900
commit0ebd27d23e6cf16be080ee2ca89255429f06b5ad (patch)
tree401a17dece8b046df71370aed39f74f6d11d3ace /src/test/test4
parent4ed22b0f7fab7c237d732e446ae43ee9af112df4 (diff)
downloadjavassist-0ebd27d23e6cf16be080ee2ca89255429f06b5ad.tar.gz
javassist-0ebd27d23e6cf16be080ee2ca89255429f06b5ad.zip
fixes calls to a deprecated method in Java 9.rel_3_21_0-java9-ea
Diffstat (limited to 'src/test/test4')
-rw-r--r--src/test/test4/Signature.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test4/Signature.java b/src/test/test4/Signature.java
index aa9de28b..f6028a1a 100644
--- a/src/test/test4/Signature.java
+++ b/src/test/test4/Signature.java
@@ -7,7 +7,7 @@ public class Signature<T> {
public int run() {
Signature<String> s = new Signature<String>();
- return s.foo(new Integer(3), "foo", s, null).length();
+ return s.foo(Integer.valueOf(3), "foo", s, null).length();
}
<S> T foo(S s, T t, Signature<T> signature, Signature<Signature<String>> v) {