This document describes the changes made to the Jinterface application.
OtpMbox.receive()
and OtpMbox.receive(long
timeout)
can now throw
OtpErlangDecodeException
if the received message
can not be decoded. null
is now only returned from
OtpMbox.receive(long timeout)
if a timeout occurs.
OtpMbox.receive()
will never return null
.
OtpMbox.close()
uses exit reason
'normal'
(atom) instead of "normal"
(string).
OtpNode.closeMbox(OtpMbox mbox,
OtpErlangObject reason)
.
OtpMbox.exit(OtpErlangObject reason)
and OtpMbox.exit(String reason)
.
OtpMbox.exit(OtpErlangPid to,
OtpErlangObject reason)
.
OtpMbox.exit(OtpErlangPid to, String reason)
is now equivalent to OtpMbox.exit(to, new
OtpErlangAtom(reason))
.
localStatus
was
not sent to registered status handler when
OtpNode.close()
was called. This is now corrected.
ERTS
, and the
erl_interface
, ei
, and jinterface
libraries are now only guaranteed to be compatible with
other Erlang/OTP components from the same release. It is
possible to set each component in compatibility mode of
an earlier release, though. See the documentation for
respective component on how to set it in compatibility
mode.