aboutsummaryrefslogtreecommitdiffstats
path: root/lib/jinterface/java_src/com/ericsson
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-03-13 15:23:44 +0100
committerSverker Eriksson <[email protected]>2014-03-14 15:08:23 +0100
commita996e168bfebe599cfe393cd132a87984d905d84 (patch)
tree5286c1c11e53c3372abb050ad00f33555babbd5b /lib/jinterface/java_src/com/ericsson
parentc543d5bff7fb23c3f44cc4817c0654117de78919 (diff)
downloadotp-a996e168bfebe599cfe393cd132a87984d905d84.tar.gz
otp-a996e168bfebe599cfe393cd132a87984d905d84.tar.bz2
otp-a996e168bfebe599cfe393cd132a87984d905d84.zip
erts: Add distribution capability flag for maps DFLAG_MAP_TAG
This is just a preparation to allow detection of older nodes that do not understand maps (R16 and older).
Diffstat (limited to 'lib/jinterface/java_src/com/ericsson')
-rw-r--r--lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractNode.java5
1 files changed, 3 insertions, 2 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 968f284bff..3ef44b8851 100644
--- a/lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractNode.java
+++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/AbstractNode.java
@@ -1,7 +1,7 @@
/*
* %CopyrightBegin%
*
- * Copyright Ericsson AB 2000-2013. All Rights Reserved.
+ * Copyright Ericsson AB 2000-2014. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
@@ -92,6 +92,7 @@ public class AbstractNode {
static final int dFlagNewFloats = 0x800;
static final int dFlagUnicodeIo = 0x1000;
static final int dFlagUtf8Atoms = 0x10000;
+ static final int dFlagMapTag = 0x20000;
int ntype = NTYPE_R6;
int proto = 0; // tcp/ip
@@ -100,7 +101,7 @@ public class AbstractNode {
int creation = 0;
int flags = dFlagExtendedReferences | dFlagExtendedPidsPorts
| dFlagBitBinaries | dFlagNewFloats | dFlagFunTags
- | dflagNewFunTags | dFlagUtf8Atoms;
+ | dflagNewFunTags | dFlagUtf8Atoms | dFlagMapTag;
/* initialize hostname and default cookie */
static {