From 9b44b2f8300ddee82e5a021570066042ea08e681 Mon Sep 17 00:00:00 2001 From: Sergey Savenko Date: Fri, 30 Oct 2015 15:07:22 +0300 Subject: OtpInputStream: external fun terms in read_any() Term tag matching switch statement was missing external fun tag. --- lib/jinterface/java_src/com/ericsson/otp/erlang/OtpInputStream.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/jinterface') diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpInputStream.java b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpInputStream.java index 35280f9571..fa0815fbf0 100644 --- a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpInputStream.java +++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpInputStream.java @@ -1243,6 +1243,9 @@ public class OtpInputStream extends ByteArrayInputStream { case OtpExternal.funTag: return new OtpErlangFun(this); + case OtpExternal.externalFunTag: + return new OtpErlangExternalFun(this); + default: throw new OtpErlangDecodeException("Uknown data type: " + tag); } -- cgit v1.2.3