From f405bdebb6b54ca6333d6df450c7d8a5c51c1df6 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sat, 27 Apr 2013 13:45:34 +0200 Subject: Fix two deprecation warnings in com.ericsson.otp.ic.Environment --- lib/ic/java_src/com/ericsson/otp/ic/Environment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ic/java_src') diff --git a/lib/ic/java_src/com/ericsson/otp/ic/Environment.java b/lib/ic/java_src/com/ericsson/otp/ic/Environment.java index fff854a5f8..4b321fbce7 100644 --- a/lib/ic/java_src/com/ericsson/otp/ic/Environment.java +++ b/lib/ic/java_src/com/ericsson/otp/ic/Environment.java @@ -135,8 +135,8 @@ public class Environment { if (connection == null) connection = self.connect(peer); - clientP = new com.ericsson.otp.erlang.OtpErlangPid(self); /* This is not perfect */ - send_ref = new com.ericsson.otp.erlang.OtpErlangRef(self); + clientP = self.createPid(); /* This is not perfect */ + send_ref = self.createRef(); } -- cgit v1.2.3