aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSergey Savenko <[email protected]>2015-10-30 15:07:22 +0300
committerSergey Savenko <[email protected]>2015-11-04 13:07:07 +0300
commit9b44b2f8300ddee82e5a021570066042ea08e681 (patch)
tree6bb22c224c93f123269c929e1f9e6c0bb24664b0 /lib
parent82393fda2f44841663b23c95879212f339a56474 (diff)
downloadotp-9b44b2f8300ddee82e5a021570066042ea08e681.tar.gz
otp-9b44b2f8300ddee82e5a021570066042ea08e681.tar.bz2
otp-9b44b2f8300ddee82e5a021570066042ea08e681.zip
OtpInputStream: external fun terms in read_any()
Term tag matching switch statement was missing external fun tag.
Diffstat (limited to 'lib')
-rw-r--r--lib/jinterface/java_src/com/ericsson/otp/erlang/OtpInputStream.java3
1 files changed, 3 insertions, 0 deletions
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);
}