From 7d457490f786faef4ab02c300a1e69c21a6aeb21 Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Wed, 1 Mar 2017 11:35:22 +0100 Subject: Correct documentation of get_modules message --- lib/stdlib/doc/src/sys.xml | 4 ++-- lib/stdlib/src/gen_event.erl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/stdlib/doc/src/sys.xml b/lib/stdlib/doc/src/sys.xml index 9091a46df9..45171f814d 100644 --- a/lib/stdlib/doc/src/sys.xml +++ b/lib/stdlib/doc/src/sys.xml @@ -83,8 +83,8 @@

If the modules used to implement the process change dynamically during runtime, the process must understand one more message. An example is the gen_event - processes. The message is {get_modules, From}. - The reply to this message is From ! {modules, Modules}, where + processes. The message is {_Label, {From, Ref}, get_modules}. + The reply to this message is From ! {Ref, Modules}, where Modules is a list of the currently active modules in the process.

This message is used by the release handler to find which diff --git a/lib/stdlib/src/gen_event.erl b/lib/stdlib/src/gen_event.erl index ccacf658e9..e55cdddb9a 100644 --- a/lib/stdlib/src/gen_event.erl +++ b/lib/stdlib/src/gen_event.erl @@ -742,7 +742,7 @@ stop_handlers([], _) -> []. %% Message from the release_handler. -%% The list of modules got to be a set ! +%% The list of modules got to be a set, i.e. no duplicate elements! get_modules(MSL) -> Mods = [Handler#handler.module || Handler <- MSL], ordsets:to_list(ordsets:from_list(Mods)). -- cgit v1.2.3 From 3fc68e30bb9a104ed3be4ec6eb0a0891094ebdc1 Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Thu, 2 Mar 2017 10:08:22 +0100 Subject: dialyzer: Update runtime dependencies --- lib/dialyzer/src/dialyzer.app.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dialyzer/src/dialyzer.app.src b/lib/dialyzer/src/dialyzer.app.src index 5b28f7ae86..f517c51ec1 100644 --- a/lib/dialyzer/src/dialyzer.app.src +++ b/lib/dialyzer/src/dialyzer.app.src @@ -2,7 +2,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2006-2016. All Rights Reserved. +%% Copyright Ericsson AB 2006-2017. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -48,5 +48,5 @@ {applications, [compiler, hipe, kernel, stdlib, wx]}, {env, []}, {runtime_dependencies, ["wx-1.2","syntax_tools-2.0","stdlib-3.0", - "kernel-5.0","hipe-3.15.1","erts-8.0", + "kernel-5.0","hipe-3.15.4","erts-8.0", "compiler-7.0"]}]}. -- cgit v1.2.3 From 369ef2ee5586e5cad2f16f0b8f956be011ba1550 Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Thu, 2 Mar 2017 10:08:53 +0100 Subject: typer: Update runtime dependencies --- lib/typer/src/typer.app.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/typer/src/typer.app.src b/lib/typer/src/typer.app.src index 974091b44c..e0be937cc3 100644 --- a/lib/typer/src/typer.app.src +++ b/lib/typer/src/typer.app.src @@ -7,5 +7,5 @@ {registered, []}, {applications, [compiler, dialyzer, hipe, kernel, stdlib]}, {env, []}, - {runtime_dependencies, ["stdlib-2.0","kernel-3.0","hipe-3.10.3","erts-6.0", - "dialyzer-2.7","compiler-5.0"]}]}. + {runtime_dependencies, ["stdlib-3.0","kernel-5.0","hipe-3.15.4","erts-8.0", + "dialyzer-3.1","compiler-7.0"]}]}. -- cgit v1.2.3