aboutsummaryrefslogtreecommitdiffstats
path: root/lib/jinterface
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-04-07 20:38:55 +0200
committerSverker Eriksson <[email protected]>2016-04-07 20:38:55 +0200
commite4b8b9be39601b1c79dfd5d8e807ae4c404b6935 (patch)
tree7c6988f656aee95f639ac8a6293328b333f1f3d2 /lib/jinterface
parent539ce190ba8f8842c24b17f3257c44cd850d7e01 (diff)
downloadotp-e4b8b9be39601b1c79dfd5d8e807ae4c404b6935.tar.gz
otp-e4b8b9be39601b1c79dfd5d8e807ae4c404b6935.tar.bz2
otp-e4b8b9be39601b1c79dfd5d8e807ae4c404b6935.zip
erts: Add DFLAG_BIG_CREATION
to let future nodes know that we can handle NEW_PID_EXT, NEW_PORT_EXT and NEWER_REFERENCE_EXT.
Diffstat (limited to 'lib/jinterface')
-rw-r--r--lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractNode.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractNode.java b/lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractNode.java
index d7ba88288f..0072c5939a 100644
--- a/lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractNode.java
+++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractNode.java
@@ -95,6 +95,7 @@ public class AbstractNode implements OtpTransportFactory {
static final int dFlagUnicodeIo = 0x1000;
static final int dFlagUtf8Atoms = 0x10000;
static final int dFlagMapTag = 0x20000;
+ static final int dFlagBigCreation = 0x40000;
int ntype = NTYPE_R6;
int proto = 0; // tcp/ip
@@ -103,7 +104,8 @@ public class AbstractNode implements OtpTransportFactory {
int creation = 0;
int flags = dFlagExtendedReferences | dFlagExtendedPidsPorts
| dFlagBitBinaries | dFlagNewFloats | dFlagFunTags
- | dflagNewFunTags | dFlagUtf8Atoms | dFlagMapTag;
+ | dflagNewFunTags | dFlagUtf8Atoms | dFlagMapTag
+ | dFlagBigCreation;
/* initialize hostname and default cookie */
static {