diff options
author | chibash <chiba@javassist.org> | 2016-08-02 01:36:45 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2016-08-02 01:36:45 +0900 |
commit | 0ebd27d23e6cf16be080ee2ca89255429f06b5ad (patch) | |
tree | 401a17dece8b046df71370aed39f74f6d11d3ace /src/main/javassist/tools | |
parent | 4ed22b0f7fab7c237d732e446ae43ee9af112df4 (diff) | |
download | javassist-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/main/javassist/tools')
-rw-r--r-- | src/main/javassist/tools/rmi/ObjectImporter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/tools/rmi/ObjectImporter.java b/src/main/javassist/tools/rmi/ObjectImporter.java index 476ec3c8..43b62039 100644 --- a/src/main/javassist/tools/rmi/ObjectImporter.java +++ b/src/main/javassist/tools/rmi/ObjectImporter.java @@ -189,7 +189,7 @@ public class ObjectImporter implements java.io.Serializable { private Object createProxy(int oid, String classname) throws Exception { Class c = Class.forName(classname); Constructor cons = c.getConstructor(proxyConstructorParamTypes); - return cons.newInstance(new Object[] { this, new Integer(oid) }); + return cons.newInstance(new Object[] { this, Integer.valueOf(oid) }); } /** |